Home | History | Annotate | Line # | Download | only in modules
Makefile revision 1.50
      1 #	$NetBSD: Makefile,v 1.50 2010/10/24 16:31:35 jmcneill Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 # For all platforms
      6 
      7 SUBDIR=		accf_dataready
      8 SUBDIR+=	accf_httpready
      9 SUBDIR+=	adosfs
     10 SUBDIR+=	aio
     11 SUBDIR+=	bpf
     12 SUBDIR+=	cd9660
     13 SUBDIR+=	coda
     14 SUBDIR+=	coda5
     15 SUBDIR+=	compat
     16 SUBDIR+=	compat_ossaudio
     17 SUBDIR+=	coredump
     18 SUBDIR+=	efs
     19 SUBDIR+=	ext2fs
     20 SUBDIR+=	exec_script
     21 SUBDIR+=	fdesc
     22 SUBDIR+=	ffs
     23 SUBDIR+=	filecore
     24 SUBDIR+=	fss
     25 SUBDIR+=	hfs
     26 SUBDIR+=	kernfs
     27 SUBDIR+=	ksem
     28 SUBDIR+=	layerfs
     29 SUBDIR+=	lfs
     30 SUBDIR+=	mfs
     31 SUBDIR+=	miiverbose
     32 SUBDIR+=	miniroot
     33 SUBDIR+=	mqueue
     34 SUBDIR+=	msdos
     35 SUBDIR+=	nfs
     36 SUBDIR+=	nfsserver
     37 SUBDIR+=	nilfs
     38 SUBDIR+=	ntfs
     39 SUBDIR+=	null
     40 SUBDIR+=	overlay
     41 SUBDIR+=	pciverbose
     42 SUBDIR+=	pf
     43 SUBDIR+=	ppp_bsdcomp
     44 SUBDIR+=	ppp_deflate
     45 SUBDIR+=	procfs
     46 SUBDIR+=	ptyfs
     47 SUBDIR+=	puffs
     48 SUBDIR+=	putter
     49 SUBDIR+=	scsiverbose
     50 SUBDIR+=	secmodel_bsd44
     51 SUBDIR+=	secmodel_overlay
     52 SUBDIR+=	securelevel
     53 SUBDIR+=	smbfs
     54 SUBDIR+=	sysvbfs
     55 SUBDIR+=	suser
     56 SUBDIR+=	swsensor
     57 SUBDIR+=	tmpfs
     58 SUBDIR+=	udf
     59 SUBDIR+=	umap
     60 SUBDIR+=	union
     61 SUBDIR+=	usbverbose
     62 SUBDIR+=	vnd
     63 SUBDIR+=	tprof
     64 .if (defined(NOTYET))
     65 SUBDIR+=	unionfs
     66 .endif
     67 .if ${MKBINUTILS} != "no"
     68 SUBDIR+=	xldscripts
     69 .endif
     70 
     71 # Machine dependent section
     72 .if ${MACHINE_ARCH} == "i386" || \
     73     ${MACHINE_CPU} == "m68k"
     74 SUBDIR+=	exec_aout
     75 .endif
     76 
     77 .if ${MACHINE_ARCH} != "alpha"
     78 SUBDIR+=	exec_elf32
     79 .endif
     80 
     81 .if ${MACHINE_ARCH} == "alpha" || \
     82     ${MACHINE_ARCH} == "sparc64" || \
     83     ${MACHINE_ARCH} == "x86_64"
     84 SUBDIR+=	exec_elf64
     85 .endif
     86 
     87 .if ${MACHINE_ARCH} == "i386" || \
     88     ${MACHINE_ARCH} == "x86_64"
     89 SUBDIR+=	tprof_pmi
     90 .endif
     91 
     92 .if ${MACHINE_ARCH} == "i386" || \
     93     ${MACHINE_ARCH} == "ia64" || \
     94     ${MACHINE_ARCH} == "x86_64"
     95 SUBDIR+=	acpiverbose
     96 .endif
     97 
     98 .if ${MACHINE_ARCH} == "i386" || \
     99     ${MACHINE_ARCH} == "x86_64"
    100 SUBDIR+=	wmidell
    101 SUBDIR+=	wmihp
    102 SUBDIR+=	wmimsi
    103 .endif
    104 
    105 .if ${MACHINE_ARCH} == "x86_64"
    106 SUBDIR+=	azalia
    107 SUBDIR+=	compat_linux
    108 SUBDIR+=	compat_linux32
    109 SUBDIR+=	compat_netbsd32
    110 SUBDIR+=	drm
    111 SUBDIR+=	i915drm
    112 SUBDIR+=	pad
    113 .endif
    114 
    115 .if ${MACHINE_ARCH} == "i386"
    116 SUBDIR+=	azalia
    117 SUBDIR+=	compat_freebsd
    118 SUBDIR+=	compat_ibcs2
    119 SUBDIR+=	compat_linux
    120 SUBDIR+=	compat_svr4
    121 SUBDIR+=	drm
    122 SUBDIR+=	i915drm
    123 SUBDIR+=	radeondrm
    124 SUBDIR+=	viadrm
    125 SUBDIR+=	pad
    126 .endif
    127 
    128 .if ${MACHINE_CPU} == "m68k"
    129 SUBDIR+=	compat_aoutm68k
    130 #SUBDIR+=	compat_linux
    131 #SUBDIR+=	compat_sunos
    132 #SUBDIR+=	compat_svr4
    133 .endif
    134 
    135 .include <bsd.own.mk>
    136 
    137 # we need our device mapper for LVM
    138 .if (${MKLVM} != "no")
    139 SUBDIR+= 	dm
    140 .endif
    141 
    142 .if (${MKDTRACE} != "no")
    143 SUBDIR+=	dtrace
    144 .endif
    145 
    146 # we need solaris for the dtrace and zfs modules
    147 .if (${MKDTRACE} != "no" || ${MKZFS} != "no")
    148 SUBDIR+=        solaris
    149 .endif
    150 
    151 .if (${MKZFS} != "no")
    152 SUBDIR+=	zfs
    153 .endif
    154 
    155 .include <bsd.subdir.mk>
    156