aboutsummaryrefslogtreecommitdiff
path: root/externals/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-01 17:51:04 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-10-01 17:51:04 +0000
commit1366c9f5411bb238186312c6ddf745a7349c6177 (patch)
tree697f66bff9bc4c0c6fc61a56496bad634e0b8665 /externals/Makefile
parent6c5111aeed8a81b4b9550f833c2ae293b87dc162 (diff)
moved tclpd loader to loaders/ with mescalinum's approval
svn path=/trunk/; revision=15429
Diffstat (limited to 'externals/Makefile')
-rw-r--r--externals/Makefile42
1 files changed, 15 insertions, 27 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 14fe27df..2e5f726c 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -1026,6 +1026,21 @@ loaders-libdir_install:
loaders-libdir_clean:
make -C $(externals_src)/loaders/libdir clean
+
+#------------------------------------------------------------------------------#
+# LOADERS-TCLPD
+
+loaders-tclpd:
+ make -C $(externals_src)/loaders/tclpd PD_PATH=$(pd_src) CFLAGS="$(CFLAGS)"
+
+loaders-tclpd_install: tclpd
+ make -C $(externals_src)/loaders/tclpd DESTDIR="$(DESTDIR)" \
+ objectsdir="$(objectsdir)" install
+
+loaders-tclpd_clean:
+ make -C $(externals_src)/loaders/tclpd clean
+
+
#------------------------------------------------------------------------------#
# LOG
log:
@@ -1578,33 +1593,6 @@ smlib_clean:
#------------------------------------------------------------------------------#
-# TCLPD
-TCLPD_NAME=tclpd
-TCLPD_LIB := $(externals_src)/tclpd/tcl.$(EXTENSION)
-
-$(TCLPD_LIB):
- cd $(externals_src)/tclpd && make
-
-tclpd: $(TCLPD_LIB)
-
-tclpd_install: tclpd
- install -d $(DESTDIR)$(objectsdir)
- install -p $(TCLPD_LIB) $(DESTDIR)$(objectsdir)
- install -d $(DESTDIR)$(readmesdir)
- install -p $(externals_src)/tclpd/README \
- $(DESTDIR)$(readmesdir)/$(TCLPD_NAME).txt
-# install -d $(DESTDIR)$(examplesdir)/$(TCLPD_NAME)
-# install -p $(externals_src)/tclpd/examples/*.pd \
-# $(DESTDIR)$(examplesdir)/$(TCLPD_NAME)
-
-tclpd_clean:
- make -C $(externals_src)/tclpd clean
- -rm -f -- $(TCLPD_LIB)
- -rm -f -- $(externals_src)/tclpd/*.bak
- -rm -f -- $(externals_src)/tclpd/*.*~
-
-
-#------------------------------------------------------------------------------#
# TKWIDGETS
tkwidgets:
make -C $(externals_src)/tkwidgets PD_PATH=$(pd_src) CFLAGS="$(CFLAGS)"