Home | History | Annotate | Line # | Download | only in modules
Makefile revision 1.132
      1  1.132  pgoyette #	$NetBSD: Makefile,v 1.132 2013/12/29 16:32:32 pgoyette Exp $
      2   1.37    dyoung 
      3   1.37    dyoung .include <bsd.own.mk>
      4   1.15        ad 
      5   1.15        ad # For all platforms
      6    1.1        ad 
      7   1.37    dyoung SUBDIR=		accf_dataready
      8   1.16        ad SUBDIR+=	accf_httpready
      9   1.15        ad SUBDIR+=	adosfs
     10   1.14        ad SUBDIR+=	aio
     11   1.38     pooka SUBDIR+=	bpf
     12  1.132  pgoyette SUBDIR+=	ccd
     13    1.7    rumble SUBDIR+=	cd9660
     14  1.129  pgoyette SUBDIR+=	cgd
     15  1.132  pgoyette SUBDIR+=	chfs
     16    1.7    rumble SUBDIR+=	coda
     17    1.7    rumble SUBDIR+=	coda5
     18   1.15        ad SUBDIR+=	compat
     19   1.15        ad SUBDIR+=	compat_ossaudio
     20   1.15        ad SUBDIR+=	coredump
     21  1.104  pgoyette SUBDIR+=	dbcool
     22  1.129  pgoyette SUBDIR+=	dk_subr
     23    1.7    rumble SUBDIR+=	efs
     24    1.7    rumble SUBDIR+=	ext2fs
     25   1.15        ad SUBDIR+=	exec_script
     26    1.7    rumble SUBDIR+=	fdesc
     27    1.7    rumble SUBDIR+=	ffs
     28   1.18        ad SUBDIR+=	filecore
     29   1.93       sjg SUBDIR+=	filemon
     30   1.68     ahoka SUBDIR+=	flash
     31   1.15        ad SUBDIR+=	fss
     32   1.89   mbalmer SUBDIR+=	gpio
     33   1.94   mbalmer SUBDIR+=	gpioiic
     34   1.92   mbalmer SUBDIR+=	gpioow
     35   1.89   mbalmer SUBDIR+=	gpiosim
     36    1.7    rumble SUBDIR+=	hfs
     37  1.105  pgoyette SUBDIR+=	if_axe
     38  1.120    nonaka SUBDIR+=	if_axen
     39  1.118  christos SUBDIR+=	if_npflog
     40  1.124     skrll SUBDIR+=	if_smsc
     41   1.94   mbalmer SUBDIR+=	iic
     42    1.7    rumble SUBDIR+=	kernfs
     43   1.22        ad SUBDIR+=	layerfs
     44    1.7    rumble SUBDIR+=	lfs
     45  1.121   mbalmer SUBDIR+=	lua
     46  1.128     lneto SUBDIR+=	luasystm
     47  1.123   mbalmer SUBDIR+=	luapmf
     48    1.7    rumble SUBDIR+=	mfs
     49   1.45  pgoyette SUBDIR+=	miiverbose
     50   1.45  pgoyette SUBDIR+=	miniroot
     51   1.31     rmind SUBDIR+=	mqueue
     52   1.18        ad SUBDIR+=	msdos
     53   1.68     ahoka SUBDIR+=	nand
     54   1.68     ahoka SUBDIR+=	nandemulator
     55   1.15        ad SUBDIR+=	nfs
     56   1.15        ad SUBDIR+=	nfsserver
     57   1.30   reinoud SUBDIR+=	nilfs
     58   1.96      tron SUBDIR+=	npf
     59   1.97      tron SUBDIR+=	npf_alg_icmp
     60  1.111     rmind SUBDIR+=	npf_ext_log
     61  1.119  christos SUBDIR+=	npf_ext_normalize
     62  1.117     rmind SUBDIR+=	npf_ext_rndblock
     63    1.7    rumble SUBDIR+=	ntfs
     64   1.18        ad SUBDIR+=	null
     65   1.92   mbalmer SUBDIR+=	onewire
     66    1.7    rumble SUBDIR+=	overlay
     67   1.42  pgoyette SUBDIR+=	pciverbose
     68   1.41     ahoka SUBDIR+=	pf
     69   1.19      cube SUBDIR+=	ppp_bsdcomp
     70   1.19      cube SUBDIR+=	ppp_deflate
     71    1.7    rumble SUBDIR+=	procfs
     72    1.7    rumble SUBDIR+=	ptyfs
     73    1.7    rumble SUBDIR+=	puffs
     74   1.15        ad SUBDIR+=	putter
     75   1.44  pgoyette SUBDIR+=	scsiverbose
     76  1.103  pgoyette SUBDIR+=	sdtemp
     77   1.33      elad SUBDIR+=	secmodel_bsd44
     78  1.100       jym SUBDIR+=	secmodel_extensions
     79   1.33      elad SUBDIR+=	secmodel_overlay
     80   1.33      elad SUBDIR+=	securelevel
     81    1.7    rumble SUBDIR+=	smbfs
     82   1.81  pgoyette SUBDIR+=	spdmem
     83   1.24     pooka SUBDIR+=	sysvbfs
     84   1.33      elad SUBDIR+=	suser
     85   1.48  pgoyette SUBDIR+=	swsensor
     86    1.7    rumble SUBDIR+=	tmpfs
     87  1.108  riastrad SUBDIR+=	uatp
     88    1.7    rumble SUBDIR+=	udf
     89   1.18        ad SUBDIR+=	umap
     90    1.7    rumble SUBDIR+=	union
     91   1.43  pgoyette SUBDIR+=	usbverbose
     92  1.106  christos SUBDIR+=	vcoda
     93   1.78     enami SUBDIR+=	v7fs
     94   1.25      haad SUBDIR+=	vnd
     95  1.131  pgoyette SUBDIR+=	zlib
     96   1.29      yamt SUBDIR+=	tprof
     97    1.7    rumble .if (defined(NOTYET))
     98    1.7    rumble SUBDIR+=	unionfs
     99    1.7    rumble .endif
    100   1.37    dyoung .if ${MKBINUTILS} != "no"
    101   1.37    dyoung SUBDIR+=	xldscripts
    102   1.37    dyoung .endif
    103    1.7    rumble 
    104   1.15        ad # Machine dependent section
    105   1.47   tsutsui .if ${MACHINE_ARCH} == "i386" || \
    106   1.49   tsutsui     ${MACHINE_CPU} == "m68k"
    107   1.47   tsutsui SUBDIR+=	exec_aout
    108   1.47   tsutsui .endif
    109   1.47   tsutsui 
    110   1.21   tsutsui .if ${MACHINE_ARCH} != "alpha"
    111   1.17    martin SUBDIR+=	exec_elf32
    112   1.17    martin .endif
    113   1.15        ad 
    114   1.21   tsutsui .if ${MACHINE_ARCH} == "alpha" || \
    115   1.21   tsutsui     ${MACHINE_ARCH} == "sparc64" || \
    116   1.21   tsutsui     ${MACHINE_ARCH} == "x86_64"
    117   1.20        he SUBDIR+=	exec_elf64
    118   1.20        he .endif
    119   1.20        he 
    120   1.29      yamt .if ${MACHINE_ARCH} == "i386" || \
    121   1.29      yamt     ${MACHINE_ARCH} == "x86_64"
    122   1.71    jruoho SUBDIR+=	amdtemp
    123   1.64    jruoho SUBDIR+=	coretemp
    124   1.65    jruoho SUBDIR+=	est
    125  1.110    martin SUBDIR+=	hdafg
    126  1.110    martin SUBDIR+=	hdaudio
    127   1.72    jruoho SUBDIR+=	hpet
    128   1.69    jruoho SUBDIR+=	odcm
    129   1.66    jruoho SUBDIR+=	powernow
    130   1.29      yamt SUBDIR+=	tprof_pmi
    131   1.70      yamt SUBDIR+=	tprof_amdpmi
    132   1.95  jmcneill SUBDIR+=	vmt
    133   1.29      yamt .endif
    134   1.29      yamt 
    135  1.126     alnsn .if ${MKSLJIT} != "no"
    136  1.126     alnsn # No modules for arm, mips and powerpc yet.
    137  1.114     alnsn .if ${MACHINE_ARCH} == "i386" || \
    138  1.115     alnsn     ${MACHINE_ARCH} == "x86_64" || \
    139  1.115     alnsn     ${MACHINE_ARCH} == "sparc"
    140  1.113     alnsn SUBDIR+=	bpfjit
    141  1.112     alnsn SUBDIR+=	sljit
    142  1.112     alnsn .endif
    143  1.126     alnsn .endif
    144  1.112     alnsn 
    145   1.85    jruoho #
    146   1.85    jruoho # ACPI modules
    147   1.85    jruoho #
    148   1.46  pgoyette .if ${MACHINE_ARCH} == "i386" || \
    149   1.46  pgoyette     ${MACHINE_ARCH} == "ia64" || \
    150   1.46  pgoyette     ${MACHINE_ARCH} == "x86_64"
    151   1.46  pgoyette SUBDIR+=	acpiverbose
    152   1.46  pgoyette .endif
    153   1.46  pgoyette 
    154   1.50  jmcneill .if ${MACHINE_ARCH} == "i386" || \
    155   1.50  jmcneill     ${MACHINE_ARCH} == "x86_64"
    156   1.52    jruoho SUBDIR+=	acpiacad
    157   1.52    jruoho SUBDIR+=	acpibat
    158   1.52    jruoho SUBDIR+=	acpibut
    159   1.52    jruoho SUBDIR+=	acpicpu
    160   1.53    jruoho SUBDIR+=	acpidalb
    161   1.58    jruoho SUBDIR+=	acpifan
    162   1.52    jruoho SUBDIR+=	acpilid
    163   1.57    jruoho SUBDIR+=	acpipmtr
    164   1.53    jruoho SUBDIR+=	acpitz
    165   1.53    jruoho SUBDIR+=	acpivga
    166   1.86    jruoho SUBDIR+=	acpiwdrt
    167   1.51  jmcneill SUBDIR+=	acpiwmi
    168   1.53    jruoho SUBDIR+=	aibs
    169   1.54    jruoho SUBDIR+=	asus
    170   1.63    jruoho SUBDIR+=	fujbp
    171   1.63    jruoho SUBDIR+=	fujhk
    172   1.75    jruoho SUBDIR+=	hpacel
    173   1.54    jruoho SUBDIR+=	hpqlb
    174   1.52    jruoho SUBDIR+=	thinkpad
    175   1.50  jmcneill SUBDIR+=	wmidell
    176   1.83    jruoho SUBDIR+=	wmieeepc
    177   1.50  jmcneill SUBDIR+=	wmihp
    178   1.50  jmcneill SUBDIR+=	wmimsi
    179   1.50  jmcneill .endif
    180   1.50  jmcneill 
    181   1.27       abs .if ${MACHINE_ARCH} == "x86_64"
    182   1.15        ad SUBDIR+=	azalia
    183   1.15        ad SUBDIR+=	compat_linux
    184   1.15        ad SUBDIR+=	compat_linux32
    185   1.15        ad SUBDIR+=	compat_netbsd32
    186   1.15        ad SUBDIR+=	drm
    187   1.15        ad SUBDIR+=	i915drm
    188   1.40     ahoka SUBDIR+=	pad
    189   1.15        ad .endif
    190   1.15        ad 
    191   1.27       abs .if ${MACHINE_ARCH} == "i386"
    192   1.90  jmcneill SUBDIR+=	ati_pcigart
    193   1.15        ad SUBDIR+=	azalia
    194   1.15        ad SUBDIR+=	compat_freebsd
    195   1.15        ad SUBDIR+=	compat_ibcs2
    196   1.15        ad SUBDIR+=	compat_linux
    197   1.15        ad SUBDIR+=	compat_svr4
    198   1.15        ad SUBDIR+=	drm
    199   1.15        ad SUBDIR+=	i915drm
    200   1.90  jmcneill SUBDIR+=	mach64drm
    201   1.90  jmcneill SUBDIR+=	mgadrm
    202   1.76  jmcneill SUBDIR+=	nsclpcsio
    203   1.40     ahoka SUBDIR+=	pad
    204   1.62  jmcneill SUBDIR+=	padlock
    205   1.90  jmcneill SUBDIR+=	r128drm
    206   1.90  jmcneill SUBDIR+=	radeondrm
    207   1.90  jmcneill SUBDIR+=	savagedrm
    208   1.90  jmcneill SUBDIR+=	sisdrm
    209   1.90  jmcneill SUBDIR+=	tdfxdrm
    210   1.67    jruoho SUBDIR+=	viac7temp
    211   1.90  jmcneill SUBDIR+=	viadrm
    212   1.15        ad .endif
    213   1.15        ad 
    214   1.85    jruoho #
    215   1.85    jruoho # ISA modules
    216   1.85    jruoho #
    217   1.56  jmcneill .if ${MACHINE_ARCH} == "i386" || \
    218   1.56  jmcneill     ${MACHINE_ARCH} == "x86_64"
    219   1.59  jmcneill SUBDIR+=	aps
    220   1.80  jmcneill SUBDIR+=	finsio
    221   1.79  jmcneill SUBDIR+=	itesio
    222  1.101  jakllsch SUBDIR+=	lm
    223  1.101  jakllsch SUBDIR+=	lm_isa
    224  1.101  jakllsch SUBDIR+=	lm_isa_common
    225  1.101  jakllsch SUBDIR+=	lm_wbsio
    226  1.101  jakllsch SUBDIR+=	wbsio
    227   1.56  jmcneill .endif
    228   1.56  jmcneill 
    229   1.49   tsutsui .if ${MACHINE_CPU} == "m68k"
    230   1.47   tsutsui SUBDIR+=	compat_aoutm68k
    231   1.47   tsutsui #SUBDIR+=	compat_linux
    232   1.47   tsutsui #SUBDIR+=	compat_sunos
    233   1.47   tsutsui #SUBDIR+=	compat_svr4
    234   1.47   tsutsui .endif
    235   1.47   tsutsui 
    236   1.88   mbalmer .if ${MACHINE_ARCH} == "i386" || \
    237   1.88   mbalmer     ${MACHINE_ARCH} == "x86_64" || \
    238   1.88   mbalmer     ${MACHINE_ARCH} == "sparc64"
    239   1.88   mbalmer SUBDIR+=	pwdog
    240   1.88   mbalmer .endif
    241   1.88   mbalmer 
    242   1.23       agc .include <bsd.own.mk>
    243   1.23       agc 
    244  1.107   reinoud #
    245  1.107   reinoud # NetBSD/usermode support
    246  1.107   reinoud #
    247  1.107   reinoud .if ${MACHINE_ARCH} == "i386" || \
    248  1.107   reinoud     ${MACHINE_ARCH} == "x86_64"
    249  1.107   reinoud SUBDIR+=	../arch/usermode/modules/syscallemu
    250  1.107   reinoud .endif
    251  1.107   reinoud 
    252   1.23       agc # we need our device mapper for LVM
    253   1.23       agc .if (${MKLVM} != "no")
    254   1.28      yamt SUBDIR+= 	dm
    255   1.23       agc .endif
    256   1.23       agc 
    257   1.39    darran .if (${MKDTRACE} != "no")
    258  1.116       chs SUBDIR+=	cyclic
    259   1.39    darran SUBDIR+=	dtrace
    260   1.39    darran .endif
    261   1.39    darran 
    262   1.39    darran # we need solaris for the dtrace and zfs modules
    263   1.39    darran .if (${MKDTRACE} != "no" || ${MKZFS} != "no")
    264   1.39    darran SUBDIR+=        solaris
    265   1.39    darran .endif
    266   1.39    darran 
    267   1.34      haad .if (${MKZFS} != "no")
    268   1.34      haad SUBDIR+=	zfs
    269   1.34      haad .endif
    270   1.34      haad 
    271   1.73       mrg .if (${MKCOMPATMODULES} != "no")
    272   1.73       mrg SUBDIR+=	arch
    273   1.73       mrg .endif
    274   1.73       mrg 
    275   1.84  jmcneill #
    276   1.84  jmcneill # DTV modules
    277   1.84  jmcneill #
    278   1.84  jmcneill SUBDIR+=	dtv
    279   1.84  jmcneill SUBDIR+=	dtv_math
    280   1.84  jmcneill .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
    281   1.84  jmcneill # tuners/demods
    282   1.84  jmcneill SUBDIR+=	au8522
    283   1.84  jmcneill SUBDIR+=	cx24227
    284   1.84  jmcneill SUBDIR+=	lg3303
    285   1.84  jmcneill SUBDIR+=	mt2131
    286   1.84  jmcneill SUBDIR+=	nxt2k
    287   1.84  jmcneill SUBDIR+=	tvpll
    288   1.84  jmcneill SUBDIR+=	xc3028
    289   1.84  jmcneill SUBDIR+=	xc5k
    290   1.91    jruoho SUBDIR+=	zl10353
    291   1.84  jmcneill # hardware drivers
    292   1.84  jmcneill SUBDIR+=	auvitek
    293   1.84  jmcneill SUBDIR+=	coram
    294   1.84  jmcneill SUBDIR+=	cxdtv
    295   1.84  jmcneill SUBDIR+=	emdtv
    296   1.84  jmcneill .endif
    297   1.84  jmcneill 
    298   1.98       riz .if (${MKISCSI} != "no")
    299   1.98       riz SUBDIR+=	iscsi
    300   1.98       riz .endif
    301   1.98       riz 
    302    1.1        ad .include <bsd.subdir.mk>
    303