pkgconf/Makefile

16 lines
513 B
Makefile
Raw Normal View History

2011-07-25 02:03:17 +00:00
PROG = pkgconf${PROG_SUFFIX}
SRCS = main.c parse.c pkg.c bsdstubs.c getopt_long.c fragment.c argvsplit.c fileio.c
2011-07-25 02:03:17 +00:00
include buildsys.mk
CFLAGS += -DLIBDIR=\"${libdir}\" -DINCLUDEDIR=\"${includedir}\" -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig:${datadir}/pkgconfig\" -Wall -Wextra -Wformat=2 -std=gnu99 -D_FORTIFY_SOURCE=2
install-extra:
mkdir -p $(DESTDIR)/$(datarootdir)/aclocal
install -c -m644 pkg.m4 $(DESTDIR)/$(datarootdir)/aclocal/pkg.m4
2012-05-03 06:50:57 +00:00
check: $(PROG)
$(SHELL) tests/run.sh ./$(PROG)
2011-07-25 02:03:17 +00:00
include .deps