1 # $DragonFly: src/usr.sbin/installer/libinstaller/Makefile,v 1.3 2008/07/14 23:57:10 swildner Exp $
3 BSDINS_DIR=${.CURDIR}/../../../contrib/bsdinstaller-1.1.6
4 BSDINS_SRC=${BSDINS_DIR}/src
6 CONTRIBDIR= ${BSDINS_SRC}/lib/libinstaller
9 PATCHES= functions.c.patch survey.c.patch
11 CFLAGS+= -I${BSDINS_SRC}/lib/libdfui -I${CONTRIBDIR} -I. -g
15 SRCS+= commands.c confed.c diskutil.c functions.c mount.c package.c survey.c uiutil.c
19 INCS+= commands.h confed.h diskutil.h functions.h package.h sysids.h uiutil.h
21 # This madness is because the installer sources reference aura includes
22 # as <aura/mem.h> rather than <libaura/mem.h>
24 ${LN} -sf ${BSDINS_SRC}/lib/libaura aura
28 ${LN} -sf ${BSDINS_SRC}/lib/libdfui dfui
31 CLEANFILES+= aura.h dfui.h aura dfui
34 DPADD+= ${.CURDIR}/../libaura/libaura.a ${.CURDIR}/../libdfui/libdfui.a