aboutsummaryrefslogtreecommitdiff
path: root/externals
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2011-03-17 16:30:26 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2011-03-17 16:30:26 +0000
commit70fa5194a370320732db2d7048316c8e09b07a88 (patch)
treef1b003471998bd209d1c5e94fdecd58ab2a17b61 /externals
parent8367359e69401b9c4852d932f5b229d477027a9e (diff)
moved pdlua to loaders
svn path=/trunk/; revision=15033
Diffstat (limited to 'externals')
-rw-r--r--externals/Makefile55
1 files changed, 27 insertions, 28 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 986b6f40..d6f6cee8 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -128,7 +128,7 @@ CXXFLAGS = $(CFLAGS)
#
# WARNING! this MUST be all on one line because the automatic package
# building scripts rely on it being that way.
-LIB_TARGETS = adaptive arraysize bassemu boids bsaylor comport creb cw_binaural cxc cyclone earplug ekext ext13 extra freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-hexloader loaders-libdir log mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdlua pdogg plugin pmpd sigpack smlib tof vanilla vbap windowing zexy
+LIB_TARGETS = adaptive arraysize bassemu boids bsaylor comport creb cw_binaural cxc cyclone earplug ekext ext13 extra freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-hexloader loaders-libdir log mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp loaders-pdlua pdogg plugin pmpd sigpack smlib tof vanilla vbap windowing zexy
# this is for libraries that don't compile (yet) on all platforms
ifeq ($(OS_NAME),windows)
@@ -1220,40 +1220,39 @@ pddp_clean:
#------------------------------------------------------------------------------#
-
-# Pdlua
-PDLUA_NAME = pdlua
-PDLUA_OBJECTS := $(wildcard $(externals_src)/pdlua/src/*.c)
-PDLUA_VERSION := $(shell grep VERSION $(externals_src)/pdlua/src/config.h | \
+# LOADERS-PDLUA
+LOADERS-PDLUA_NAME = pdlua
+LOADERS-PDLUA_OBJECTS := $(wildcard $(externals_src)/loaders/pdlua/src/*.c)
+LOADERS-PDLUA_VERSION := $(shell grep VERSION $(externals_src)/loaders/pdlua/src/config.h | \
grep -v _VERSION | cut -d ' ' -f 3 | cut -d '"' -f 2)
-pdlua:
- make -C $(externals_src)/$(PDLUA_NAME)/src PD_PATH=$(pd_src) CFLAGS="$(CFLAGS)"
+loaders-pdlua:
+ make -C $(externals_src)/loaders/$(LOADERS-PDLUA_NAME)/src PD_PATH=$(pd_src) CFLAGS="$(CFLAGS)"
-pdlua_install: pdlua
- install -d $(DESTDIR)$(objectsdir)/$(PDLUA_NAME)
- echo "installing $(PDLUA_NAME) to $(DESTDIR)"
- $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(PDLUA_NAME) \
+loaders-pdlua_install: loaders-pdlua
+ install -d $(DESTDIR)$(objectsdir)/$(LOADERS-PDLUA_NAME)
+ echo "installing $(LOADERS-PDLUA_NAME) to $(DESTDIR)"
+ $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(LOADERS-PDLUA_NAME) \
--author "Claude Heiland-Allen Frank Barknecht Martin Peach" \
--license "GNU GPL" \
--description "lua loader for pd" \
- --version "$(PDLUA_VERSION)"
- install -p $(PDLUA_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/src/*.pd $(DESTDIR)$(objectsdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/src/*.pd_lua $(DESTDIR)$(objectsdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/src/*.pd_luax $(DESTDIR)$(objectsdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/src/pd.lua $(DESTDIR)$(objectsdir)/$(PDLUA_NAME)
+ --version "$(LOADERS-PDLUA_VERSION)"
+ install -p $(LOADERS-PDLUA_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/src/*.pd $(DESTDIR)$(objectsdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/src/*.pd_lua $(DESTDIR)$(objectsdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/src/*.pd_luax $(DESTDIR)$(objectsdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/src/pd.lua $(DESTDIR)$(objectsdir)/$(LOADERS-PDLUA_NAME)
install -d $(DESTDIR)$(readmesdir)
- install -p $(externals_src)/pdlua/README $(DESTDIR)$(readmesdir)/$(PDLUA_NAME).txt
- install -d $(DESTDIR)$(examplesdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/examples/*.pd $(DESTDIR)$(examplesdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/examples/*.pd_lua $(DESTDIR)$(examplesdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/examples/*.pd_luax $(DESTDIR)$(examplesdir)/$(PDLUA_NAME)
- install -p $(externals_src)/pdlua/doc/*.txt $(DESTDIR)$(examplesdir)/$(PDLUA_NAME)
-pdlua_clean:
- -rm -f -- $(PDLUA_OBJECTS:.c=.$(EXTENSION))
- -rm -f -- $(externals_src)/pdlua/src/*.o
- -rm -f -- $(externals_src)/pdlua/src/*~
+ install -p $(externals_src)/loaders/pdlua/README $(DESTDIR)$(readmesdir)/$(LOADERS-PDLUA_NAME).txt
+ install -d $(DESTDIR)$(examplesdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/examples/*.pd $(DESTDIR)$(examplesdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/examples/*.pd_lua $(DESTDIR)$(examplesdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/examples/*.pd_luax $(DESTDIR)$(examplesdir)/$(LOADERS-PDLUA_NAME)
+ install -p $(externals_src)/loaders/pdlua/doc/*.txt $(DESTDIR)$(examplesdir)/$(LOADERS-PDLUA_NAME)
+loaders-pdlua_clean:
+ -rm -f -- $(LOADERS-PDLUA_OBJECTS:.c=.$(EXTENSION))
+ -rm -f -- $(externals_src)/loaders/pdlua/src/*.o
+ -rm -f -- $(externals_src)/loaders/pdlua/src/*~
#------------------------------------------------------------------------------#