libs-gdl2/GDL2Palette/GNUmakefile
Matt Rice dc8101ef3f * GNUmakefile: remove GDL2Palette from top level compilation.
* GDL2Palette/GNUmakefile: Fix compilation flags, include
gdl2.make
        relative not the installed version.
        * DBModeler/GNUmakefile: Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@21231 72102866-910b-0410-8b05-ffd578937521
2005-05-17 23:33:04 +00:00

38 lines
1.1 KiB
Makefile

include $(GNUSTEP_MAKEFILES)/common.make
include ../gdl2.make
PALETTE_NAME=GDL2
GDL2_PRINCIPAL_CLASS = GDL2Palette
SUBPROJECTS+=../EOModeler ../EOInterface
include $(GNUSTEP_MAKEFILES)/aggregate.make
ADDITIONAL_LIB_DIRS+=-L../EOAccess/$(GNUSTEP_OBJ_DIR) \
-L../EOControl/$(GNUSTEP_OBJ_DIR)
# palette.make ignores the ADDTIONAL_LIBRARY_FILES,
# so we use ADDITIONAL_LDFLAGS.
ifeq ($(FOUNDATION_LIB),apple)
ADDITIONAL_INCLUDE_DIRS+=-F../EOModeler -F../EOInterface
ADDITIONAL_LIB_DIRS+=-F../EOModeler -F../EOInterface
ADDITIONAL_LDFLAGS+=-framework gnustep-db2modeler -framework EOInterface
else
ADDITIONAL_INCLUDE_DIRS+=-I../
ADDITIONAL_LIB_DIRS+=-L../EOModeler/$(GNUSTEP_OBJ_DIR) \
-L../EOInterface/$(GNUSTEP_OBJ_DIR)
ADDITIONAL_LDFLAGS+=-lgnustep-db2modeler -lEOInterface
endif
ADDITIONAL_LDFLAGS+=$(AUXILIARY_TOOL_LIBS)
GDL2_RESOURCE_FILES=GDL2Palette.tiff GDL2ConnectionInspector.gorm palette.table
GDL2_OBJC_FILES= \
Palette.m \
ResourceManager.m \
ConnectionInspector.m \
IB+Categories.m \
Foundation+Categories.m
include $(GNUSTEP_MAKEFILES)/palette.make