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