# $DragonFly: src/usr.sbin/installer/libinstaller/Makefile,v 1.4 2008/08/29 20:41:01 swildner Exp $ BSDINS_DIR=${.CURDIR}/../../../contrib/bsdinstaller-1.1.6 BSDINS_SRC=${BSDINS_DIR}/src CONTRIBDIR= ${BSDINS_SRC}/lib/libinstaller .PATH: ${CONTRIBDIR} CFLAGS+= -I${BSDINS_SRC}/lib/libdfui -I${CONTRIBDIR} -I. -g LIB= installer SRCS+= commands.c confed.c diskutil.c functions.c mount.c package.c survey.c uiutil.c SRCS+= aura.h dfui.h INCS+= commands.h confed.h diskutil.h functions.h package.h sysids.h uiutil.h # This madness is because the installer sources reference aura includes # as rather than aura.h: ${LN} -sf ${BSDINS_SRC}/lib/libaura aura /usr/bin/touch aura.h dfui.h: ${LN} -sf ${BSDINS_SRC}/lib/libdfui dfui /usr/bin/touch dfui.h CLEANFILES+= aura.h dfui.h aura dfui INTERNALLIB= true DPADD+= ${.CURDIR}/../libaura/libaura.a ${.CURDIR}/../libdfui/libdfui.a LDADD+= -laura -ldfui .include