]> err.no Git - sope/blob - sope-mime/NGImap4/GNUmakefile.preamble
Add libxml2-dev to libsope-xml4.7-dev deps
[sope] / sope-mime / NGImap4 / GNUmakefile.preamble
1 # compilation settings
2
3 SOPE_ROOT=../..
4
5 ADDITIONAL_CPPFLAGS += -Wall
6 ifeq ($(PRECOMPILED_HEADERS),yes)
7 ADDITIONAL_CPPFLAGS += -Winvalid-pch
8 endif
9
10 NGImap4_INCLUDE_DIRS += \
11         -I.. -I$(SOPE_ROOT)                     \
12         -I$(SOPE_ROOT)/sope-core/NGStreams/     \
13         -I$(SOPE_ROOT)/sope-core/NGExtensions/  \
14         -I$(SOPE_ROOT)/sope-core/
15
16 ifeq ($(frameworks),yes)
17 NGImap4_LIBRARIES_DEPEND_UPON += \
18         -framework NGMime -framework NGMail \
19         -framework NGStreams -framework NGExtensions -framework EOControl \
20         -framework DOM -framework SaxObjC
21 endif
22
23 # library/framework search pathes
24
25 DEP_DIRS = \
26         .. \
27         ../NGMail \
28         $(SOPE_ROOT)/sope-core/EOControl $(SOPE_ROOT)/sope-core/NGExtensions \
29         $(SOPE_ROOT)/sope-core/NGStreams \
30         $(SOPE_ROOT)/sope-xml/DOM $(SOPE_ROOT)/sope-xml/SaxObjC
31
32 ifeq ($(frameworks),yes)
33 ADDITIONAL_LIB_DIRS += \
34         $(foreach dir,$(DEP_DIRS),-F$(GNUSTEP_BUILD_DIR)/$(dir))
35 endif