2 # $FreeBSD: src/sys/modules/aic7xxx/ahd/Makefile,v 1.2.2.1 2002/09/02 05:47:45 scottl Exp $
3 # $DragonFly: src/sys/dev/disk/aic7xxx/ahd/Makefile,v 1.4 2005/04/21 14:43:58 joerg Exp $
8 BEFORE_DEPEND
= aic79xx_
{seq
,reg
}.h
11 ( cd
${.CURDIR
}/..
/aicasm
; ${MAKE} aicasm.nx
; )
13 aic79xx_
{seq.h
,reg.h
,reg_print.c
}: \
14 ${.CURDIR
}/..
/aic79xx.
{reg
,seq
} \
15 ${.CURDIR
}/..
/..
/..
/..
/bus
/cam
/scsi
/scsi_message.h ..
/aicasm
/aicasm.nx
16 ${.OBJDIR
}/..
/aicasm
/aicasm.nx
${INCLUDES} -I
${.CURDIR
}/..
/..
/..
/..
/bus
/cam
/scsi \
18 -o aic79xx_seq.h
-r aic79xx_reg.h \
19 -p aic79xx_reg_print.c \
20 -i
${.CURDIR
}/..
/aic79xx_osm.h \
21 ${.CURDIR
}/..
/aic79xx.seq
23 GENSRCS
= aic79xx_reg.h aic79xx_seq.h
26 AHD_REG_PRETTY_PRINT
=1
27 .
ifdef AHD_REG_PRETTY_PRINT
28 SRCS
+= aic79xx_reg_print.c
29 CFLAGS
+= -DAHD_REG_PRETTY_PRINT
=1
31 SRCS
+= aic79xx.c aic79xx_osm.c aic79xx_pci.c ahd_pci.c
32 SRCS
+= opt_scsi.h opt_aic79xx.h opt_cam.h opt_ddb.h
33 SRCS
+= device_if.h bus_if.h pci_if.h
35 CLEANFILES
= ${GENSRCS} aic79xx_reg_print.c
37 .
include <bsd.kmod.mk
>