1# 2# $DragonFly: src/usr.sbin/installer/dfuibe_installer/Makefile,v 1.5 2008/08/29 22:51:56 swildner Exp $ 3 4PROG= dfuibe_installer 5NOMAN= 6SRCS= flow.c fn_diagnostic.c fn_install.c fn_zonetab.c \ 7 fn_configure.c fn_disk.c fn_subpart_hammer.c fn_subpart_ufs.c main.c 8 9CFLAGS+=-I${.CURDIR}/.. 10 11.if exists(${.OBJDIR}/../libaura) 12LIBAURA=${.OBJDIR}/../libaura/libaura.a 13.else 14LIBAURA=${.CURDIR}/../libaura/libaura.a 15.endif 16 17.if exists(${.OBJDIR}/../libdfui) 18LIBDFUI=${.OBJDIR}/../libdfui/libdfui.a 19.else 20LIBDFUI=${.CURDIR}/../libdfui/libdfui.a 21.endif 22 23.if exists(${.OBJDIR}/../libinstaller) 24LIBINSTALLER=${.OBJDIR}/../libinstaller/libinstaller.a 25.else 26LIBINSTALLER=${.CURDIR}/../libinstaller/libinstaller.a 27.endif 28 29DPADD+= ${LIBINSTALLER} ${LIBDFUI} ${LIBAURA} 30LDADD+= ${LIBINSTALLER} ${LIBDFUI} ${LIBAURA} 31 32.include <bsd.prog.mk> 33