# $NetBSD: Makefile.in,v 1.4 2007/07/31 13:32:04 joerg Exp $ prefix = @prefix@ exec_prefix = @exec_prefix@ sbindir = @sbindir@ mandir = @mandir@ pprefix = @prefix@ pkgdbdir = @pkgdbdir@ sysconfdir = @sysconfdir@ man5dir = $(mandir)/man5 man1dir = $(mandir)/man1 cat5dir = $(mandir)/cat5 cat1dir = $(mandir)/cat1 sharedir = $(prefix)/share/examples/pkg_install do_subst = sed -e 's,@gzcat@,_gzcat_,g' CC = @CC@ CCLD= $(CC) LIBS= -linstall @LIBS@ CPPFLAGS= @CPPFLAGS@ -I. -I../lib -DHOST=\"$(CANONICAL_HOST)\" -DPKGSRC CPPFLAGS+= -DPREFIX=\"$(prefix)\" -DSYSCONFDIR=\"$(sysconfdir)\" DEFS= @DEFS@ CFLAGS= @CFLAGS@ LDFLAGS= @LDFLAGS@ -L../lib SUBST_FILES= audit-packages.conf.5 audit-packages.conf.cat5 audit-packages.conf download-vulnerability-list.sh INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ CANONICAL_HOST = @CANONICAL_HOST@ LINK= $(CCLD) $(CFLAGS) $(LDFLAGS) -o $@ COMPILE= $(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) audit-packages_OBJS = audit-packages.o .c.o: $(COMPILE) -c $< -o $@ all: subst audit-packages audit-packages: $(audit-packages_OBJS) $(LINK) $(audit-packages_OBJS) $(LIBS) subst: @list='$(SUBST_FILES)'; for f in $$list; do \ $(do_subst) $$f > $$f.tmp; \ rm $$f; mv $$f.tmp $$f; \ done clean: rm -f *.o audit-packages install: $(INSTALL) -m 755 -d ${DESTDIR}$(sbindir) $(INSTALL) -m 755 -d ${DESTDIR}$(man1dir) $(INSTALL) -m 755 -d ${DESTDIR}$(man5dir) $(INSTALL) -m 755 -d ${DESTDIR}$(cat1dir) $(INSTALL) -m 755 -d ${DESTDIR}$(cat5dir) $(INSTALL) -m 755 -d ${DESTDIR}$(sharedir) $(INSTALL_PROGRAM) audit-packages $(DESTDIR)$(sbindir)/audit-packages $(INSTALL_SCRIPT) download-vulnerability-list.sh \ $(DESTDIR)$(sbindir)/download-vulnerability-list $(INSTALL_DATA) audit-packages.conf \ $(DESTDIR)$(sharedir)/audit-packages.conf $(INSTALL_DATA) audit-packages.1 $(DESTDIR)$(man1dir)/audit-packages.1 $(INSTALL_DATA) audit-packages.cat1 \ $(DESTDIR)$(cat1dir)/audit-packages.0 $(INSTALL_DATA) audit-packages.conf.5 \ $(DESTDIR)$(man5dir)/audit-packages.conf.5 $(INSTALL_DATA) audit-packages.conf.cat5 \ $(DESTDIR)$(cat5dir)/audit-packages.conf.0 $(INSTALL_DATA) download-vulnerability-list.1 \ $(DESTDIR)$(man1dir)/download-vulnerability-list.1 $(INSTALL_DATA) download-vulnerability-list.cat1 \ $(DESTDIR)$(cat1dir)/download-vulnerability-list.0