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