]> err.no Git - sope/blob - GNUmakefile
fixed some NGMail framework build issue
[sope] / GNUmakefile
1 # GNUstep makefile
2
3 -include ./config.make
4
5 ifeq ($(GNUSTEP_MAKEFILES),)
6
7 $(warning Note: Your $(GNUSTEP_MAKEFILES) environment variable is empty!)
8 $(warning       Either use ./configure or source GNUstep.sh.)
9
10 else
11
12 include $(GNUSTEP_MAKEFILES)/common.make
13
14 SUBPROJECTS += \
15         sope-xml        \
16         sope-core       \
17         sope-mime       \
18         sope-appserver  \
19         sope-ical       \
20         sope-gdl1       \
21         xmlrpc_call
22
23 ifeq ($(HAS_LIBRARY_ldap),yes)
24 SUBPROJECTS += sope-ldap
25 endif
26
27 ifeq ($(FOUNDATION_LIB),apple)
28 ifeq ($(frameworks),yes)
29 SUBPROJECTS += sopex
30 endif
31 endif
32
33
34 -include $(GNUSTEP_MAKEFILES)/GNUmakefile.preamble
35 include $(GNUSTEP_MAKEFILES)/aggregate.make
36 -include $(GNUSTEP_MAKEFILES)/GNUmakefile.postamble
37
38 endif
39
40 distclean ::
41         if test -f config.make; then rm config.make; fi
42         if test -d .gsmake; then rm -r .gsmake; fi
43         if test -f config-NGStreams.log; then rm config-NGStreams.log; fi
44         if test -f config-gstepmake.log; then rm config-gstepmake.log; fi
45
46 macosx-pkg ::
47         for i in $(SUBPROJECTS); do \
48           (cd $$i; $(MAKE) macosx-pkg); \
49         done
50         ./maintenance/make-osxmpkg.sh SOPE-4.5