aboutsummaryrefslogtreecommitdiff
path: root/externals/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-12 22:26:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-04-12 22:26:38 +0000
commitcc7856d67788239c019d23085e534d4baf58f0da (patch)
treeeea7d514f41591b4378677e0e584c659ae931e3c /externals/Makefile
parentcb01a85bd7b2cb1fde9156475f4be8b544a4040f (diff)
consolidated 'pddp' lib stuff into a single place to make a libdir, ease Debian packaging, and remove the pddpserver
svn path=/trunk/; revision=13424
Diffstat (limited to 'externals/Makefile')
-rw-r--r--externals/Makefile29
1 files changed, 5 insertions, 24 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 57afa495..cb3bd150 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -1446,33 +1446,14 @@ pan_clean:
#------------------------------------------------------------------------------#
# PDDP
-PDDP_NAME=pddp
-pddp: $(bindir)
- $(MAKE) OPT_CFLAGS="-O2 -fno-strict-aliasing -fPIC" \
- -C $(externals_src)/miXed/pddp
-
-
-pddp_install: pddp
- install -d $(DESTDIR)$(objectsdir)/$(PDDP_NAME)
-# $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(PDDP_NAME) \
-# --author "PDDP" \
-# --license "BSD" \
-# --description "objects for working with Tcl and Pd's Tk GUI"
-# pddp is compiled straight into $(OUT_DIR)
- cd $(externals_src)/miXed/pddp && $(MAKE) \
- OUT_DIR=$(DESTDIR)$(objectsdir)/$(PDDP_NAME)
- install -d $(DESTDIR)$(objectsdir)/$(PDDP_NAME)/pddp
- install -p $(externals_src)/miXed/bin/pddp/*.tcl \
- $(DESTDIR)$(objectsdir)/$(PDDP_NAME)/pddp
-# install -d $(DESTDIR)$(manualsdir)/$(PDDP_NAME)
- install -d $(DESTDIR)$(examplesdir)/$(PDDP_NAME)
- install -p $(externals_src)/miXed/test/pddp/*.* \
- $(DESTDIR)$(examplesdir)/$(PDDP_NAME)
+pddp:
+ make -C $(externals_src)/pddp
+pddp_install:
+ make -C $(externals_src)/pddp DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install
pddp_clean:
- -$(MAKE) -C $(externals_src)/mixed/pddp $(DEST_PATHS) clean
-
+ make -C $(externals_src)/pddp clean
#------------------------------------------------------------------------------#