From acd37d4a37c223094f3e91803fe0fdcb01f17eee Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 13 Feb 2006 03:55:08 +0000 Subject: This should be the final Pd-0.38.4-extendedRC8 build, which should be the release of Pd-0.38.4-extended. A couple of minor changes: - added liblist to the config files since [list] was backported to 0.38.4 in the form of liblist - removed the MACOSX -> __APPLE__ regexp stuff since it was just for testing until Miller accepted those changes. - tried to make the org.puredata.pd.plist file get installed with write permissions so that people can overwrite and change the default file after they install it. svn path=/trunk/; revision=4584 --- packages/Makefile | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'packages/Makefile') diff --git a/packages/Makefile b/packages/Makefile index ddb3bf77..79db6132 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -136,10 +136,14 @@ flext: #------------------------------------------------------------------------------ # pd -ifeq ($(OS_NAME),windows) - PD_CONFIGURE_FLAGS = -else +ifeq ($(OS_NAME),darwin) PD_CONFIGURE_FLAGS = --enable-jack +else + ifeq ($(OS_NAME),linux) + PD_CONFIGURE_FLAGS = --enable-jack --enable-alsa + else + PD_CONFIGURE_FLAGS = + endif endif PD_BUILD_FLAGS = @@ -534,6 +538,16 @@ doc_format: +#---------------------------------------------------------------------------- +# STRIP_HACK +# not all of the build systems are stripping the externals, so strip them here. +# Gem, xsample, and some other things don't like to be stripped +strip_hack: + $(STRIP) $(objectsdir)/*/*.$(EXTENSION) + $(STRIP) $(objectsdir)/[A-FH-Za-wyz]*.$(EXTENSION) + + + #==============================================================================# # # DEVELOPER TARGETS @@ -641,19 +655,11 @@ patch_pd: cd $(pd_src)/src/ && \ sed 's/\(pd_version\[\] = "Pd version \)[0-9extndRC.-]*/\1$(PD_VERSION)-$(PACKAGE_VERSION)/' s_main.c > s_main.c.tmp && \ mv s_main.c.tmp s_main.c - for file in $(wildcard $(pd_src)/src/*.[ch]); do \ - sed 's/MACOSX/__APPLE__/g' $${file} > $${file}.tmp && \ - mv -f $${file}.tmp $$file;\ - done @echo " " @echo "patching succeeded!" unpatch_pd: - for file in $(wildcard $(pd_src)/src/*.[ch]); do \ - sed 's/__APPLE__/MACOSX/g' $${file} > $${file}.tmp && \ - mv -f $${file}.tmp $$file;\ - done # this sed pattern won't work with TEST versions cd $(pd_src)/src && \ sed 's/\(pd_version\[\] = "Pd version [0-9]\.[0-9]*[.-][0-9]*\)[0-9extndRC.-]*/\1/' \ -- cgit v1.2.1