created scripts/Makefile.am
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 Jun 2008 13:57:00 +0000 (13:57 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 29 Jun 2008 13:57:00 +0000 (13:57 -0000)
Makefile.am
configure.in
scripts/Makefile [deleted file]
scripts/Makefile.am [new file with mode: 0644]

index c3d8d0d..e6a73e9 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = src testing
+SUBDIRS = src testing scripts
 EXTRA_DIST = Doxyfile.in CREDITS
 CLEANFILES = apidoc Doxyfile
 
index 86d0592..1d4b4f9 100644 (file)
@@ -882,5 +882,6 @@ AC_OUTPUT(
        src/libfast/Makefile
        src/manager/Makefile
        src/medsrv/Makefile
+       scripts/Makefile
        testing/Makefile
 )
diff --git a/scripts/Makefile b/scripts/Makefile
deleted file mode 100644 (file)
index 97f2306..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-all :          bin2array bin2sql id2sql key2keyid
-
-bin2array :    bin2array.c
-               gcc -o bin2array bin2array.c
-
-bin2sql :      bin2sql.c
-               gcc -o bin2sql bin2sql.c -I../src/libstrongswan -lstrongswan
-
-id2sql :       id2sql.c
-               gcc -o id2sql id2sql.c -I../src/libstrongswan -lstrongswan
-
-key2keyid :    key2keyid.c
-               gcc -o key2keyid key2keyid.c -I../src/libstrongswan -lstrongswan
-
-clean :
-               rm bin2array bin2sql id2sql key2keyid
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
new file mode 100644 (file)
index 0000000..5e47bb4
--- /dev/null
@@ -0,0 +1,9 @@
+INCLUDES = -I$(top_srcdir)/src/libstrongswan
+
+noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid
+bin2array_SOURCES = bin2array.c
+bin2sql_SOURCES = bin2sql.c
+id2sql_SOURCES = id2sql.c
+key2keyid_SOURCES = key2keyid.c
+id2sql_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la
+key2keyid_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la