aboutsummaryrefslogtreecommitdiffstats
path: root/modules/test_harness
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2010-11-07 00:58:57 +0000
committerTom Feist <shabble@metavore.org>2010-11-07 00:58:57 +0000
commit997c0d134eda9900e33e6025ce86d2acaa1951ec (patch)
tree8541ea80fdfd28945b019e83b52c7f0ec70b7d1c /modules/test_harness
parenttest_harness: added a stubbed C irssi module for eventual signal capture/inje... (diff)
downloadirssi-scripts-997c0d134eda9900e33e6025ce86d2acaa1951ec.tar.gz
irssi-scripts-997c0d134eda9900e33e6025ce86d2acaa1951ec.zip
test_harness: cleaned up makefile, added note to de-OSXify it later
Diffstat (limited to '')
-rw-r--r--modules/test_harness/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/modules/test_harness/Makefile b/modules/test_harness/Makefile
index ed1ee93..3f2b0a7 100644
--- a/modules/test_harness/Makefile
+++ b/modules/test_harness/Makefile
@@ -1,17 +1,25 @@
CFLAGS = -Wall -O2 -Werror -g
+# TODO: parameterise this to support linux/OSX better (OSX Specific code here)
LDFLAGS = -avoid-version -module -bundle -flat_namespace -undefined suppress
+
+
+# --------- configurable file locations --------
+IRSSI_DIST = /opt/stow/repo/irssi/include/irssi
INSTALL_DIR = $(HOME)/projects/tmp/test/irssi
+
+
OBJECTS = test_harness.o
-IRSSI_DIST = /opt/stow/repo/irssi/include/irssi
-IRSSI_INCLUDE = -I$(IRSSI_DIST) -I$(IRSSI_DIST)/src -I$(IRSSI_DIST)/src/fe-common/core \
- -I$(IRSSI_DIST)/src/core -I$(IRSSI_DIST)/src/fe-text -I$(IRSSI_DIST)/src/irc \
- -I$(IRSSI_DIST)/src/irc/core -I$(IRSSI_DIST)/src/irc/dcc -I$(IRSSI_DIST)/src/irc/notifylist
+IRSSI_INCLUDE = -I$(IRSSI_DIST) -I$(IRSSI_DIST)/src \
+ -I$(IRSSI_DIST)/src/fe-common/core \
+ -I$(IRSSI_DIST)/src/core -I$(IRSSI_DIST)/src/fe-text \
+ -I$(IRSSI_DIST)/src/irc -I$(IRSSI_DIST)/src/irc/core \
+ -I$(IRSSI_DIST)/src/irc/dcc -I$(IRSSI_DIST)/src/irc/notifylist
-LUA_CFLAGS = $(shell pkg-config lua --cflags)
+LUA_CFLAGS = $(shell pkg-config lua --cflags)
GLIB_CFLAGS = $(shell pkg-config glib-2.0 --cflags)
-LUA_LIBS = $(shell pkg-config lua --libs)
+LUA_LIBS = $(shell pkg-config lua --libs)
all: libtest_harness.so