summaryrefslogtreecommitdiffstats
path: root/rpmconstant/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'rpmconstant/Makefile.am')
-rw-r--r--rpmconstant/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/rpmconstant/Makefile.am b/rpmconstant/Makefile.am
new file mode 100644
index 0000000..b30d56a
--- /dev/null
+++ b/rpmconstant/Makefile.am
@@ -0,0 +1,29 @@
+# $Id$
+
+bin_PROGRAMS = rpmconstant
+lib_LTLIBRARIES = librpmconstant.la
+librpmconstant_la_LDFLAGS = -version-info 0:0:0
+librpmconstant_la_SOURCES = rpmconstant.c \
+ rpmconstant.h \
+ rpmconstanttbl.c \
+ rpmconstant_internal.c \
+ rpmh2tbl
+
+rpmconstant_SOURCES = constant.c
+rpmconstant_LDADD = librpmconstant.la
+pkgincdir = $(pkgincludedir)
+pkginc_HEADERS = rpmconstant.h
+
+RPM_INCLUDE_DIR = /usr/include/rpm
+BUILT_SOURCES = rpmconstanttbl.c
+CLEANFILES = rpmconstanttbl.c
+
+rpmconstanttbl.c: Makefile.am rpmh2tbl
+ $(top_srcdir)/rpmh2tbl $(RPM_INCLUDE_DIR)/*.h > $@
+
+rpmh2tbl:
+
+.PHONY: ChangeLog
+
+ChangeLog:
+ svn update && svn log --verbose > ChangeLog