]> err.no Git - sope/blob - sope-core/common.make
Drop apache 1 build-dependency
[sope] / sope-core / common.make
1 # GNUstep makefile
2
3 SKYROOT=..
4
5 include $(GNUSTEP_MAKEFILES)/common.make
6 include $(SKYROOT)/Version
7 -include ./Version
8
9 GNUSTEP_INSTALLATION_DIR = $(GNUSTEP_LOCAL_ROOT)
10
11 ADDITIONAL_CPPFLAGS += -pipe -Wall -Wno-protocol
12 ifeq ($(reentrant),yes)
13 ADDITIONAL_CPPFLAGS += -D_REENTRANT=1
14 endif
15
16 ADDITIONAL_INCLUDE_DIRS += \
17         -I.. -I../NGStreams/    \
18         -I../../sope-xml
19
20 ADDITIONAL_LIB_DIRS += \
21         -L./$(GNUSTEP_OBJ_DIR)                          \
22         -L../../sope-xml/SaxObjC/$(GNUSTEP_OBJ_DIR)     \
23         -L../../sope-xml/DOM/$(GNUSTEP_OBJ_DIR)         \
24         -L../../sope-xml/XmlRpc/$(GNUSTEP_OBJ_DIR)
25
26 ifeq ($(FOUNDATION_LIB),nx)
27 ADDITIONAL_LDFLAGS += -framework Foundation
28 endif