turns printfs back on
[freebsd-src/fkvm-freebsd.git] / rescue / librescue / Makefile
blob9fd3c8f4d0c9446b041d4bb3bc5a4d257dd95b23
2 # $FreeBSD$
5 WITHOUT_SSP=
7 .include <bsd.own.mk>
9 # Certain library entries have hard-coded references to
10 # /bin, /sbin, etc, that require those entries to be
11 # recompiled for use in /rescue. This Makefile
12 # accomplishes that. Note that this is pure build hackery.
13 # This library should never be installed, and isn't even linked
14 # with in the normal way. (See ../rescue/Makefile for details.)
16 .PATH: ${.CURDIR}/../../lib/libc/gen \
17 ${.CURDIR}/../../lib/libc/net \
18 ${.CURDIR}/../../lib/libc/stdlib \
19 ${.CURDIR}/../../lib/libutil
21 LIB= rescue
22 INTERNALLIB= # Don't install this library
23 SRCS= exec.c getusershell.c login_class.c popen.c rcmdsh.c \
24 sysctl.c system.c
26 CFLAGS+= -DRESCUE
27 # Flags copied from src/lib/libc and src/lib/libutil
28 # libc/db/Makefile.inc
29 CFLAGS+= -D__DBINTERFACE_PRIVATE
30 # libc/net/Makefile.inc & libutil/Makefile
31 .if ${MK_INET6_SUPPORT} != "no"
32 CFLAGS+= -DINET6
33 .endif
34 # libc/regex/Makefile.inc & libc/regex/grot/Makefile
35 CFLAGS+= -DPOSIX_MISTAKE
36 # libc/rpc/Makefile.inc
37 CFLAGS+= -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
38 # libc/Makefile
39 .if ${MK_NIS} != "no"
40 CFLAGS+= -DYP
41 .endif
42 .if ${MK_HESIOD} != "no"
43 CFLAGS+= -DHESIOD
44 .endif
45 CFLAGS+= -I${.CURDIR}/../../lib/libc/include
47 .include <bsd.lib.mk>