]> err.no Git - sope/blob - Recycler/ExpatSaxDriver/GNUmakefile
more directory hierarchy reorganisations,
[sope] / Recycler / ExpatSaxDriver / GNUmakefile
1 # $Id$
2
3 include $(GNUSTEP_MAKEFILES)/common.make
4
5 BUNDLE_NAME        = ExpatSaxDriver
6 BUNDLE_EXTENSION   = .sax
7 BUNDLE_INSTALL_DIR = $(GNUSTEP_USER_ROOT)/Library/Bundles
8
9 ExpatSaxDriver_OBJC_FILES = \
10         ExpatSaxDriver.m        \
11
12 ExpatSaxDriver_BUNDLE_LIBS += -lSaxObjC -lexpat
13
14 ExpatSaxDriver_RESOURCE_FILES = bundle-info.plist
15
16 ADDITIONAL_INCLUDE_DIRS += -I../.. -I..
17
18 ifneq ($(GNUSTEP_BUILD_DIR),)
19 ADDITIONAL_LIB_DIRS += \
20         -L$(GNUSTEP_BUILD_DIR)/../SaxObjC/$(GNUSTEP_OBJ_DIR_NAME)
21 else
22 ADDITIONAL_LIB_DIRS += -L../SaxObjC/$(GNUSTEP_OBJ_DIR)
23 endif
24
25 -include GNUmakefile.preamble
26 include $(GNUSTEP_MAKEFILES)/bundle.make
27 -include GNUmakefile.postamble
28
29 ifneq ($(GNUSTEP_BUILD_DIR),)
30 after-all ::
31         @(cp bundle-info.plist \
32           $(GNUSTEP_BUILD_DIR)/$(BUNDLE_NAME)$(BUNDLE_EXTENSION))
33 else
34 after-all ::
35         @(cd $(BUNDLE_NAME)$(BUNDLE_EXTENSION);\
36           cp ../bundle-info.plist .)
37 endif