File: GNUmakefile

package info (click to toggle)
sope 4.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,492 kB
  • sloc: objc: 167,993; sh: 3,648; ansic: 3,405; python: 318; makefile: 189
file content (55 lines) | stat: -rw-r--r-- 1,281 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# GNUstep makefile

include ./config.make

ifeq ($(GNUSTEP_MAKEFILES),)

$(warning Note: Your $(GNUSTEP_MAKEFILES) environment variable is empty!)
$(warning       Either use ./configure or source GNUstep.sh.)

else

include $(GNUSTEP_MAKEFILES)/common.make

SUBPROJECTS += \
	sope-xml	\
	sope-core	\
	sope-mime	\
	sope-appserver	\
	sope-gdl1

ifeq ($(HAS_LIBRARY_ldap),yes)
SUBPROJECTS += sope-ldap
endif

ifeq ($(FOUNDATION_LIB),apple)
ifeq ($(frameworks),yes)
SUBPROJECTS += sopex
endif
endif


-include $(GNUSTEP_MAKEFILES)/GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include $(GNUSTEP_MAKEFILES)/GNUmakefile.postamble

endif

distclean ::
	if test -f config.make; then rm config.make; fi
	if test -d .gsmake; then rm -r .gsmake; fi
	if test -f config-NGStreams.log; then rm config-NGStreams.log; fi
	if test -f config-gstepmake.log; then rm config-gstepmake.log; fi

macosx-pkg ::
	for i in $(SUBPROJECTS); do \
	  (cd $$i; $(MAKE) macosx-pkg); \
	done
	./maintenance/make-osxmpkg.sh \
	  "SOPE-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)"

macosx-dmg :: macosx-pkg
	./maintenance/make-osxdmg.sh \
	  "SOPE-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)" \
	  osxpkgbuild \
	  "SOPE $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBMINOR_VERSION)"