aboutsummaryrefslogtreecommitdiff
path: root/packages/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-13 03:55:08 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-02-13 03:55:08 +0000
commitacd37d4a37c223094f3e91803fe0fdcb01f17eee (patch)
tree1a6e576bd17dcc85d7f9edf53289b0604f0b6257 /packages/Makefile
parent3c509cab622d1a4afbafec461c7e61484f6219dd (diff)
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
Diffstat (limited to 'packages/Makefile')
-rw-r--r--packages/Makefile28
1 files changed, 17 insertions, 11 deletions
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/' \