#
#			Copyright (c) 2001 by
#			Advanced Visual Systems Inc.
#			All Rights Reserved
#
#	This software comprises unpublished confidential information of
#	Advanced Visual Systems Inc. and may not be used, copied or made
#	available to anyone, except in accordance with the license
#	under which it is furnished.
#
#	This file is under Perforce control
#	$Id: //depot/express/fcs70/gis/xp_mods/Makefile#1 $
#
# include standard variable defs
include ../../include/xp_defs.mk

LLIB=	    $(XP_LIB_DIR)/libgis_mods_.a
SRCDIR=$(XP_ROOT)/gis/xp_mods
ODIR=$(XP_LIB_DIR)/gis_mods
EXPORTLIB=$(XP_LIB_DIR)/libgis_mods.a
DLLIB=	  $(XP_LIB_DIR)/libgis_mods
LIB_TO_MAKE_DLLIB_FROM=$(EXPORTLIB)
SHLIB_CPLUS=yes

CXXTEMPLLIBS=$(XP_LIB_DIR)/libcxxut.a
CXXTEMPLPATH=$(SRCDIR)

# Add all of the object files that will be added to $(LLIB).
# The format should be - 
#	$(LLIB)(<filename>.o)

LIBOFILES = $(LLIB)(GISCIA.o) $(LLIB)(modcia.o) \
	$(LLIB)(GISDEM.o)   $(LLIB)(moddem.o) \
	$(LLIB)(GISGrid.o)  $(LLIB)(modGrid.o) \
	$(LLIB)(GISll.o)    $(LLIB)(modll.o) \
	$(LLIB)(GISIntrf.o) $(LLIB)(modintrf.o) \
	$(LLIB)(GISTrfm.o)  $(LLIB)(modtrfm.o)

# Add the include files that you want installed into the project
# include directory

INCLUDES = $(XP_ROOT)/include/avs/gis/points.h \
	$(XP_ROOT)/include/avs/gis/latlon.h \
	$(XP_ROOT)/include/avs/gis/cia.h \
	$(XP_ROOT)/include/avs/gis/demread.h \
	$(XP_ROOT)/include/avs/gis/transfrm.h

LINCLUDES = \
    $(EMPTY)

###############################################################################
# Add your targets and special rules here

default: $(INCLUDES) $(LLIB) $(EXPORTLIB) $(DLLIBNAME)

install: install_includes
clean::
	$(RM) $(LLIB) $(EXPORTLIB) $(DLLIBNAME) $(OBJFILES)


###############################################################################
# OK load the rules
include $(XP_MACHRULE_PATH)
