diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2003-09-27 13:45:01 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2003-09-27 13:45:01 +0000 |
commit | ef674aef4f1d6a513dcfdfaf5b0ebd078d25abac (patch) | |
tree | 469d898838941f63f9812adb6fcd877becfa2ae9 | |
parent | 822b6eabf733011dbbb8b22b0daa860578182eac (diff) |
*** empty log message ***
svn path=/trunk/externals/miXed/; revision=1047
-rw-r--r-- | Makefile | 22 | ||||
-rw-r--r-- | Makefile.common | 13 | ||||
-rw-r--r-- | Makefile.dirs | 8 | ||||
-rw-r--r-- | bin/keepme | 1 |
4 files changed, 36 insertions, 8 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3bd3c7e --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +include Makefile.dirs + +all: + @for i in $(MIXED_DIRS) ; \ + do ( if [ -d $$i ] ; then cd $$i; $(MAKE) ; fi ) ; done + cd doc/src; $(MAKE) + +clean cleanall: + @for i in $(MIXED_DIRS) ; \ + do ( if [ -d $$i ] ; then cd $$i; $(MAKE) $@ ; fi ) ; done + rm -f *.gz + +diff depend emptydeps: + @for i in $(MIXED_DIRS) ; \ + do ( if [ -d $$i ] ; then cd $$i; $(MAKE) $@ ; fi ) ; done + +snap release: + @for i in $(RELEASE_DIRS) ; \ + do ( if [ -d $$i ] ; then cd $$i; $(MAKE) $@ ; fi ) ; done + +backup: + tar -X miXed-bak-exclude.files -zcf miXed-bak.tar.gz * diff --git a/Makefile.common b/Makefile.common index 00530a3..8c13072 100644 --- a/Makefile.common +++ b/Makefile.common @@ -30,8 +30,9 @@ CC = gcc2 X_SUFFIX = pd_darwin DEFINES = -DUNIX -DMACOSX OPT_CFLAGS = -O2 -funroll-loops -fomit-frame-pointer -# -private_bundle is a guess, LATER check this -LFLAGS = -bundle -undefined suppress -flat_namespace +# perhaps "-undefined suppress" would be a better choice, when we go dynamic +# with our own common code? (not likely to happen soon...) +LFLAGS = -bundle -bundle_loader $(PD_DIR)/../bin/pd -flat_namespace endif SHARED_DIR = $(ROOT_DIR)/shared @@ -172,7 +173,7 @@ SUBDIRS_DEFAULT = @for i in $(MIXED_DIRS) and_in_case_it_is_null ; \ cd $$i; $(MAKE) ; fi ) ; done define_build: - @if [[ -f build_counter && \ + @if [[ -f build_counter && `whoami` == krzYszcz && \ `date -r build_counter +%j` != `date +%j` ]] ; then \ mv build_counter build_counter~ ; \ echo -n 'increment build counter (y/n)? [n]' ; read doit ; \ @@ -324,7 +325,7 @@ Makefile.deps: # krzYszcz: # LATER try making cyclone-specifics abstracted out ala linux release -# btw, why libs have to be removed from an install? +# keep cyclone libs, because they offer the max->pd import facility PACKAGE_PREFIX = pd-$(BASE_NAME) PACKAGE_NAME = $(PACKAGE_PREFIX)-$(VERSION)-$(RELEASE)$(BUILD) @@ -371,10 +372,6 @@ darwin_pkg: all darwin_pkg_clean darwin_pkg_license test -d installroot/bin || mkdir -p installroot/bin install -m755 ../bin/cyclist --group=staff installroot/bin cp -f pd-cyclone.info $(PACKAGE_NAME).info - # delete the lib versions - rm -f installroot/lib/pd/extra/hammer.pd_darwin - rm -f installroot/lib/pd/extra/sickle.pd_darwin - rm -f installroot/lib/pd/extra/cyclone.pd_darwin # delete cruft -find installroot -name .DS_Store -delete -rm -f 1 diff --git a/Makefile.dirs b/Makefile.dirs new file mode 100644 index 0000000..55e7d03 --- /dev/null +++ b/Makefile.dirs @@ -0,0 +1,8 @@ +MIXED_DIRS = \ + shared \ + cyclone \ + toxy + +RELEASE_DIRS = \ + cyclone \ + toxy diff --git a/bin/keepme b/bin/keepme new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/bin/keepme @@ -0,0 +1 @@ + |