summaryrefslogtreecommitdiffstats
path: root/rpmconstant/Makefile.am
blob: fd2d7dffb71c09917afc37cc7916a9dd65b57f4a (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
30
31
# $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

AM_CFLAGS=-I$(RPM_INCLUDE_DIR)

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