xref: /dragonfly/usr.bin/xinstall/Makefile (revision 7d3e9a5b)
1#	@(#)Makefile	8.1 (Berkeley) 6/6/93
2# $FreeBSD: src/usr.bin/xinstall/Makefile,v 1.11.2.4 2001/09/24 15:44:05 ru Exp $
3
4PROG=		xinstall
5PROGNAME=	install
6SRCS=		xinstall.c getid.c
7MAN=		install.1
8
9.PATH:          ${.CURDIR}/../../usr.sbin/mtree
10CFLAGS+=        -DHAVE_NETDB_H -I${.CURDIR}/../../usr.sbin/mtree
11
12.if defined(BOOTSTRAPPING)
13.if ${WORLD_VERSION} < 500302 # pwcache(3) upgrades came in about here
14.PATH: ${.CURDIR}/../../lib/libc/gen
15SRCS+=	pwcache.c
16CFLAGS+=-I${.CURDIR}/../../lib/libc/include
17CFLAGS+=-include ${.CURDIR}/../../include/grp.h
18CFLAGS+=-include ${.CURDIR}/../../include/pwd.h
19.endif
20.endif
21
22.if ${WORLD_VERSION} < 500302 # pwcache(3)/vis(3) upgrades came in about here
23.PATH: ${.CURDIR}/../../lib/libc/gen
24SRCS+=  pwcache.c
25#CFLAGS+=-include ${.CURDIR}/../../include/pwcache.h
26CFLAGS+=-I${.CURDIR}/../../lib/libc/gen
27CFLAGS+=-DEMBED_LIB_SRC
28.endif
29
30.include <bsd.prog.mk>
31