summaryrefslogtreecommitdiffstats
path: root/rpmconstant/Makefile.am
blob: 2088777520fe1f51cfa6b17a6d51c6a54f4945e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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:
	LC_ALL=C svn update && LC_ALL=C svn log --verbose > ChangeLog