diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-12-16 18:38:11 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2005-12-16 18:38:11 +0000 |
commit | 8476554bc26567564d6381e1b733579d5b45d881 (patch) | |
tree | 07a3134c21460e7183ea6516e1c2b7d87c51e219 /packages/Makefile | |
parent | be911ac82a45ca74b900aec72492400ca11374a4 (diff) |
- Lots of bug fixes
- added script which searches thru all of the .pd_darwin files for
dependencies from Fink. It then copies those libs into the Pd.app and sets
everything up for them to be sourced by the objects.
- added Guenter's quick hack to allow international characters in Pd patches
svn path=/trunk/; revision=4241
Diffstat (limited to 'packages/Makefile')
-rw-r--r-- | packages/Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/packages/Makefile b/packages/Makefile index 37e95721..7d004797 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -86,6 +86,8 @@ ZEXY_VERSION := $(shell grep VERSION $(externals_src)/zexy/src/zexy.h | \ +OPT_FLAGS = -O6 -funroll-loops -fomit-frame-pointer + # these are sent to all of the various Makefiles so that they all copy their # output to the same directory tree DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ @@ -93,6 +95,7 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ DESTDIR=$(DESTDIR) \ prefix=$(prefix) \ libpddir=$(libpddir) \ + OPT_CFLAGS="$(OPT_CFLAGS)" \ UNAME=$(UNAME) @@ -150,8 +153,15 @@ PD_BUILD_FLAGS = #PD_AUTOCONF := ${shell ( test -x "`which autoconf-2.59`" && echo autoconf-2.59 ) || echo autoconf } PD_AUTOCONF = autoconf -pd: - -cd $(pd_src)/src/ && $(PD_AUTOCONF) +$(pd_src)/src/configure: $(pd_src)/src/configure.in + cd $(pd_src)/src/ && $(PD_AUTOCONF) + +# this is not used yet because MinGW doesn't use ./configure && make yet +#$(pd_src)/src/makefile: $(pd_src)/src/makefile.in +# cd $(pd_src)/src/ && ./configure $(PD_CONFIGURE_FLAGS) + +pd: $(pd_src)/src/configure + echo $$MACOSX_DEPLOYMENT_TARGET -cd $(pd_src)/src && ./configure $(PD_CONFIGURE_FLAGS) && \ make $(DEST_PATHS) $(PD_BUILD_FLAGS) @@ -670,18 +680,24 @@ externals_clean: flext_clean: + -cd $(externals_src)/footils/syncgrain && make -f makefile.pd-darwin clean + -cd $(externals_src)/grill && \ + rm -- flext/buildsys/config-mac-pd-gcc.txt config.txt flext/config.txt \ + flext/source/libflext.a */pd-darwin/*.o */pd-darwin/*/*.o \ + */pd-darwin/*/*.pd_darwin */pd-darwin/*.pd_darwin \ + */pd-darwin/release-shared/*.dylib */pd-darwin/release-shared/*.opp gem_clean: pd_clean: - -cd $(pd_src) && make $(DEST_PATHS) clean + -cd $(pd_src)/src && make $(DEST_PATHS) clean # these targets are all from Makefile.buildlayout: install_clean cruft_clean -clean: abstractions_clean doc_clean externals_clean flext_clean -clean: gem_clean pd_clean +clean: abstractions_clean doc_clean externals_clean flext_clean gem_clean \ +pd_clean echo "Complete clean finished." @@ -690,7 +706,7 @@ distclean: clean cruft_clean cd $(doc_src) && make distclean cd $(extensions_src) && make distclean cd $(externals_src) && make distclean - cd $(pd_src) && make distclean + -cd $(pd_src) && make distclean test_locations: @echo "PD_VERSION: $(PD_VERSION)" |