Add HAMMER support to the installer
[dragonfly.git] / usr.sbin / installer / dfuibe_installer / Makefile
CommitLineData
0cfebe3d 1#
bc3d4063 2# $DragonFly: src/usr.sbin/installer/dfuibe_installer/Makefile,v 1.5 2008/08/29 22:51:56 swildner Exp $
0cfebe3d
DH
3
4BSDINS_DIR=${.CURDIR}/../../../contrib/bsdinstaller-1.1.6
5BSDINS_SRC=${BSDINS_DIR}/src
6
dc861544
DH
7CONTRIBDIR=${BSDINS_SRC}/backend/installer
8.PATH: ${CONTRIBDIR}
0cfebe3d 9
0cfebe3d 10PROG= dfuibe_installer
bc3d4063 11NOMAN=
0cfebe3d 12SRCS= flow.c fn_diagnostic.c fn_install.c fn_zonetab.c \
971d1cca 13 fn_configure.c fn_disk.c fn_subpart_hammer.c fn_subpart.c main.c
0cfebe3d 14
bc3d4063 15CFLAGS+= -I${BSDINS_SRC}/lib
0cfebe3d 16
bc3d4063 17CLEANFILES+= aura dfui installer
dc861544 18
0cfebe3d
DH
19.if exists(${.OBJDIR}/../libaura)
20LIBAURADIR:= ${.OBJDIR}/../libaura
21.else
22LIBAURADIR!= cd ${.CURDIR}/../libaura; make -V .OBJDIR
23.endif
24LIBAURA:= ${LIBAURADIR}/libaura.a
25
26.if exists(${.OBJDIR}/../libdfui)
27LIBDFUIDIR:= ${.OBJDIR}/../libdfui
28.else
29LIBDFUIDIR!= cd ${.CURDIR}/../libdfui; make -V .OBJDIR
30.endif
31LIBDFUI:= ${LIBDFUIDIR}/libdfui.a
32
33.if exists(${.OBJDIR}/../libinstaller)
34LIBINSTALLERDIR:= ${.OBJDIR}/../libinstaller
35.else
36LIBINSTALLERDIR!= cd ${.CURDIR}/../libinstaller; make -V .OBJDIR
37.endif
38LIBINSTALLER:= ${LIBINSTALLERDIR}/libinstaller.a
39
40DPADD+= ${LIBAURA} ${LIBDFUI} ${LIBINSTALLER}
41LDADD+= -L${LIBAURADIR} -L${LIBDFUIDIR} -L${LIBINSTALLERDIR} -linstaller -ldfui -laura
42
bc3d4063 43.include "../../Makefile.inc"
0cfebe3d 44.include <bsd.prog.mk>