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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
# $Id: Makefile.am,v 1.6 2024/04/08 03:43:29 sarrazip Exp $
SUBDIRS = src
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = $(PACKAGE)-$(API).pc
docdir = $(datarootdir)/doc/$(PACKAGE)-$(VERSION)
doc_DATA = \
AUTHORS \
COPYING \
NEWS \
README \
THANKS
RPMBUILD = rpmbuild
rpm: dist
$(RPMBUILD) -ta $(distdir).tar.gz
check:
test "`PKG_CONFIG_PATH=. pkg-config --modversion $(PACKAGE)-$(API)`" \
= $(VERSION)
test -n "`PKG_CONFIG_PATH=. pkg-config --cflags $(PACKAGE)-$(API)`"
test -n "`PKG_CONFIG_PATH=. pkg-config --libs $(PACKAGE)-$(API)`"
M4_MACROS = \
macros/ac_compile_warnings.m4 \
macros/sdl_image.m4 \
macros/try-link-sdl-mixer.m4
EXTRA_DIST = \
bootstrap \
autogen.sh \
$(PACKAGE).spec \
$(M4_MACROS) \
ltmain.sh
#
# Including ltmain.sh explicitly is necessary to avoid having 'make distcheck'
# fail with an error message like this:
# ../../libtool: No such file or directory
ACLOCAL_AMFLAGS = -I macros
MAINTAINERCLEANFILES = \
Makefile.in \
aclocal.m4 \
configure \
config.guess \
config.sub \
depcomp \
install-sh \
ltmain.sh \
missing \
mkinstalldirs
|