summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-03-16 22:23:35 -0700
committerGeoff Levand <geoff@infradead.org>2012-03-16 22:23:35 -0700
commitb53c175d61e9cac8e5a95abee9d6c05032d284b5 (patch)
tree85a211d8795d064a041530cce048dc9cfc2d79eb /test
parent1f03bc43719c4cc787d5b7d3a756c532d39bfc26 (diff)
downloadtalos-petitboot-b53c175d61e9cac8e5a95abee9d6c05032d284b5.tar.gz
talos-petitboot-b53c175d61e9cac8e5a95abee9d6c05032d284b5.zip
Convert test to automake
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
new file mode 100644
index 0000000..2f0625d
--- /dev/null
+++ b/test/Makefile.am
@@ -0,0 +1,35 @@
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/lib \
+ -I$(includedir) \
+ $(DEFAULT_CPPFLAGS)
+
+AM_CFLAGS = \
+ $(DEFAULT_CFLAGS)
+
+common_libs = \
+ $(top_builddir)/lib/libpbcore.la \
+ $(top_builddir)/discover/libparser.la
+
+noinst_SCRIPTS = parser-test.sh hotplug-device.sh
+
+noinst_PROGRAMS = parser-test
+
+parser_test_SOURCES = parser-test.c
+parser_test_LDADD = $(common_libs)
+
+MAINTAINERCLEANFILES = Makefile.in
OpenPOWER on IntegriCloud