rpm-build/build/Makefile.am
Dmitry V. Levin 4134fc39ac Fix automake warnings
Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
build/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
python/Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rpmdb/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
rpmio/Makefile.am:9: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
tools/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-02-15 22:19:47 +00:00

39 lines
1.0 KiB
Makefile

# Makefile for rpmbuild library.
AUTOMAKE_OPTIONS = 1.4 foreign
AM_CPPFLAGS = -I. \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/rpmdb \
-I$(top_srcdir)/rpmio \
@INCPATH@
LIBS =
pkgincdir = $(pkgincludedir)
noinst_HEADERS = \
rpmbuild.h rpmspec.h \
buildio.h checkFiles.h interdep.h
lib_LTLIBRARIES = librpmbuild.la
librpmbuild_la_SOURCES = \
build.c checkFiles.c expression.c files.c interdep.c misc.c names.c \
pack.c parseBuildInstallClean.c parseChangelog.c parseDescription.c \
parseFiles.c parsePreamble.c parsePrep.c parseReqs.c parseScript.c \
parseSpec.c poptBT.c reqprov.c spec.c
librpmbuild_la_LDFLAGS = -release @VERSION@.1
librpmbuild_la_LIBADD = $(top_builddir)/rpmio/librpmio.la \
$(top_builddir)/rpmdb/librpmdb.la \
$(top_builddir)/lib/librpm.la @LIBPOPT@
librpmbuild_la_DEPENDENCIES = $(top_builddir)/rpmio/librpmio.la \
$(top_builddir)/rpmdb/librpmdb.la \
$(top_builddir)/lib/librpm.la
.PHONY: sources
sources:
@echo $(librpmbuild_la_SOURCES:%=build/%)
.PHONY: lclint
lclint:
lclint ${DEFS} ${AM_CPPFLAGS} ${librpmbuild_la_SOURCES}