pkgsrc/pkgtools/pkg_install-info/files/Makefile.in
epg ee3f12b91f Add -DHAVE_CONFIG_H to CPPFLAGS so xstrdup.c will include <string.h>
and get the correct prototypes for strcpy and strlen.

Fixes build on Ubuntu Linux, and likely others.
2006-03-10 06:10:44 +00:00

28 lines
579 B
Makefile

# $NetBSD: Makefile.in,v 1.3 2006/03/10 06:10:44 epg Exp $
.if defined(PREFIX)
BINDIR?= ${PREFIX}/bin
.else
BINDIR?= /usr/bin
.endif
PROG= pkg_install-info
SRCS= getopt.c getopt1.c install-info.c xexit.c xstrdup.c
CPPFLAGS+= -DHAVE_CONFIG_H
CPPFLAGS+= -I.
CPPFLAGS+= -DENABLE_NLS=0
CPPFLAGS+= -DLOCALEDIR=\"\"
CPPFLAGS+= -DPACKAGE=PACKAGE_NAME
CPPFLAGS+= -DVERSION=PACKAGE_VERSION
LDADD+= @LIBOBJS@
MAN=
DISTCLEANFILES= Makefile config.h config.log config.status \
configure.lineno stamp-*
distclean: .NOTMAIN cleandir
-rm -f ${DISTCLEANFILES}
.include <bsd.prog.mk>