MODULE_TOPDIR = .. #order is relevant: SUBDIRS = \ datetime \ gis \ gmath \ linkm \ driver \ pngdriver \ raster \ bitmap \ btree \ display \ D \ db \ vask \ edit \ external \ fonts \ gtcltk \ form \ imagery \ proj \ rowio \ segment \ vector \ sites \ rst \ g3d \ dspf \ symbol \ init \ cdhc include $(MODULE_TOPDIR)/include/Make/Dir.make include $(MODULE_TOPDIR)/include/Make/Doxygen.make OPENGLBASED = ogsf #compile if OPENGLBASED present: ifneq ($(strip $(OPENGLLIB)),) SUBDIRS += $(OPENGLBASED) endif default: headers subdirs headers: if [ ! -d $(GISBASE)/include/grass ]; then $(MKDIR) $(GISBASE)/include/grass; fi if [ ! -d $(GISBASE)/include/grass/vect ]; then $(MKDIR) $(GISBASE)/include/grass/vect; fi for file in ../include/*.h ; do $(INSTALL_DATA) $$file $(GISBASE)/include/grass/ ; done for file in ../include/vect/*.h ; do $(INSTALL_DATA) $$file $(GISBASE)/include/grass/vect/ ; done clean: cleansubdirs #doxygen: DOXNAME=grass