Installer import
[dragonfly.git] / usr.sbin / installer / libinstaller / Makefile
1 # $DragonFly: src/usr.sbin/installer/libinstaller/Makefile,v 1.1 2008/03/12 01:34:49 dave Exp $
2
3 BSDINS_DIR=${.CURDIR}/../../../contrib/bsdinstaller-1.1.6
4 BSDINS_SRC=${BSDINS_DIR}/src
5 .PATH:  ${BSDINS_SRC}/lib/libinstaller
6
7 CFLAGS+=-I${BSDINS_SRC}/lib/libdfui -I.
8
9 LIB=    installer
10
11 SRCS+= commands.c confed.c diskutil.c functions.c mount.c package.c survey.c uiutil.c \
12         aura.h dfui.h
13
14 # This madness is because the installer sources reference aura includes
15 # as <aura/mem.h> rather than <libaura/mem.h>
16 aura.h:
17         ${LN} -sf ${BSDINS_SRC}/lib/libaura aura
18         /usr/bin/touch aura.h
19
20 dfui.h:
21         ${LN} -sf ${BSDINS_SRC}/lib/libdfui dfui
22         /usr/bin/touch dfui.h
23
24 INTERNALLIB=            true
25
26 DPADD+= ${.CURDIR}/../libaura/libaura.a  ${.CURDIR}/../libdfui/libdfui.a
27 LDADD+= -laura -ldfui
28
29 .include <bsd.lib.mk>
30