From 27c53f8dd8ffd7283ebf6cc7f96c673986eb24f4 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 1 Feb 2008 22:14:27 +0000 Subject: 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 --- externals/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'externals/Makefile') 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) -- cgit v1.2.1