2011-07-25 02:03:17 +00:00
|
|
|
PROG = pkgconf${PROG_SUFFIX}
|
2012-04-30 18:27:17 +00:00
|
|
|
SRCS = main.c parse.c pkg.c bsdstubs.c getopt_long.c
|
2011-07-25 02:03:17 +00:00
|
|
|
|
|
|
|
include buildsys.mk
|
|
|
|
|
2012-02-17 21:35:23 +00:00
|
|
|
CFLAGS += -DPKG_DEFAULT_PATH=\"${libdir}/pkgconfig\"
|
2011-07-25 05:06:37 +00:00
|
|
|
|
2012-04-30 05:43:46 +00:00
|
|
|
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
|