summaryrefslogtreecommitdiff
path: root/sample/Makefile.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-12 21:06:31 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-08-12 21:06:31 +0200
commit0dbf3761f6b98e5c16c9bfa0306ae5d3257d081f (patch)
treeb122da5e29b81eb5489734f477afb645422980d0 /sample/Makefile.am
Imported Upstream version 5.9.5upstream/5.9.5
Diffstat (limited to 'sample/Makefile.am')
-rw-r--r--sample/Makefile.am25
1 files changed, 25 insertions, 0 deletions
diff --git a/sample/Makefile.am b/sample/Makefile.am
new file mode 100644
index 0000000..af33057
--- /dev/null
+++ b/sample/Makefile.am
@@ -0,0 +1,25 @@
+noinst_PROGRAMS = encode listcap names posix simple sql syntax crnl
+
+libname = $(top_builddir)/libonig.la
+LDADD = $(libname)
+INCLUDES = -I$(top_srcdir) -I$(includedir)
+
+encode_SOURCES = encode.c
+listcap_SOURCES = listcap.c
+names_SOURCES = names.c
+posix_SOURCES = posix.c
+simple_SOURCES = simple.c
+sql_SOURCES = sql.c
+syntax_SOURCES = syntax.c
+
+
+sampledir = $(top_builddir)/sample
+
+test: encode listcap names posix simple sql syntax
+ @$(sampledir)/encode
+ @$(sampledir)/listcap
+ @$(sampledir)/names
+ @$(sampledir)/posix
+ @$(sampledir)/simple
+ @$(sampledir)/sql
+ @$(sampledir)/syntax