The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/modules/aic7xxx/ahc/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 
    2 # $FreeBSD$
    3 
    4 SYSDIR?=${SRCTOP}/sys
    5 .include "${SYSDIR}/conf/kern.opts.mk"
    6 
    7 .PATH:  ${SYSDIR}/dev/aic7xxx
    8 KMOD=   ahc
    9 SUBDIR+= ahc_isa ahc_pci
   10 
   11 GENSRCS= aic7xxx_seq.h aic7xxx_reg.h
   12 # AHC_REG_PRETTY_PRINT=1
   13 REG_PRINT_OPT=
   14 .ifdef AHC_REG_PRETTY_PRINT
   15 GENSRCS+= aic7xxx_reg_print.c
   16 CFLAGS+= -DAHC_REG_PRETTY_PRINT=1
   17 REG_PRINT_OPT= -p aic7xxx_reg_print.c
   18 .endif
   19 BEFORE_DEPEND = ${GENSRCS}
   20 
   21 ../aicasm/aicasm: ${SYSDIR}/dev/aic7xxx/aicasm/*.[chyl]
   22         ( cd ${.CURDIR}/../aicasm; ${MAKE} aicasm; )
   23 
   24 .if make(ahcfirmware)
   25 ahcfirmware: ${GENSRCS}
   26 ${GENSRCS}:                                                              \
   27                 ${SYSDIR}/dev/aic7xxx/aic7xxx.{reg,seq}  \
   28                 ${SYSDIR}/cam/scsi/scsi_message.h 
   29         ../aicasm/aicasm ${INCLUDES} -I${SYSDIR}/cam/scsi        \
   30                         -I${SYSDIR}/dev/aic7xxx          \
   31                         -o aic7xxx_seq.h -r aic7xxx_reg.h                \
   32                         ${REG_PRINT_OPT}                                 \
   33                         -i ${SYSDIR}/dev/aic7xxx/aic7xxx_osm.h \
   34                         ${SYSDIR}/dev/aic7xxx/aic7xxx.seq
   35 .elif defined(.MAKE.LEVEL)
   36 # This target interfers with fmake's world view and causes this message
   37 # to appear when building the tree from 8.x worlds where fmake is the
   38 # default. fmake doens't define .MAKE.LEVEL so key off that to omit it,
   39 # while still allowing more-modern makes to theoretically update things.
   40 ${GENSRCS}: .NOMETA
   41         @echo "Error: ${.TARGET} is missing.  Run 'make ahcfirmware'"
   42 .endif
   43 
   44 
   45 SRCS= ${GENSRCS}
   46 SRCS+= aic7xxx.c aic7xxx_93cx6.c aic7xxx_osm.c aic7770.c
   47 SRCS+= opt_scsi.h opt_aic7xxx.h opt_cam.h
   48 SRCS+= device_if.h bus_if.h pci_if.h
   49 
   50 .if make(cleanfirmware)
   51 cleanfirmware: clean
   52 CLEANFILES= ${GENSRCS}
   53 .endif
   54 
   55 EXPORT_SYMS=    YES
   56 
   57 .include <bsd.kmod.mk>

Cache object: 00a89a3fea8370e5b3cb4a78157b5ae0


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.