loading ruby scripts specified at command line
[strongswan.git] / src / dumm / Makefile.am
index 0472248..815f38d 100644 (file)
@@ -1,12 +1,18 @@
 lib_LTLIBRARIES = libdumm.la
-ipsec_PROGRAMS = dumm
+ipsec_PROGRAMS = dumm testing irdumm
 
-libdumm_la_SOURCES = dumm.c dumm.h guest.c guest.h iface.c iface.h bridge.c bridge.h mconsole.c mconsole.h cowfs.h cowfs.c
+libdumm_la_SOURCES = dumm.c dumm.h guest.c guest.h iface.c iface.h \
+  bridge.c bridge.h mconsole.c mconsole.h cowfs.h cowfs.c
 dumm_SOURCES = main.c
+testing_SOURCES = testing.c
+irdumm_SOURCES = irdumm.c
 
-libdumm_la_LIBADD = -lstrongswan -lpthread -lbridge -lfuse
-dumm_LDADD = -ldumm -lreadline
-
-INCLUDES = -I$(top_srcdir)/src/libstrongswan
+libdumm_la_LIBADD = $(top_builddir)/src/libstrongswan/libstrongswan.la \
+  -lbridge -lfuse -lutil
+dumm_LDADD = -ldumm ${gtk_LIBS} 
+testing_LDADD = -ldumm
+irdumm_LDADD = -ldumm -lruby1.8
 
+INCLUDES = -I$(top_srcdir)/src/libstrongswan ${gtk_CFLAGS} \
+  -I/usr/lib/ruby/1.8/i486-linux/
 AM_CFLAGS = -D_FILE_OFFSET_BITS=64