summaryrefslogtreecommitdiffstats
path: root/rpmconstant/Makefile.am
blob: b30d56a86f33231d7d2a420dadbdeb2256a2264d (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:
	svn update && svn log --verbose > ChangeLog