aboutsummaryrefslogtreecommitdiff
path: root/externals/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-02-01 22:14:27 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-02-01 22:14:27 +0000
commit27c53f8dd8ffd7283ebf6cc7f96c673986eb24f4 (patch)
treec6bbe650c3d0d74ea4013027a821a561b45ff664 /externals/Makefile
parent9410951907b2938d52b7e65058cd18e92e518f7a (diff)
now installs pd.lua into extra; removed pdlua from autobuild on GNU/Linux since I have to figure out how to deal with -llua5.1 on Debian
svn path=/trunk/; revision=9164
Diffstat (limited to 'externals/Makefile')
-rw-r--r--externals/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/externals/Makefile b/externals/Makefile
index 395db276..7db30788 100644
--- a/externals/Makefile
+++ b/externals/Makefile
@@ -56,7 +56,7 @@ ifeq ($(OS_NAME),darwin)
STRIP = strip -x
endif
ifeq ($(OS_NAME),linux)
- CFLAGS += -DUNIX -Dunix -fPIC
+ CFLAGS += -DUNIX -Dunix -fPIC -I/usr/include/lua5.1
LDFLAGS += -Wl,-export_dynamic -shared
LIBS += -lc
DYLIB_LDFLAGS = $(LDFLAGS)
@@ -134,7 +134,7 @@ else
LIB_TARGETS += hid hidio pdp pidip gem2pdp wiiremote iem16 usbhid pdlua
else
# GNU/Linux, BSD, IRIX, etc.
- LIB_TARGETS += hid hidio pdp pidip gem2pdp hdspm_mixer iem16 postlude pdlua
+ LIB_TARGETS += hid hidio pdp pidip gem2pdp hdspm_mixer iem16 postlude
endif
endif
@@ -1915,6 +1915,7 @@ pdlua: $(PDLUA_OBJECTS:.c=.$(EXTENSION))
pdlua_install: pdlua
install -d $(objectsdir)
install -p $(PDLUA_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)
+ install -p $(externals_src)/loaders/pdlua/src/pd.lua $(objectsdir)
install -d $(manualsdir)/$(PDLUA_NAME)
install -p $(externals_src)/loaders/pdlua/doc/*.txt \
$(manualsdir)/$(PDLUA_NAME)