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