rpm-build/build/Makefile.am

38 lines
1.0 KiB
Makefile
Raw Normal View History

2002-03-25 23:16:26 +03:00
# Makefile for rpmbuild library.
AUTOMAKE_OPTIONS = 1.4 foreign
INCLUDES = -I. \
2002-03-25 23:16:26 +03:00
-I$(top_srcdir)/lib \
-I$(top_srcdir)/rpmdb \
-I$(top_srcdir)/rpmio \
@INCPATH@
LIBS =
pkgincdir = $(pkgincludedir)
pkginc_HEADERS = rpmbuild.h rpmspec.h
2011-01-10 13:02:49 +03:00
noinst_HEADERS = buildio.h checkFiles.h interdep.h
2002-03-25 23:16:26 +03:00
lib_LTLIBRARIES = librpmbuild.la
librpmbuild_la_SOURCES = \
2011-01-10 13:02:49 +03:00
build.c checkFiles.c expression.c files.c interdep.c misc.c names.c \
pack.c parseBuildInstallClean.c parseChangelog.c parseDescription.c \
2002-03-25 23:16:26 +03:00
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
2002-03-25 23:16:26 +03:00
.PHONY: sources
sources:
@echo $(librpmbuild_la_SOURCES:%=build/%)
.PHONY: lclint
lclint:
lclint ${DEFS} ${INCLUDES} ${librpmbuild_la_SOURCES}