diff --git a/sys/modules/3dfx/Makefile b/sys/modules/3dfx/Makefile index cdb773e7bb85..5c676213a85b 100644 --- a/sys/modules/3dfx/Makefile +++ b/sys/modules/3dfx/Makefile @@ -1,22 +1,25 @@ # $FreeBSD$ -.PATH: $(.CURDIR)/../../dev/tdfx -MAINTAINER= cokane@FreeBSD.org -KMOD= 3dfx -NOMAN= YES -SRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ - tdfx_vars.h tdfx_pci.c -INCSRC= ../../sys -CLEANFILES= pci.h +MAINTAINER= cokane@FreeBSD.org + +.PATH: $(.CURDIR)/../../dev/tdfx + +KMOD= 3dfx +NOMAN= YES +SRCS= opt_tdfx.h pci.h bus_if.h pci_if.h device_if.h tdfx_pci.h tdfx_io.h\ + tdfx_vars.h tdfx_pci.c +INCSRC= ../../sys + +CLEANFILES= pci.h .if ${MACHINE_ARCH} == "i386" # This line enables linux ioctl handling by default # comment out if you don't want it -TDFX_OPTS= "\#define TDFX_LINUX" +TDFX_OPTS= "\#define TDFX_LINUX" .endif # Uncomment this for debugging messages -#CFLAGS+= -DDEBUG +#CFLAGS+= -DDEBUG pci.h: echo "#define NPCI 1" > pci.h diff --git a/sys/modules/aac/Makefile b/sys/modules/aac/Makefile index 6a2baefc6e7b..3759b504d7c1 100644 --- a/sys/modules/aac/Makefile +++ b/sys/modules/aac/Makefile @@ -1,13 +1,14 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aac -KMOD = aac -SRCS = aac.c aac_pci.c aac_disk.c -SRCS += device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/aac -CFLAGS+= -DAAC_COMPAT_LINUX +KMOD= aac +SRCS= aac.c aac_pci.c aac_disk.c +SRCS+= device_if.h bus_if.h pci_if.h -#CFLAGS+= -DAAC_DEBUG=2 -#SRCS += aac_debug.c +CFLAGS+= -DAAC_COMPAT_LINUX + +#CFLAGS+= -DAAC_DEBUG=2 +#SRCS+= aac_debug.c .include diff --git a/sys/modules/accf_data/Makefile b/sys/modules/accf_data/Makefile index 9f3a64ef5213..6c5216c07a65 100644 --- a/sys/modules/accf_data/Makefile +++ b/sys/modules/accf_data/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet -KMOD = accf_data -SRCS = accf_data.c +.PATH: ${.CURDIR}/../../netinet + +KMOD= accf_data +SRCS= accf_data.c .include diff --git a/sys/modules/accf_http/Makefile b/sys/modules/accf_http/Makefile index 2b76ac6478ae..b942d3e7639e 100644 --- a/sys/modules/accf_http/Makefile +++ b/sys/modules/accf_http/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet -KMOD = accf_http -SRCS = accf_http.c +.PATH: ${.CURDIR}/../../netinet + +KMOD= accf_http +SRCS= accf_http.c .include diff --git a/sys/modules/acpi/Makefile b/sys/modules/acpi/Makefile index 41b8b5848def..50a3322351c0 100644 --- a/sys/modules/acpi/Makefile +++ b/sys/modules/acpi/Makefile @@ -1,52 +1,51 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Common \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Debugger \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Dispatcher \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Events \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Hardware \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Interpreter \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Namespace \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Parser \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Resources \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Tables \ - ${.CURDIR}/../../pci ${.CURDIR}/../../dev/acpica \ - ${.CURDIR}/../../dev/acpica/Osd +.PATH: ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Common \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Debugger \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Dispatcher \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Events \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Hardware \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Interpreter \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Namespace \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Parser \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Resources \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Tables \ + ${.CURDIR}/../../pci ${.CURDIR}/../../dev/acpica \ + ${.CURDIR}/../../dev/acpica/Osd -KMOD = acpica -SRCS = cmalloc.c cmclib.c cmcopy.c cmdebug.c cmdelete.c cmeval.c -SRCS += cmglobal.c cminit.c cmobject.c cmutils.c cmxface.c dbcmds.c -SRCS += dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c -SRCS += dbinput.c dbstats.c dbutils.c dbxface.c dsfield.c dsmethod.c -SRCS += dsmthdat.c dsobject.c dsopcode.c dsutils.c dswexec.c -SRCS += dswload.c dswscope.c dswstate.c evevent.c evmisc.c evregion.c -SRCS += evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c hwacpi.c -SRCS += hwcpu32.c hwgpe.c hwxface.c hwregs.c amconfig.c amcreate.c amdump.c -SRCS += amfield.c amfldio.c ammisc.c ammonad.c amnames.c amprep.c -SRCS += amdyadic.c amregion.c amresnte.c amresolv.c amresop.c amstore.c -SRCS += amstoren.c amstorob.c amsystem.c amutils.c amxface.c -SRCS += nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c nsload.c -SRCS += nsnames.c nsobject.c nssearch.c nsutils.c nswalk.c -SRCS += nsxfobj.c nsxfname.c psargs.c psfind.c psopcode.c psparse.c psscope.c -SRCS += pstree.c psutils.c pswalk.c psxface.c rsaddr.c rscalc.c -SRCS += rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c -SRCS += rsmisc.c rsutils.c rsxface.c tbconvrt.c tbget.c tbinstal.c tbutils.c -SRCS += tbxface.c tbxfroot.c acpi.c acpi_apic.c acpi_button.c -SRCS += acpi_ec.c acpi_isa.c acpi_lid.c acpi_pcib.c acpi_processor.c -SRCS += acpi_acad.c acpi_cmbat.c -SRCS += acpi_resource.c acpi_thermal.c acpi_timer.c OsdDebug.c -SRCS += OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c -SRCS += OsdStream.c OsdSynch.c OsdEnvironment.c -SRCS += opt_acpi.h opt_ddb.h -SRCS += device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h +KMOD= acpica +SRCS= cmalloc.c cmclib.c cmcopy.c cmdebug.c cmdelete.c cmeval.c +SRCS+= cmglobal.c cminit.c cmobject.c cmutils.c cmxface.c dbcmds.c +SRCS+= dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c +SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c dsfield.c dsmethod.c +SRCS+= dsmthdat.c dsobject.c dsopcode.c dsutils.c dswexec.c +SRCS+= dswload.c dswscope.c dswstate.c evevent.c evmisc.c evregion.c +SRCS+= evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c hwacpi.c +SRCS+= hwcpu32.c hwgpe.c hwxface.c hwregs.c amconfig.c amcreate.c amdump.c +SRCS+= amfield.c amfldio.c ammisc.c ammonad.c amnames.c amprep.c +SRCS+= amdyadic.c amregion.c amresnte.c amresolv.c amresop.c amstore.c +SRCS+= amstoren.c amstorob.c amsystem.c amutils.c amxface.c +SRCS+= nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c nsload.c +SRCS+= nsnames.c nsobject.c nssearch.c nsutils.c nswalk.c +SRCS+= nsxfobj.c nsxfname.c psargs.c psfind.c psopcode.c psparse.c psscope.c +SRCS+= pstree.c psutils.c pswalk.c psxface.c rsaddr.c rscalc.c +SRCS+= rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c +SRCS+= rsmisc.c rsutils.c rsxface.c tbconvrt.c tbget.c tbinstal.c tbutils.c +SRCS+= tbxface.c tbxfroot.c acpi.c acpi_apic.c acpi_button.c +SRCS+= acpi_ec.c acpi_isa.c acpi_lid.c acpi_pcib.c acpi_processor.c +SRCS+= acpi_acad.c acpi_cmbat.c +SRCS+= acpi_resource.c acpi_thermal.c acpi_timer.c OsdDebug.c +SRCS+= OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c +SRCS+= OsdStream.c OsdSynch.c OsdEnvironment.c +SRCS+= opt_acpi.h opt_ddb.h +SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h -CFLAGS += -I${.CURDIR}/../../contrib/dev/acpica/Subsystem/Include +CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica/Subsystem/Include -#CFLAGS+= -opt_acpi.h:Makefile +opt_acpi.h: Makefile touch opt_acpi.h -opt_ddb.h:Makefile + +opt_ddb.h: Makefile echo '#define DDB 1' >opt_ddb.h .include - diff --git a/sys/modules/acpica/Makefile b/sys/modules/acpica/Makefile index 41b8b5848def..50a3322351c0 100644 --- a/sys/modules/acpica/Makefile +++ b/sys/modules/acpica/Makefile @@ -1,52 +1,51 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Common \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Debugger \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Dispatcher \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Events \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Hardware \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Interpreter \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Namespace \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Parser \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Resources \ - ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Tables \ - ${.CURDIR}/../../pci ${.CURDIR}/../../dev/acpica \ - ${.CURDIR}/../../dev/acpica/Osd +.PATH: ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Common \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Debugger \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Dispatcher \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Events \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Hardware \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Interpreter \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Namespace \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Parser \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Resources \ + ${.CURDIR}/../../contrib/dev/acpica/Subsystem/Tables \ + ${.CURDIR}/../../pci ${.CURDIR}/../../dev/acpica \ + ${.CURDIR}/../../dev/acpica/Osd -KMOD = acpica -SRCS = cmalloc.c cmclib.c cmcopy.c cmdebug.c cmdelete.c cmeval.c -SRCS += cmglobal.c cminit.c cmobject.c cmutils.c cmxface.c dbcmds.c -SRCS += dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c -SRCS += dbinput.c dbstats.c dbutils.c dbxface.c dsfield.c dsmethod.c -SRCS += dsmthdat.c dsobject.c dsopcode.c dsutils.c dswexec.c -SRCS += dswload.c dswscope.c dswstate.c evevent.c evmisc.c evregion.c -SRCS += evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c hwacpi.c -SRCS += hwcpu32.c hwgpe.c hwxface.c hwregs.c amconfig.c amcreate.c amdump.c -SRCS += amfield.c amfldio.c ammisc.c ammonad.c amnames.c amprep.c -SRCS += amdyadic.c amregion.c amresnte.c amresolv.c amresop.c amstore.c -SRCS += amstoren.c amstorob.c amsystem.c amutils.c amxface.c -SRCS += nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c nsload.c -SRCS += nsnames.c nsobject.c nssearch.c nsutils.c nswalk.c -SRCS += nsxfobj.c nsxfname.c psargs.c psfind.c psopcode.c psparse.c psscope.c -SRCS += pstree.c psutils.c pswalk.c psxface.c rsaddr.c rscalc.c -SRCS += rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c -SRCS += rsmisc.c rsutils.c rsxface.c tbconvrt.c tbget.c tbinstal.c tbutils.c -SRCS += tbxface.c tbxfroot.c acpi.c acpi_apic.c acpi_button.c -SRCS += acpi_ec.c acpi_isa.c acpi_lid.c acpi_pcib.c acpi_processor.c -SRCS += acpi_acad.c acpi_cmbat.c -SRCS += acpi_resource.c acpi_thermal.c acpi_timer.c OsdDebug.c -SRCS += OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c -SRCS += OsdStream.c OsdSynch.c OsdEnvironment.c -SRCS += opt_acpi.h opt_ddb.h -SRCS += device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h +KMOD= acpica +SRCS= cmalloc.c cmclib.c cmcopy.c cmdebug.c cmdelete.c cmeval.c +SRCS+= cmglobal.c cminit.c cmobject.c cmutils.c cmxface.c dbcmds.c +SRCS+= dbdisasm.c dbdisply.c dbexec.c dbfileio.c dbhistry.c +SRCS+= dbinput.c dbstats.c dbutils.c dbxface.c dsfield.c dsmethod.c +SRCS+= dsmthdat.c dsobject.c dsopcode.c dsutils.c dswexec.c +SRCS+= dswload.c dswscope.c dswstate.c evevent.c evmisc.c evregion.c +SRCS+= evrgnini.c evsci.c evxface.c evxfevnt.c evxfregn.c hwacpi.c +SRCS+= hwcpu32.c hwgpe.c hwxface.c hwregs.c amconfig.c amcreate.c amdump.c +SRCS+= amfield.c amfldio.c ammisc.c ammonad.c amnames.c amprep.c +SRCS+= amdyadic.c amregion.c amresnte.c amresolv.c amresop.c amstore.c +SRCS+= amstoren.c amstorob.c amsystem.c amutils.c amxface.c +SRCS+= nsaccess.c nsalloc.c nsdump.c nseval.c nsinit.c nsload.c +SRCS+= nsnames.c nsobject.c nssearch.c nsutils.c nswalk.c +SRCS+= nsxfobj.c nsxfname.c psargs.c psfind.c psopcode.c psparse.c psscope.c +SRCS+= pstree.c psutils.c pswalk.c psxface.c rsaddr.c rscalc.c +SRCS+= rscreate.c rsdump.c rsio.c rsirq.c rslist.c rsmemory.c +SRCS+= rsmisc.c rsutils.c rsxface.c tbconvrt.c tbget.c tbinstal.c tbutils.c +SRCS+= tbxface.c tbxfroot.c acpi.c acpi_apic.c acpi_button.c +SRCS+= acpi_ec.c acpi_isa.c acpi_lid.c acpi_pcib.c acpi_processor.c +SRCS+= acpi_acad.c acpi_cmbat.c +SRCS+= acpi_resource.c acpi_thermal.c acpi_timer.c OsdDebug.c +SRCS+= OsdHardware.c OsdInterrupt.c OsdMemory.c OsdSchedule.c +SRCS+= OsdStream.c OsdSynch.c OsdEnvironment.c +SRCS+= opt_acpi.h opt_ddb.h +SRCS+= device_if.h bus_if.h pci_if.h pcib_if.h isa_if.h -CFLAGS += -I${.CURDIR}/../../contrib/dev/acpica/Subsystem/Include +CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica/Subsystem/Include -#CFLAGS+= -opt_acpi.h:Makefile +opt_acpi.h: Makefile touch opt_acpi.h -opt_ddb.h:Makefile + +opt_ddb.h: Makefile echo '#define DDB 1' >opt_ddb.h .include - diff --git a/sys/modules/agp/Makefile b/sys/modules/agp/Makefile index dcb415d5bb36..625d4d9d30ff 100644 --- a/sys/modules/agp/Makefile +++ b/sys/modules/agp/Makefile @@ -1,11 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = agp -SRCS = agp.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c -SRCS += agp_i810.c agp_if.c -SRCS += device_if.h bus_if.h agp_if.h pci_if.h -SRCS += opt_bdg.h opt_bus.h opt_pci.h -MFILES = kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m +.PATH: ${.CURDIR}/../../pci + +KMOD= agp +SRCS= agp.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c +SRCS+= agp_i810.c agp_if.c +SRCS+= device_if.h bus_if.h agp_if.h pci_if.h +SRCS+= opt_bdg.h opt_bus.h opt_pci.h +MFILES= kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m .include diff --git a/sys/modules/aha/Makefile b/sys/modules/aha/Makefile index a13352249b31..48b6b2ca4fa5 100644 --- a/sys/modules/aha/Makefile +++ b/sys/modules/aha/Makefile @@ -1,10 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aha -KMOD = aha -SRCS = aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h aha.h \ +.PATH: ${.CURDIR}/../../dev/aha + +KMOD= aha +SRCS= aha.c aha_isa.c ahareg.h opt_cam.h device_if.h bus_if.h aha.h \ opt_scsi.h isa_if.h -CLEANFILES = aha.h +CLEANFILES= aha.h aha.h: echo "#define NAHA 1" > aha.h diff --git a/sys/modules/aic/Makefile b/sys/modules/aic/Makefile index 56cfbb5b8b3f..e0fb1adcf1de 100644 --- a/sys/modules/aic/Makefile +++ b/sys/modules/aic/Makefile @@ -1,16 +1,17 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/aic -KMOD = aic -SRCS = aic.c aic_pccard.c -SRCS += opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h -SRCS += opt_cam.h opt_scsi.h +.PATH: ${.CURDIR}/../../dev/aic + +KMOD= aic +SRCS= aic.c aic_pccard.c +SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h +SRCS+= opt_cam.h opt_scsi.h .if ${MACHINE} == "pc98" -SRCS += aic_cbus.c -CFLAGS += -DPC98 +SRCS+= aic_cbus.c +CFLAGS+= -DPC98 .else -SRCS += aic_isa.c +SRCS+= aic_isa.c .endif .include diff --git a/sys/modules/amr/Makefile b/sys/modules/amr/Makefile index d2fd3885f2fd..b014d27343dc 100644 --- a/sys/modules/amr/Makefile +++ b/sys/modules/amr/Makefile @@ -1,17 +1,18 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/amr -KMOD = amr -SRCS = amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/amr + +KMOD= amr +SRCS= amr.c amr_pci.c amr_disk.c device_if.h bus_if.h pci_if.h # SCSI passthrough support for non-disk devices -#CFLAGS += -DAMR_SCSI_PASSTHROUGH -#SRCS += amr_cam.c opt_cam.h opt_scsi.h +#CFLAGS+= -DAMR_SCSI_PASSTHROUGH +#SRCS+= amr_cam.c opt_cam.h opt_scsi.h # Enable a questionable optimisation for newer adapters -#CFLAGS += -DAMR_QUARTZ_GOFASTER +#CFLAGS+= -DAMR_QUARTZ_GOFASTER # Debugging -#CFLAGS += -DAMR_DEBUG=3 +#CFLAGS+= -DAMR_DEBUG=3 .include diff --git a/sys/modules/an/Makefile b/sys/modules/an/Makefile index 7c18f5db3e2b..4c3f752147c8 100644 --- a/sys/modules/an/Makefile +++ b/sys/modules/an/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/an -KMOD = if_an -SRCS = if_an.c if_an_pccard.c if_an_pci.c if_an_isa.c -SRCS += opt_inet.h device_if.h bus_if.h pci_if.h isa_if.h +.PATH: ${.CURDIR}/../../dev/an + +KMOD= if_an +SRCS= if_an.c if_an_pccard.c if_an_pci.c if_an_isa.c +SRCS+= opt_inet.h device_if.h bus_if.h pci_if.h isa_if.h opt_inet.h: echo "#define INET 1" > opt_inet.h diff --git a/sys/modules/asr/Makefile b/sys/modules/asr/Makefile index ee0cd1c86a87..ca2b0983a0ff 100644 --- a/sys/modules/asr/Makefile +++ b/sys/modules/asr/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/asr -KMOD = asr -SRCS = asr.c -SRCS += opt_scsi.h opt_cam.h opt_asr.h -SRCS += device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/asr + +KMOD= asr +SRCS= asr.c +SRCS+= opt_scsi.h opt_cam.h opt_asr.h +SRCS+= device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/aue/Makefile b/sys/modules/aue/Makefile index 8eac7a8ff552..85ff78ffa192 100644 --- a/sys/modules/aue/Makefile +++ b/sys/modules/aue/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -S = ${.CURDIR}/../.. -.PATH: $S/dev/usb -KMOD = if_aue -SRCS = if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h -SRCS += miibus_if.h +S= ${.CURDIR}/../.. +.PATH: $S/dev/usb + +KMOD= if_aue +SRCS= if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/bktr/bktr/Makefile b/sys/modules/bktr/bktr/Makefile index 253e479d6839..8076f5af6adb 100644 --- a/sys/modules/bktr/bktr/Makefile +++ b/sys/modules/bktr/bktr/Makefile @@ -1,8 +1,9 @@ -# Makefile for the bktr Brooktree Bt848/Bt878 PCI video capture device - # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/bktr +# Makefile for the bktr Brooktree Bt848/Bt878 PCI video capture device + +.PATH: ${.CURDIR}/../../../dev/bktr + KMOD= bktr SRCS= bktr_core.c bktr_os.c bktr_audio.c bktr_tuner.c bktr_card.c \ bktr.h opt_devfs.h opt_bktr.h smbus.h bus_if.h device_if.h \ diff --git a/sys/modules/bktr/bktr_mem/Makefile b/sys/modules/bktr/bktr_mem/Makefile index 4d2bba314441..f62d9459be65 100644 --- a/sys/modules/bktr/bktr_mem/Makefile +++ b/sys/modules/bktr/bktr_mem/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -MAINTAINER = roger@freebsd.org +MAINTAINER= roger@freebsd.org + +.PATH: ${.CURDIR}/../../../dev/bktr -.PATH: ${.CURDIR}/../../../dev/bktr KMOD= bktr_mem SRCS= bktr_mem.c diff --git a/sys/modules/cam/Makefile b/sys/modules/cam/Makefile index 2075d398a755..ff90f8138240 100644 --- a/sys/modules/cam/Makefile +++ b/sys/modules/cam/Makefile @@ -1,33 +1,34 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org -S = ${.CURDIR}/../.. +MAINTAINER= n_hibma@freebsd.org +S= ${.CURDIR}/../.. -.PATH: $S/cam $S/cam/scsi -KMOD = cam +.PATH: $S/cam $S/cam/scsi + +KMOD= cam # See sys/conf/options for the flags that go into the different opt_*.h files. -SRCS = opt_cam.h -SRCS += opt_scsi.h -SRCS += opt_cd.h -SRCS += opt_hw_wdog.h -SRCS += opt_pt.h -SRCS += opt_sa.h -SRCS += opt_ses.h -SRCS += device_if.h bus_if.h -SRCS += cam.c cam_extend.c cam_periph.c cam_queue.c -SRCS += cam_sim.c cam_xpt.c -SRCS += scsi_all.c scsi_cd.c scsi_ch.c -SRCS += scsi_da.c -SRCS += scsi_pass.c -SRCS += scsi_pt.c -SRCS += scsi_sa.c -SRCS += scsi_ses.c -SRCS += scsi_targ_bh.c scsi_target.c +SRCS= opt_cam.h +SRCS+= opt_scsi.h +SRCS+= opt_cd.h +SRCS+= opt_hw_wdog.h +SRCS+= opt_pt.h +SRCS+= opt_sa.h +SRCS+= opt_ses.h +SRCS+= device_if.h bus_if.h +SRCS+= cam.c cam_extend.c cam_periph.c cam_queue.c +SRCS+= cam_sim.c cam_xpt.c +SRCS+= scsi_all.c scsi_cd.c scsi_ch.c +SRCS+= scsi_da.c +SRCS+= scsi_pass.c +SRCS+= scsi_pt.c +SRCS+= scsi_sa.c +SRCS+= scsi_ses.c +SRCS+= scsi_targ_bh.c scsi_target.c -NOMAN = +NOMAN= opt_scsi.h: - echo '#define SCSI_DELAY 15000' > opt_scsi.h + echo '#define SCSI_DELAY 15000' > opt_scsi.h .include diff --git a/sys/modules/cardbus/Makefile b/sys/modules/cardbus/Makefile index 3491ad4b6184..394367dc2180 100644 --- a/sys/modules/cardbus/Makefile +++ b/sys/modules/cardbus/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/cardbus +.PATH: ${.CURDIR}/../../dev/cardbus + KMOD= cardbus SRCS= cardbus.c cardbus_cis.c \ device_if.h bus_if.h card_if.h power_if.h pci_if.h pcib_if.h diff --git a/sys/modules/cbb/Makefile b/sys/modules/cbb/Makefile index a48b00231a6d..9530058b3d9d 100644 --- a/sys/modules/cbb/Makefile +++ b/sys/modules/cbb/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD= cbb -SRCS= pccbb.c \ +.PATH: ${.CURDIR}/../../pci + +KMOD= cbb +SRCS= pccbb.c \ device_if.h bus_if.h NOMAN= diff --git a/sys/modules/ccd/Makefile b/sys/modules/ccd/Makefile index 3235eae6e474..a4135a363211 100644 --- a/sys/modules/ccd/Makefile +++ b/sys/modules/ccd/Makefile @@ -1,11 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ccd -KMOD= ccd -SRCS= ccd.c ccd.h vnode_if.h +.PATH: ${.CURDIR}/../../dev/ccd + +KMOD= ccd +SRCS= ccd.c ccd.h vnode_if.h NOMAN= -NCCD?= 4 +NCCD?= 4 CLEANFILES= ccd.h ccd.h: diff --git a/sys/modules/cd9660/Makefile b/sys/modules/cd9660/Makefile index 8443e318d824..091ef785e531 100644 --- a/sys/modules/cd9660/Makefile +++ b/sys/modules/cd9660/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../isofs/cd9660 +.PATH: ${.CURDIR}/../../isofs/cd9660 + KMOD= cd9660 SRCS= vnode_if.h \ cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_rrip.c \ diff --git a/sys/modules/coda/Makefile b/sys/modules/coda/Makefile index 2c0e138ac3a9..d46dba216990 100644 --- a/sys/modules/coda/Makefile +++ b/sys/modules/coda/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../coda +.PATH: ${.CURDIR}/../../coda + KMOD= coda SRCS= vnode_if.h \ coda_fbsd.c coda_namecache.c coda_psdev.c coda_subr.c \ diff --git a/sys/modules/coff/Makefile b/sys/modules/coff/Makefile index 6eabe7819834..a1e9a81261d3 100644 --- a/sys/modules/coff/Makefile +++ b/sys/modules/coff/Makefile @@ -1,9 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/ibcs2 +.PATH: ${.CURDIR}/../../i386/ibcs2 + KMOD= ibcs2_coff SRCS= imgact_coff.c vnode_if.h NOMAN= + CFLAGS+= -DCOMPAT_IBCS2 .include diff --git a/sys/modules/cue/Makefile b/sys/modules/cue/Makefile index 449cce250bd8..78dbd5eb934b 100644 --- a/sys/modules/cue/Makefile +++ b/sys/modules/cue/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -S = ${.CURDIR}/../.. -.PATH: $S/dev/usb -KMOD = if_cue -SRCS = if_cue.c opt_bdg.h opt_usb.h device_if.h bus_if.h -SRCS += miibus_if.h +S= ${.CURDIR}/../.. +.PATH: $S/dev/usb + +KMOD= if_cue +SRCS= if_cue.c opt_bdg.h opt_usb.h device_if.h bus_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/dc/Makefile b/sys/modules/dc/Makefile index dfa84d278905..ac56533935fb 100644 --- a/sys/modules/dc/Makefile +++ b/sys/modules/dc/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_dc -SRCS = if_dc.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_dc +SRCS= if_dc.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/de/Makefile b/sys/modules/de/Makefile index 5e83ec9770d7..e8424b10f9e4 100644 --- a/sys/modules/de/Makefile +++ b/sys/modules/de/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_de -SRCS = if_de.c opt_bdg.h device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_de +SRCS= if_de.c opt_bdg.h device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/ed/Makefile b/sys/modules/ed/Makefile index b87438e31287..23dda90b4832 100644 --- a/sys/modules/ed/Makefile +++ b/sys/modules/ed/Makefile @@ -1,16 +1,17 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ed -KMOD = if_ed -SRCS = if_ed.c if_ed_pccard.c if_ed_pci.c +.PATH: ${.CURDIR}/../../dev/ed + +KMOD= if_ed +SRCS= if_ed.c if_ed_pccard.c if_ed_pci.c .if ${MACHINE} == "pc98" -SRCS += if_ed_cbus.c -CFLAGS += -DPC98 +SRCS+= if_ed_cbus.c +CFLAGS+= -DPC98 .else -SRCS += if_ed_isa.c +SRCS+= if_ed_isa.c .endif -SRCS += opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h +SRCS+= opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h .include diff --git a/sys/modules/el/Makefile b/sys/modules/el/Makefile index 17c4a420b54d..78394059226f 100644 --- a/sys/modules/el/Makefile +++ b/sys/modules/el/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/isa -KMOD = if_el -SRCS = if_el.c -SRCS += opt_bdg.h opt_inet.h opt_ipx.h device_if.h bus_if.h isa_if.h +.PATH: ${.CURDIR}/../../i386/isa + +KMOD= if_el +SRCS= if_el.c +SRCS+= opt_bdg.h opt_inet.h opt_ipx.h device_if.h bus_if.h isa_if.h .include diff --git a/sys/modules/ep/Makefile b/sys/modules/ep/Makefile index 94eb1a1ca57b..23edb129655f 100644 --- a/sys/modules/ep/Makefile +++ b/sys/modules/ep/Makefile @@ -1,15 +1,14 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ep -.PATH: ${.CURDIR}/../../i386/isa +.PATH: ${.CURDIR}/../../dev/ep +.PATH: ${.CURDIR}/../../i386/isa -KMOD = if_ep -SRCS = if_ep.c if_ep_pccard.c elink.c -SRCS += if_ep_isa.c -#SRCS += if_ep_eisa.c -#SRCS += if_ep_mca.c - -SRCS += opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h +KMOD= if_ep +SRCS= if_ep.c if_ep_pccard.c elink.c +SRCS+= if_ep_isa.c +#SRCS+= if_ep_eisa.c +#SRCS+= if_ep_mca.c +SRCS+= opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 diff --git a/sys/modules/fdesc/Makefile b/sys/modules/fdesc/Makefile index f728bf32932e..434451752335 100644 --- a/sys/modules/fdesc/Makefile +++ b/sys/modules/fdesc/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/fdesc +.PATH: ${.CURDIR}/../../miscfs/fdesc + KMOD= fdesc SRCS= vnode_if.h \ fdesc_vfsops.c fdesc_vnops.c diff --git a/sys/modules/fdescfs/Makefile b/sys/modules/fdescfs/Makefile index f728bf32932e..434451752335 100644 --- a/sys/modules/fdescfs/Makefile +++ b/sys/modules/fdescfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/fdesc +.PATH: ${.CURDIR}/../../miscfs/fdesc + KMOD= fdesc SRCS= vnode_if.h \ fdesc_vfsops.c fdesc_vnops.c diff --git a/sys/modules/fpu/Makefile b/sys/modules/fpu/Makefile index 66c2ad1ae02a..33b12cf430ae 100644 --- a/sys/modules/fpu/Makefile +++ b/sys/modules/fpu/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/i386 -KMOD= fpu -SRCS= math_emulate.c +.PATH: ${.CURDIR}/../../i386/i386 + +KMOD= fpu +SRCS= math_emulate.c NOMAN= .include diff --git a/sys/modules/fxp/Makefile b/sys/modules/fxp/Makefile index e59179d95422..cb2b4671eb62 100644 --- a/sys/modules/fxp/Makefile +++ b/sys/modules/fxp/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_fxp -SRCS = if_fxp.c opt_bdg.h device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_fxp +SRCS= if_fxp.c opt_bdg.h device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/gnufpu/Makefile b/sys/modules/gnufpu/Makefile index d7bfb676aa6f..84a801d76598 100644 --- a/sys/modules/gnufpu/Makefile +++ b/sys/modules/gnufpu/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../gnu/i386/fpemul -KMOD= gnufpu -SRCS= div_small.s errors.c fpu_arith.c fpu_aux.c fpu_entry.c fpu_etc.c \ +.PATH: ${.CURDIR}/../../gnu/i386/fpemul + +KMOD= gnufpu +SRCS= div_small.s errors.c fpu_arith.c fpu_aux.c fpu_entry.c fpu_etc.c \ fpu_trig.c get_address.c load_store.c poly_2xm1.c poly_atan.c \ poly_div.s poly_l2.c poly_mul64.s poly_sin.c poly_tan.c \ polynomial.s reg_add_sub.c reg_compare.c reg_constant.c reg_div.s \ diff --git a/sys/modules/hpfs/Makefile b/sys/modules/hpfs/Makefile index 9e10cd22cd98..41f9f2b1abeb 100644 --- a/sys/modules/hpfs/Makefile +++ b/sys/modules/hpfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../fs/hpfs +.PATH: ${.CURDIR}/../../fs/hpfs + KMOD= hpfs SRCS= vnode_if.h \ hpfs_vfsops.c hpfs_vnops.c hpfs_hash.c hpfs_subr.c hpfs_lookup.c \ diff --git a/sys/modules/ibcs2/Makefile b/sys/modules/ibcs2/Makefile index f433a38b901c..e7ad32b8e610 100644 --- a/sys/modules/ibcs2/Makefile +++ b/sys/modules/ibcs2/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/ibcs2 +.PATH: ${.CURDIR}/../../i386/ibcs2 + KMOD= ibcs2 SRCS= ibcs2_errno.c ibcs2_ipc.c ibcs2_stat.c ibcs2_misc.c \ ibcs2_fcntl.c ibcs2_signal.c ibcs2_sysent.c ibcs2_ioctl.c \ diff --git a/sys/modules/if_disc/Makefile b/sys/modules/if_disc/Makefile index cbb04d8e412a..a284e7fd8683 100644 --- a/sys/modules/if_disc/Makefile +++ b/sys/modules/if_disc/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${.CURDIR}/../../net + KMOD= if_disc SRCS= if_disc.c opt_inet.h opt_inet6.h NOMAN= diff --git a/sys/modules/if_ef/Makefile b/sys/modules/if_ef/Makefile index f3996edb420e..7ea9351fdc03 100644 --- a/sys/modules/if_ef/Makefile +++ b/sys/modules/if_ef/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${.CURDIR}/../../net -KMOD= if_ef -SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h +KMOD= if_ef +SRCS= if_ef.c opt_ipx.h opt_inet.h opt_ef.h NOMAN= # If you need only limited number of frames comment out unneeded ones diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile index 388422686980..2becf7ed23a3 100644 --- a/sys/modules/if_ppp/Makefile +++ b/sys/modules/if_ppp/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../net + KMOD= if_ppp SRCS= if_ppp.c ppp_tty.c slcompress.c \ opt_inet.h opt_ipx.h opt_ppp.h ppp.h vnode_if.h diff --git a/sys/modules/if_sl/Makefile b/sys/modules/if_sl/Makefile index ddd71ddf1785..4bf75207b31f 100644 --- a/sys/modules/if_sl/Makefile +++ b/sys/modules/if_sl/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${.CURDIR}/../../net + KMOD= if_sl SRCS= if_sl.c slcompress.c opt_inet.h opt_slip.h NOMAN= diff --git a/sys/modules/if_tap/Makefile b/sys/modules/if_tap/Makefile index 8bc375897488..29e0a903053d 100644 --- a/sys/modules/if_tap/Makefile +++ b/sys/modules/if_tap/Makefile @@ -2,9 +2,10 @@ # # $FreeBSD$ -.PATH: ${.CURDIR}/../../net -KMOD= if_tap -SRCS= if_tap.c opt_inet.h vnode_if.h +.PATH: ${.CURDIR}/../../net + +KMOD= if_tap +SRCS= if_tap.c opt_inet.h vnode_if.h CLEANFILES+= opt_devfs.h opt_inet.h vnode_if.h diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile index baa44202ab1f..1b6e3b390c71 100644 --- a/sys/modules/if_tun/Makefile +++ b/sys/modules/if_tun/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net +.PATH: ${.CURDIR}/../../net + KMOD= if_tun SRCS= if_tun.c opt_inet.h vnode_if.h NOMAN= diff --git a/sys/modules/ip6fw/Makefile b/sys/modules/ip6fw/Makefile index 64fa17ea7f9d..ca39dc91c9bd 100644 --- a/sys/modules/ip6fw/Makefile +++ b/sys/modules/ip6fw/Makefile @@ -1,17 +1,18 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet6 +.PATH: ${.CURDIR}/../../netinet6 + KMOD= ip6fw SRCS= ip6_fw.c NOMAN= + CFLAGS+= -DIPV6FIREWALL -# + #If you want it verbose #CFLAGS+= -DIPV6FIREWALL_VERBOSE #CFLAGS+= -DIPV6FIREWALL_VERBOSE_LIMIT=100 # #If you want it to pass all packets by default #CFLAGS+= -DIPV6FIREWALL_DEFAULT_TO_ACCEPT -# .include diff --git a/sys/modules/ip_mroute_mod/Makefile b/sys/modules/ip_mroute_mod/Makefile index 39412bcd95a6..cbe04ab4520a 100644 --- a/sys/modules/ip_mroute_mod/Makefile +++ b/sys/modules/ip_mroute_mod/Makefile @@ -1,9 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${.CURDIR}/../../netinet + KMOD= ip_mroute SRCS= ip_mroute.c NOMAN= + CFLAGS+= -DMROUTE_LKM -DMROUTING .include diff --git a/sys/modules/ipfilter/Makefile b/sys/modules/ipfilter/Makefile index e2c038d41164..fd6d8b4843d0 100644 --- a/sys/modules/ipfilter/Makefile +++ b/sys/modules/ipfilter/Makefile @@ -1,10 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${.CURDIR}/../../netinet + KMOD= ipl SRCS= mlfk_ipl.c ip_nat.c ip_frag.c ip_state.c ip_proxy.c ip_auth.c \ ip_log.c ip_fil.c fil.c NOMAN= + CFLAGS+= -DIPFILTER=1 -DIPFILTER_LKM -DIPFILTER_LOG # # If you don't want log functionality remove -DIPFILTER_LOG diff --git a/sys/modules/ipfw/Makefile b/sys/modules/ipfw/Makefile index 963349f86576..6ac704d322f3 100644 --- a/sys/modules/ipfw/Makefile +++ b/sys/modules/ipfw/Makefile @@ -1,9 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../netinet +.PATH: ${.CURDIR}/../../netinet + KMOD= ipfw SRCS= ip_fw.c NOMAN= + CFLAGS+= -DIPFIREWALL # #If you want it verbose diff --git a/sys/modules/ispfw/Makefile b/sys/modules/ispfw/Makefile index a6a4e8865631..07b9f8b27b86 100644 --- a/sys/modules/ispfw/Makefile +++ b/sys/modules/ispfw/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ispfw -KMOD = ispfw -SRCS = ispfw.c +.PATH: ${.CURDIR}/../../dev/ispfw + +KMOD= ispfw +SRCS= ispfw.c .include diff --git a/sys/modules/joy/Makefile b/sys/modules/joy/Makefile index 7c7eefb0a71f..ff81783cdf39 100644 --- a/sys/modules/joy/Makefile +++ b/sys/modules/joy/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../isa -KMOD = joy -SRCS = bus_if.h device_if.h isa_if.h joy.c +.PATH: ${.CURDIR}/../../isa + +KMOD= joy +SRCS= bus_if.h device_if.h isa_if.h joy.c .include diff --git a/sys/modules/kue/Makefile b/sys/modules/kue/Makefile index 573a4316337f..42c891013574 100644 --- a/sys/modules/kue/Makefile +++ b/sys/modules/kue/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -S = ${.CURDIR}/../.. -.PATH: $S/dev/usb -KMOD = if_kue -SRCS = if_kue.c opt_bdg.h opt_usb.h device_if.h bus_if.h -SRCS += miibus_if.h +S= ${.CURDIR}/../.. +.PATH: $S/dev/usb + +KMOD= if_kue +SRCS= if_kue.c opt_bdg.h opt_usb.h device_if.h bus_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/linprocfs/Makefile b/sys/modules/linprocfs/Makefile index e69f3ceb3b35..c114953202b4 100644 --- a/sys/modules/linprocfs/Makefile +++ b/sys/modules/linprocfs/Makefile @@ -1,11 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linprocfs +.PATH: ${.CURDIR}/../../compat/linprocfs + KMOD= linprocfs SRCS= vnode_if.h linprocfs_misc.c linprocfs_subr.c \ - linprocfs_vfsops.c linprocfs_vnops.c + linprocfs_vfsops.c linprocfs_vnops.c NOMAN= VFS_KLD= + CFLAGS+= -DLINPROCFS test: unload install load diff --git a/sys/modules/linux/Makefile b/sys/modules/linux/Makefile index ff58b39bf434..8ba2ffa9f9da 100644 --- a/sys/modules/linux/Makefile +++ b/sys/modules/linux/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_ARCH}/linux - MAINTAINER= marcel@FreeBSD.org +.PATH: ${.CURDIR}/../../compat/linux ${.CURDIR}/../../${MACHINE_ARCH}/linux + KMOD= linux SRCS= linux_file.c linux_ioctl.c linux_ipc.c linux_machdep.c linux_misc.c \ linux_signal.c linux_socket.c linux_stats.c linux_mib.c \ @@ -12,23 +12,23 @@ SRCS= linux_file.c linux_ioctl.c linux_ipc.c linux_machdep.c linux_misc.c \ OBJS= linux_locore.o .if ${MACHINE_ARCH} != "alpha" -SRCS+= imgact_linux.c +SRCS+= imgact_linux.c .endif -EXPORT_SYMS=_linux_mod -CLEANFILES= linux_assym.h linux_genassym.o +EXPORT_SYMS= _linux_mod +CLEANFILES= linux_assym.h linux_genassym.o -linux_assym.h: linux_genassym.o +linux_assym.h: linux_genassym.o .if exists(@) -linux_assym.h: @/kern/genassym.sh +linux_assym.h: @/kern/genassym.sh .endif sh @/kern/genassym.sh linux_genassym.o > ${.TARGET} -linux_locore.o: linux_locore.s linux_assym.h +linux_locore.o: linux_locore.s linux_assym.h ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ - ${.IMPSRC} -o ${.TARGET} + ${.IMPSRC} -o ${.TARGET} -linux_genassym.o: linux_genassym.c linux.h @ machine +linux_genassym.o: linux_genassym.c linux.h @ machine ${CC} -c ${CFLAGS} ${.IMPSRC} opt_compat.h: diff --git a/sys/modules/lnc/Makefile b/sys/modules/lnc/Makefile index 44d80c1ede7d..fa2fecea20a9 100644 --- a/sys/modules/lnc/Makefile +++ b/sys/modules/lnc/Makefile @@ -1,11 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/lnc -KMOD = if_lnc -SRCS = if_lnc.c if_lnc_pci.c if_lnc_isa.c if_lnc_pc98.c -SRCS += opt_inet.h device_if.h bus_if.h isa_if.h pci_if.h -#SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../dev/lnc + +KMOD= if_lnc +SRCS= if_lnc.c if_lnc_pci.c if_lnc_isa.c if_lnc_pc98.c +SRCS+= opt_inet.h device_if.h bus_if.h isa_if.h pci_if.h +#SRCS+= miibus_if.h #KMODDEPS = miibus -CFLAGS += -g -I${.CURDIR}/../../dev/lnc + +CFLAGS+= -g -I${.CURDIR}/../../dev/lnc .include diff --git a/sys/modules/md/Makefile b/sys/modules/md/Makefile index bb793c511724..3f2130f28522 100644 --- a/sys/modules/md/Makefile +++ b/sys/modules/md/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/md +.PATH: ${.CURDIR}/../../dev/md + KMOD= md SRCS= md.c opt_mfs.h opt_md.h vnode_if.h NOMAN= diff --git a/sys/modules/mfs/Makefile b/sys/modules/mfs/Makefile index 7f2a0d472549..94148d0e8260 100644 --- a/sys/modules/mfs/Makefile +++ b/sys/modules/mfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ufs/mfs +.PATH: ${.CURDIR}/../../ufs/mfs + KMOD= mfs SRCS= vnode_if.h \ mfs_vfsops.c mfs_vnops.c opt_mfs.h diff --git a/sys/modules/mii/Makefile b/sys/modules/mii/Makefile index 82a3225cd6d3..f4dfc79cc92e 100644 --- a/sys/modules/mii/Makefile +++ b/sys/modules/mii/Makefile @@ -1,10 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mii -KMOD = miibus -SRCS = mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h pci_if.h -SRCS += miibus_if.h device_if.h miibus_if.c exphy.c nsphy.c -SRCS += mlphy.c tlphy.c rlphy.c amphy.c dcphy.c pnphy.c -SRCS += brgphy.c xmphy.c pnaphy.c +.PATH: ${.CURDIR}/../../dev/mii + +KMOD= miibus +SRCS= mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h pci_if.h +SRCS+= miibus_if.h device_if.h miibus_if.c exphy.c nsphy.c +SRCS+= mlphy.c tlphy.c rlphy.c amphy.c dcphy.c pnphy.c +SRCS+= brgphy.c xmphy.c pnaphy.c .include diff --git a/sys/modules/mlx/Makefile b/sys/modules/mlx/Makefile index aaae0f67cdf8..ba0951ac4e67 100644 --- a/sys/modules/mlx/Makefile +++ b/sys/modules/mlx/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mlx -KMOD = mlx -SRCS = mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/mlx + +KMOD= mlx +SRCS= mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/mly/Makefile b/sys/modules/mly/Makefile index 1f8abe828496..6bb1f4fe45a1 100644 --- a/sys/modules/mly/Makefile +++ b/sys/modules/mly/Makefile @@ -1,10 +1,11 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/mly -KMOD = mly -SRCS = mly.c mly_pci.c mly_cam.c -SRCS += opt_scsi.h opt_cam.h -SRCS += device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/mly + +KMOD= mly +SRCS= mly.c mly_pci.c mly_cam.c +SRCS+= opt_scsi.h opt_cam.h +SRCS+= device_if.h bus_if.h pci_if.h #CFLAGS+= -DMLY_DEBUG=1 diff --git a/sys/modules/msdos/Makefile b/sys/modules/msdos/Makefile index aac0da561ff2..fb3b2f858d93 100644 --- a/sys/modules/msdos/Makefile +++ b/sys/modules/msdos/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../msdosfs +.PATH: ${.CURDIR}/../../msdosfs + KMOD= msdos SRCS= vnode_if.h \ msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c \ diff --git a/sys/modules/msdosfs/Makefile b/sys/modules/msdosfs/Makefile index aac0da561ff2..fb3b2f858d93 100644 --- a/sys/modules/msdosfs/Makefile +++ b/sys/modules/msdosfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../msdosfs +.PATH: ${.CURDIR}/../../msdosfs + KMOD= msdos SRCS= vnode_if.h \ msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_lookup.c \ diff --git a/sys/modules/ncp/Makefile b/sys/modules/ncp/Makefile index f68602f4f7fc..7c84e7feb83c 100644 --- a/sys/modules/ncp/Makefile +++ b/sys/modules/ncp/Makefile @@ -1,6 +1,6 @@ -# $FreeBSD$ +# $FreeBSD$ -.PATH: ${.CURDIR}/../../netncp +.PATH: ${.CURDIR}/../../netncp KMOD= ncp diff --git a/sys/modules/netgraph/UI/Makefile b/sys/modules/netgraph/UI/Makefile index ed7e0c8327c8..49eb908413b8 100644 --- a/sys/modules/netgraph/UI/Makefile +++ b/sys/modules/netgraph/UI/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:20 archie Exp $ -KMOD= ng_UI -SRCS= ng_UI.c +KMOD= ng_UI +SRCS= ng_UI.c NOMAN= .include diff --git a/sys/modules/netgraph/async/Makefile b/sys/modules/netgraph/async/Makefile index 9a64184a2bc4..cb0e01c89730 100644 --- a/sys/modules/netgraph/async/Makefile +++ b/sys/modules/netgraph/async/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:20 archie Exp $ -KMOD= ng_async -SRCS= ng_async.c +KMOD= ng_async +SRCS= ng_async.c NOMAN= .include diff --git a/sys/modules/netgraph/bpf/Makefile b/sys/modules/netgraph/bpf/Makefile index e4538336a510..40d25fed4fee 100644 --- a/sys/modules/netgraph/bpf/Makefile +++ b/sys/modules/netgraph/bpf/Makefile @@ -1,10 +1,10 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/12/03 01:44:28 archie Exp $ -KMOD= ng_bpf -SRCS= ng_bpf.c bpf_filter.c +.PATH: ${.CURDIR}/../../../net + +KMOD= ng_bpf +SRCS= ng_bpf.c bpf_filter.c NOMAN= -.PATH: ${.CURDIR}/../../../net - .include diff --git a/sys/modules/netgraph/bridge/Makefile b/sys/modules/netgraph/bridge/Makefile index 5afd54163f5c..91f4df947124 100644 --- a/sys/modules/netgraph/bridge/Makefile +++ b/sys/modules/netgraph/bridge/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -KMOD= ng_bridge -SRCS= ng_bridge.c +KMOD= ng_bridge +SRCS= ng_bridge.c NOMAN= .include diff --git a/sys/modules/netgraph/cisco/Makefile b/sys/modules/netgraph/cisco/Makefile index ed813348af93..fdadaf30511b 100644 --- a/sys/modules/netgraph/cisco/Makefile +++ b/sys/modules/netgraph/cisco/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:20 archie Exp $ -KMOD= ng_cisco -SRCS= ng_cisco.c +KMOD= ng_cisco +SRCS= ng_cisco.c NOMAN= .include diff --git a/sys/modules/netgraph/echo/Makefile b/sys/modules/netgraph/echo/Makefile index 8cf704262802..1fa83ac5e939 100644 --- a/sys/modules/netgraph/echo/Makefile +++ b/sys/modules/netgraph/echo/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:20 archie Exp $ -KMOD= ng_echo -SRCS= ng_echo.c +KMOD= ng_echo +SRCS= ng_echo.c NOMAN= .include diff --git a/sys/modules/netgraph/ether/Makefile b/sys/modules/netgraph/ether/Makefile index b02bc0c47995..7a3950edae75 100644 --- a/sys/modules/netgraph/ether/Makefile +++ b/sys/modules/netgraph/ether/Makefile @@ -1,6 +1,6 @@ # $FreeBSD$ -KMOD= ng_ether -SRCS= ng_ether.c +KMOD= ng_ether +SRCS= ng_ether.c .include diff --git a/sys/modules/netgraph/frame_relay/Makefile b/sys/modules/netgraph/frame_relay/Makefile index 65a297cd66f8..d662fe17d03d 100644 --- a/sys/modules/netgraph/frame_relay/Makefile +++ b/sys/modules/netgraph/frame_relay/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/01/19 19:39:21 archie Exp $ -KMOD= ng_frame_relay -SRCS= ng_frame_relay.c +KMOD= ng_frame_relay +SRCS= ng_frame_relay.c NOMAN= .include diff --git a/sys/modules/netgraph/hole/Makefile b/sys/modules/netgraph/hole/Makefile index 881357d1732b..f95f1f1dd13e 100644 --- a/sys/modules/netgraph/hole/Makefile +++ b/sys/modules/netgraph/hole/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $ -KMOD= ng_hole -SRCS= ng_hole.c +KMOD= ng_hole +SRCS= ng_hole.c NOMAN= .include diff --git a/sys/modules/netgraph/iface/Makefile b/sys/modules/netgraph/iface/Makefile index a37c6cc88aed..ec2d9116939e 100644 --- a/sys/modules/netgraph/iface/Makefile +++ b/sys/modules/netgraph/iface/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:21 archie Exp $ -KMOD= ng_iface -SRCS= ng_iface.c +KMOD= ng_iface +SRCS= ng_iface.c NOMAN= .include diff --git a/sys/modules/netgraph/ksocket/Makefile b/sys/modules/netgraph/ksocket/Makefile index 79bf5398a327..582b353c32f4 100644 --- a/sys/modules/netgraph/ksocket/Makefile +++ b/sys/modules/netgraph/ksocket/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -KMOD= ng_ksocket -SRCS= ng_ksocket.c +KMOD= ng_ksocket +SRCS= ng_ksocket.c NOMAN= .include diff --git a/sys/modules/netgraph/lmi/Makefile b/sys/modules/netgraph/lmi/Makefile index bee2ebbd87fb..97ce92948b84 100644 --- a/sys/modules/netgraph/lmi/Makefile +++ b/sys/modules/netgraph/lmi/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/01/19 19:39:21 archie Exp $ -KMOD= ng_lmi -SRCS= ng_lmi.c +KMOD= ng_lmi +SRCS= ng_lmi.c NOMAN= .include diff --git a/sys/modules/netgraph/mppc/Makefile b/sys/modules/netgraph/mppc/Makefile index ebd2f821165a..84086d51749b 100644 --- a/sys/modules/netgraph/mppc/Makefile +++ b/sys/modules/netgraph/mppc/Makefile @@ -1,8 +1,8 @@ # $Whistle: Makefile,v 1.1 1999/12/08 20:20:39 archie Exp $ # $FreeBSD$ -KMOD= ng_mppc -SRCS= ng_mppc.c opt_netgraph.h +KMOD= ng_mppc +SRCS= ng_mppc.c opt_netgraph.h NOMAN= NETGRAPH_MPPC_COMPRESSION?= 0 @@ -10,14 +10,14 @@ NETGRAPH_MPPC_ENCRYPTION?= 1 .if ${NETGRAPH_MPPC_COMPRESSION} > 0 # XXX These files don't exist yet, but hopefully someday they will... -.PATH: ${.CURDIR}/../../../net -SRCS+= mppcc.c mppcd.c +.PATH: ${.CURDIR}/../../../net +SRCS+= mppcc.c mppcd.c .endif .if ${NETGRAPH_MPPC_ENCRYPTION} > 0 -.PATH: ${.CURDIR}/../../../crypto -.PATH: ${.CURDIR}/../../../crypto/rc4 -SRCS+= rc4.c sha1.c +.PATH: ${.CURDIR}/../../../crypto +.PATH: ${.CURDIR}/../../../crypto/rc4 +SRCS+= rc4.c sha1.c .endif opt_netgraph.h: diff --git a/sys/modules/netgraph/netgraph/Makefile b/sys/modules/netgraph/netgraph/Makefile index c7056b2c4bd5..765155d423e4 100644 --- a/sys/modules/netgraph/netgraph/Makefile +++ b/sys/modules/netgraph/netgraph/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:22 archie Exp $ -KMOD= netgraph -SRCS= ng_base.c ng_parse.c +KMOD= netgraph +SRCS= ng_base.c ng_parse.c NOMAN= .include diff --git a/sys/modules/netgraph/one2many/Makefile b/sys/modules/netgraph/one2many/Makefile index a49cfc7e282b..fb7a64398b6d 100644 --- a/sys/modules/netgraph/one2many/Makefile +++ b/sys/modules/netgraph/one2many/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ -KMOD= ng_one2many -SRCS= ng_one2many.c +KMOD= ng_one2many +SRCS= ng_one2many.c NOMAN= .include diff --git a/sys/modules/netgraph/ppp/Makefile b/sys/modules/netgraph/ppp/Makefile index 4e885835a672..f7633416ecc9 100644 --- a/sys/modules/netgraph/ppp/Makefile +++ b/sys/modules/netgraph/ppp/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/01/24 02:52:12 archie Exp $ -KMOD= ng_ppp -SRCS= ng_ppp.c +KMOD= ng_ppp +SRCS= ng_ppp.c NOMAN= .include diff --git a/sys/modules/netgraph/pppoe/Makefile b/sys/modules/netgraph/pppoe/Makefile index 71b1c2357d86..df5c7f010707 100644 --- a/sys/modules/netgraph/pppoe/Makefile +++ b/sys/modules/netgraph/pppoe/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/01/19 19:39:21 archie Exp $ -KMOD= ng_pppoe -SRCS= ng_pppoe.c +KMOD= ng_pppoe +SRCS= ng_pppoe.c NOMAN= .include diff --git a/sys/modules/netgraph/pptpgre/Makefile b/sys/modules/netgraph/pptpgre/Makefile index 201425574069..391b3f8be62a 100644 --- a/sys/modules/netgraph/pptpgre/Makefile +++ b/sys/modules/netgraph/pptpgre/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/11/29 23:14:33 archie Exp $ -KMOD= ng_pptpgre -SRCS= ng_pptpgre.c +KMOD= ng_pptpgre +SRCS= ng_pptpgre.c NOMAN= .include diff --git a/sys/modules/netgraph/rfc1490/Makefile b/sys/modules/netgraph/rfc1490/Makefile index 9e6413a6ebad..325ce6cf060e 100644 --- a/sys/modules/netgraph/rfc1490/Makefile +++ b/sys/modules/netgraph/rfc1490/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:22 archie Exp $ -KMOD= ng_rfc1490 -SRCS= ng_rfc1490.c +KMOD= ng_rfc1490 +SRCS= ng_rfc1490.c NOMAN= .include diff --git a/sys/modules/netgraph/socket/Makefile b/sys/modules/netgraph/socket/Makefile index 78a736e4a8de..53fe8e9c3ed4 100644 --- a/sys/modules/netgraph/socket/Makefile +++ b/sys/modules/netgraph/socket/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:22 archie Exp $ -KMOD= ng_socket -SRCS= ng_socket.c +KMOD= ng_socket +SRCS= ng_socket.c NOMAN= .include diff --git a/sys/modules/netgraph/tee/Makefile b/sys/modules/netgraph/tee/Makefile index 6506252da24f..df8fa2226664 100644 --- a/sys/modules/netgraph/tee/Makefile +++ b/sys/modules/netgraph/tee/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:22 archie Exp $ -KMOD= ng_tee -SRCS= ng_tee.c +KMOD= ng_tee +SRCS= ng_tee.c NOMAN= .include diff --git a/sys/modules/netgraph/tty/Makefile b/sys/modules/netgraph/tty/Makefile index 7052f5275087..01e4d048cc26 100644 --- a/sys/modules/netgraph/tty/Makefile +++ b/sys/modules/netgraph/tty/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.2 1999/01/19 19:39:22 archie Exp $ -KMOD= ng_tty -SRCS= ng_tty.c device_if.h bus_if.h pci_if.h -MFILES= kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m +KMOD= ng_tty +SRCS= ng_tty.c device_if.h bus_if.h pci_if.h +MFILES= kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m NOMAN= .include diff --git a/sys/modules/netgraph/vjc/Makefile b/sys/modules/netgraph/vjc/Makefile index 7cf62f7f88be..e17fda8cbac0 100644 --- a/sys/modules/netgraph/vjc/Makefile +++ b/sys/modules/netgraph/vjc/Makefile @@ -1,10 +1,10 @@ # $FreeBSD$ # $Whistle: Makefile,v 1.1 1999/01/24 06:48:07 archie Exp $ -KMOD= ng_vjc -SRCS= ng_vjc.c slcompress.c +.PATH: ${.CURDIR}/../../../net + +KMOD= ng_vjc +SRCS= ng_vjc.c slcompress.c NOMAN= -.PATH: ${.CURDIR}/../../../net - .include diff --git a/sys/modules/nfs/Makefile b/sys/modules/nfs/Makefile index 34d4006a038f..2582f9cf35e6 100644 --- a/sys/modules/nfs/Makefile +++ b/sys/modules/nfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../nfs + KMOD= nfs SRCS= vnode_if.h \ nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \ diff --git a/sys/modules/nfsclient/Makefile b/sys/modules/nfsclient/Makefile index 34d4006a038f..2582f9cf35e6 100644 --- a/sys/modules/nfsclient/Makefile +++ b/sys/modules/nfsclient/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../nfs + KMOD= nfs SRCS= vnode_if.h \ nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \ diff --git a/sys/modules/nfsserver/Makefile b/sys/modules/nfsserver/Makefile index 34d4006a038f..2582f9cf35e6 100644 --- a/sys/modules/nfsserver/Makefile +++ b/sys/modules/nfsserver/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../nfs + KMOD= nfs SRCS= vnode_if.h \ nfs_bio.c nfs_node.c nfs_nqlease.c nfs_serv.c nfs_socket.c \ diff --git a/sys/modules/ntfs/Makefile b/sys/modules/ntfs/Makefile index d13373b7e29d..8f663e20ce8b 100644 --- a/sys/modules/ntfs/Makefile +++ b/sys/modules/ntfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../ntfs +.PATH: ${.CURDIR}/../../ntfs + KMOD= ntfs SRCS= vnode_if.h \ ntfs_vfsops.c ntfs_vnops.c ntfs_subr.c ntfs_ihash.c \ diff --git a/sys/modules/nullfs/Makefile b/sys/modules/nullfs/Makefile index 57860663d3e2..3df3d26e07b5 100644 --- a/sys/modules/nullfs/Makefile +++ b/sys/modules/nullfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/nullfs +.PATH: ${.CURDIR}/../../miscfs/nullfs + KMOD= nullfs SRCS= vnode_if.h \ null_subr.c null_vfsops.c null_vnops.c diff --git a/sys/modules/nwfs/Makefile b/sys/modules/nwfs/Makefile index 0046e143fb36..bc0e328fcd0c 100644 --- a/sys/modules/nwfs/Makefile +++ b/sys/modules/nwfs/Makefile @@ -1,6 +1,6 @@ -# $FreeBSD$ +# $FreeBSD$ -.PATH: ${.CURDIR}/../../nwfs +.PATH: ${.CURDIR}/../../nwfs KMOD= nwfs @@ -8,7 +8,7 @@ SRCS= vnode_if.h \ nwfs_node.c nwfs_ioctl.c nwfs_io.c nwfs_vfsops.c nwfs_vnops.c \ nwfs_subr.c opt_ncp.h opt_nwfs.h opt_vmpage.h -NOMAN=true +NOMAN= true .if defined(VNPRINT) CFLAGS+= -DVNPRINT diff --git a/sys/modules/oldcard/Makefile b/sys/modules/oldcard/Makefile index 8f19d2202fe1..28ec015aa2c9 100644 --- a/sys/modules/oldcard/Makefile +++ b/sys/modules/oldcard/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pccard ${.CURDIR}/../../pci -KMOD= oldcard -SRCS= pccard.c pcic.c pccard_beep.c pccard_nbk.c pcic_p.c \ +.PATH: ${.CURDIR}/../../pccard ${.CURDIR}/../../pci + +KMOD= oldcard +SRCS= pccard.c pcic.c pccard_beep.c pccard_nbk.c pcic_p.c \ opt_pcic.h device_if.h bus_if.h isa_if.h pci_if.h \ power_if.h card_if.h power_if.c card_if.c NOMAN= diff --git a/sys/modules/pccard/Makefile b/sys/modules/pccard/Makefile index 49d4b48ae58d..1966e272051a 100644 --- a/sys/modules/pccard/Makefile +++ b/sys/modules/pccard/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pccard -KMOD= pccard -SRCS= pccard.c pccard_cis.c pccard_cis_quirks.c \ +.PATH: ${.CURDIR}/../../dev/pccard + +KMOD= pccard +SRCS= pccard.c pccard_cis.c pccard_cis_quirks.c \ device_if.h bus_if.h card_if.h power_if.h NOMAN= diff --git a/sys/modules/pccbb/Makefile b/sys/modules/pccbb/Makefile index 7d0218ca4130..214f5a826fff 100644 --- a/sys/modules/pccbb/Makefile +++ b/sys/modules/pccbb/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pccbb +.PATH: ${.CURDIR}/../../dev/pccbb + KMOD= pccbb SRCS= pccbb.c \ device_if.h bus_if.h power_if.h card_if.h pci_if.h pcib_if.h diff --git a/sys/modules/pcfclock/Makefile b/sys/modules/pcfclock/Makefile index 6d37afe47f46..107a0674ba21 100644 --- a/sys/modules/pcfclock/Makefile +++ b/sys/modules/pcfclock/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../dev/ppbus + KMOD= pcfclock SRCS= pcfclock.c opt_pcfclock.h SRCS+= bus_if.h device_if.h ppbus_if.h diff --git a/sys/modules/pcic/Makefile b/sys/modules/pcic/Makefile index 4202d044fcc6..fc8a97a50968 100644 --- a/sys/modules/pcic/Makefile +++ b/sys/modules/pcic/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/pcic ${.CURDIR}/../../dev/pccard -KMOD= pcic -SRCS= i82365.c i82365_isa.c device_if.h bus_if.h isa_if.h \ +.PATH: ${.CURDIR}/../../dev/pcic ${.CURDIR}/../../dev/pccard + +KMOD= pcic +SRCS= i82365.c i82365_isa.c device_if.h bus_if.h isa_if.h \ power_if.h card_if.h power_if.c card_if.c NOMAN= diff --git a/sys/modules/pcn/Makefile b/sys/modules/pcn/Makefile index 0ef6fae5f412..637692eb6ee9 100644 --- a/sys/modules/pcn/Makefile +++ b/sys/modules/pcn/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_pcn -SRCS = if_pcn.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_pcn +SRCS= if_pcn.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/pecoff/Makefile b/sys/modules/pecoff/Makefile index 0232d982dd9b..c109c6b5177c 100644 --- a/sys/modules/pecoff/Makefile +++ b/sys/modules/pecoff/Makefile @@ -1,16 +1,16 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../compat/pecoff - MAINTAINER= takawata@FreeBSD.org +.PATH: ${.CURDIR}/../../compat/pecoff + KMOD= pecoff SRCS= imgact_pecoff.c opt_pecoff.h vnode_if.h - -CFLAGS+= -g -DDEBUG +CFLAGS+= -g -DDEBUG #EXPORT_SYMS=_pecoff_mod -opt_pecoff.h:Makefile +opt_pecoff.h: Makefile touch opt_pecoff.h + .include diff --git a/sys/modules/portal/Makefile b/sys/modules/portal/Makefile index 5cc476778021..a14a8fa9215b 100644 --- a/sys/modules/portal/Makefile +++ b/sys/modules/portal/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/portal +.PATH: ${.CURDIR}/../../miscfs/portal + KMOD= portal SRCS= vnode_if.h \ portal_vfsops.c portal_vnops.c diff --git a/sys/modules/portalfs/Makefile b/sys/modules/portalfs/Makefile index 5cc476778021..a14a8fa9215b 100644 --- a/sys/modules/portalfs/Makefile +++ b/sys/modules/portalfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/portal +.PATH: ${.CURDIR}/../../miscfs/portal + KMOD= portal SRCS= vnode_if.h \ portal_vfsops.c portal_vnops.c diff --git a/sys/modules/procfs/Makefile b/sys/modules/procfs/Makefile index 902aa6653a44..d132b0d9eedb 100644 --- a/sys/modules/procfs/Makefile +++ b/sys/modules/procfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/procfs +.PATH: ${.CURDIR}/../../miscfs/procfs + KMOD= procfs SRCS= vnode_if.h \ procfs_ctl.c \ diff --git a/sys/modules/random/Makefile b/sys/modules/random/Makefile index 84021c82dc67..8c4676474297 100644 --- a/sys/modules/random/Makefile +++ b/sys/modules/random/Makefile @@ -1,13 +1,15 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/random -.PATH: ${.CURDIR}/../../crypto/blowfish -KMOD = random -SRCS = bus_if.h device_if.h randomdev.c yarrow.c hash.c -SRCS += bf_cbc.c bf_skey.c bf_enc.c -SRCS += vnode_if.h opt_noblockrandom.h -CFLAGS += -I${.CURDIR}/../.. -NOMAN = yes +.PATH: ${.CURDIR}/../../dev/random +.PATH: ${.CURDIR}/../../crypto/blowfish + +KMOD= random +SRCS= bus_if.h device_if.h randomdev.c yarrow.c hash.c +SRCS+= bf_cbc.c bf_skey.c bf_enc.c +SRCS+= vnode_if.h opt_noblockrandom.h +NOMAN= yes + +CFLAGS+= -I${.CURDIR}/../.. # Uncomment the below macro to make a /dev/random that will not block at # boot time. Useful for personal workstations and the like where reboot diff --git a/sys/modules/ray/Makefile b/sys/modules/ray/Makefile index 16eb08349481..7ba08399eb2b 100644 --- a/sys/modules/ray/Makefile +++ b/sys/modules/ray/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ray -KMOD = if_ray -SRCS = if_ray.c -SRCS += device_if.h bus_if.h card_if.h opt_inet.h -NOMAN = +.PATH: ${.CURDIR}/../../dev/ray + +KMOD= if_ray +SRCS= if_ray.c +SRCS+= device_if.h bus_if.h card_if.h opt_inet.h +NOMAN= .include diff --git a/sys/modules/rl/Makefile b/sys/modules/rl/Makefile index 136c228b1504..23a06a1daa61 100644 --- a/sys/modules/rl/Makefile +++ b/sys/modules/rl/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_rl -SRCS = if_rl.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_rl +SRCS= if_rl.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/rp/Makefile b/sys/modules/rp/Makefile index 706a5597f446..de964eec5014 100644 --- a/sys/modules/rp/Makefile +++ b/sys/modules/rp/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/rp -KMOD = rp -SRCS = rp.c rp_pci.c device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/rp + +KMOD= rp +SRCS= rp.c rp_pci.c device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/s3/Makefile b/sys/modules/s3/Makefile index 6763bb813718..6091bee35ce6 100644 --- a/sys/modules/s3/Makefile +++ b/sys/modules/s3/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/fb -KMOD = s3 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h \ - s3_pci.c -KMODDEPS = vesa +.PATH: ${.CURDIR}/../../dev/fb + +KMOD= s3 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h \ + s3_pci.c +KMODDEPS= vesa .include diff --git a/sys/modules/sf/Makefile b/sys/modules/sf/Makefile index 05826a062ac4..1725f098267d 100644 --- a/sys/modules/sf/Makefile +++ b/sys/modules/sf/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_sf -SRCS = if_sf.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_sf +SRCS= if_sf.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/sis/Makefile b/sys/modules/sis/Makefile index f644291410fc..8fa9ec46ed7e 100644 --- a/sys/modules/sis/Makefile +++ b/sys/modules/sis/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_sis -SRCS = if_sis.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_sis +SRCS= if_sis.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/sk/Makefile b/sys/modules/sk/Makefile index 350521cab879..28ad56bcd136 100644 --- a/sys/modules/sk/Makefile +++ b/sys/modules/sk/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_sk -SRCS = if_sk.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_sk +SRCS= if_sk.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/sn/Makefile b/sys/modules/sn/Makefile index d51443e46c39..b443ab2278f0 100644 --- a/sys/modules/sn/Makefile +++ b/sys/modules/sn/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sn -KMOD = if_sn -SRCS = if_sn.c if_sn_isa.c if_sn_pccard.c device_if.h bus_if.h isa_if.h \ - card_if.h +.PATH: ${.CURDIR}/../../dev/sn + +KMOD= if_sn +SRCS= if_sn.c if_sn_isa.c if_sn_pccard.c device_if.h bus_if.h isa_if.h \ + card_if.h .include diff --git a/sys/modules/snc/Makefile b/sys/modules/snc/Makefile index f161c1e1e396..4b158fb9992a 100644 --- a/sys/modules/snc/Makefile +++ b/sys/modules/snc/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/snc -KMOD = if_snc -SRCS = if_snc.c if_snc_cbus.c if_snc_pccard.c dp83932.c dp83932subr.c -SRCS += opt_inet.h opt_bdg.h device_if.h bus_if.h isa_if.h +.PATH: ${.CURDIR}/../../dev/snc + +KMOD= if_snc +SRCS= if_snc.c if_snc_cbus.c if_snc_pccard.c dp83932.c dp83932subr.c +SRCS+= opt_inet.h opt_bdg.h device_if.h bus_if.h isa_if.h opt_inet.h: echo "#define INET 1" > ${.TARGET} diff --git a/sys/modules/sound/driver/ad1816/Makefile b/sys/modules/sound/driver/ad1816/Makefile index a506c30edf6a..9c7fa9ec5d85 100644 --- a/sys/modules/sound/driver/ad1816/Makefile +++ b/sys/modules/sound/driver/ad1816/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_ad1816 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += ad1816.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_ad1816 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= ad1816.c .include diff --git a/sys/modules/sound/driver/csa/Makefile b/sys/modules/sound/driver/csa/Makefile index 2f6ffe173d17..892856d77c02 100644 --- a/sys/modules/sound/driver/csa/Makefile +++ b/sys/modules/sound/driver/csa/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_csa -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += csa.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_csa +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= csa.c .include diff --git a/sys/modules/sound/driver/csapcm/Makefile b/sys/modules/sound/driver/csapcm/Makefile index 42f12c7aad8c..28634e9b0cbd 100644 --- a/sys/modules/sound/driver/csapcm/Makefile +++ b/sys/modules/sound/driver/csapcm/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_csapcm -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += csapcm.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_csapcm +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= csapcm.c .include diff --git a/sys/modules/sound/driver/driver/Makefile b/sys/modules/sound/driver/driver/Makefile index 722ef8ef7209..9573cd9cf0c6 100644 --- a/sys/modules/sound/driver/driver/Makefile +++ b/sys/modules/sound/driver/driver/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound -KMOD = snd_driver -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += driver.c +.PATH: ${.CURDIR}/../../../../dev/sound + +KMOD= snd_driver +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= driver.c .include diff --git a/sys/modules/sound/driver/ds1/Makefile b/sys/modules/sound/driver/ds1/Makefile index a703e1ce8138..d47cfac553a2 100644 --- a/sys/modules/sound/driver/ds1/Makefile +++ b/sys/modules/sound/driver/ds1/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_ds1 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += ds1.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_ds1 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= ds1.c .include diff --git a/sys/modules/sound/driver/emu10k1/Makefile b/sys/modules/sound/driver/emu10k1/Makefile index 73c6ff3a36f5..5d8f7bee5616 100644 --- a/sys/modules/sound/driver/emu10k1/Makefile +++ b/sys/modules/sound/driver/emu10k1/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_emu10k1 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += emu10k1.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_emu10k1 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= emu10k1.c .include diff --git a/sys/modules/sound/driver/es137x/Makefile b/sys/modules/sound/driver/es137x/Makefile index b1f7abdf95a2..f2861d6d810f 100644 --- a/sys/modules/sound/driver/es137x/Makefile +++ b/sys/modules/sound/driver/es137x/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_es137x -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += es137x.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_es137x +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= es137x.c .include diff --git a/sys/modules/sound/driver/es1888/Makefile b/sys/modules/sound/driver/es1888/Makefile index 2a6fc3be1ed3..66a73e5a0739 100644 --- a/sys/modules/sound/driver/es1888/Makefile +++ b/sys/modules/sound/driver/es1888/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_es1888 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += es1888.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_es1888 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= es1888.c .include diff --git a/sys/modules/sound/driver/ess/Makefile b/sys/modules/sound/driver/ess/Makefile index 3dc1032d1528..73da252e9fd3 100644 --- a/sys/modules/sound/driver/ess/Makefile +++ b/sys/modules/sound/driver/ess/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_ess -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += ess.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_ess +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= ess.c .include diff --git a/sys/modules/sound/driver/fm801/Makefile b/sys/modules/sound/driver/fm801/Makefile index af68e151bf85..3efde20ab34e 100644 --- a/sys/modules/sound/driver/fm801/Makefile +++ b/sys/modules/sound/driver/fm801/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_fm801 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += fm801.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_fm801 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= fm801.c .include diff --git a/sys/modules/sound/driver/gusc/Makefile b/sys/modules/sound/driver/gusc/Makefile index facf8acec9f2..1b7f529cfb05 100644 --- a/sys/modules/sound/driver/gusc/Makefile +++ b/sys/modules/sound/driver/gusc/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_gusc -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += gusc.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_gusc +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= gusc.c .include diff --git a/sys/modules/sound/driver/maestro/Makefile b/sys/modules/sound/driver/maestro/Makefile index 01de2704a9bb..48c68776f370 100644 --- a/sys/modules/sound/driver/maestro/Makefile +++ b/sys/modules/sound/driver/maestro/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_maestro -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += maestro.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_maestro +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= maestro.c .include diff --git a/sys/modules/sound/driver/mss/Makefile b/sys/modules/sound/driver/mss/Makefile index 10e3f6d5ccbd..0eca1b772477 100644 --- a/sys/modules/sound/driver/mss/Makefile +++ b/sys/modules/sound/driver/mss/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_mss -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += mss.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_mss +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= mss.c .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 diff --git a/sys/modules/sound/driver/neomagic/Makefile b/sys/modules/sound/driver/neomagic/Makefile index be8016c2ce18..d974bd7d88bb 100644 --- a/sys/modules/sound/driver/neomagic/Makefile +++ b/sys/modules/sound/driver/neomagic/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_neomagic -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += neomagic.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_neomagic +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= neomagic.c .include diff --git a/sys/modules/sound/driver/sb16/Makefile b/sys/modules/sound/driver/sb16/Makefile index 57e0e5f3a075..bf009f7035b8 100644 --- a/sys/modules/sound/driver/sb16/Makefile +++ b/sys/modules/sound/driver/sb16/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_sb16 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += sb16.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_sb16 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= sb16.c .include diff --git a/sys/modules/sound/driver/sb8/Makefile b/sys/modules/sound/driver/sb8/Makefile index e610d962814d..f2b0da834c7a 100644 --- a/sys/modules/sound/driver/sb8/Makefile +++ b/sys/modules/sound/driver/sb8/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_sb8 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += sb8.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_sb8 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= sb8.c .include diff --git a/sys/modules/sound/driver/sbc/Makefile b/sys/modules/sound/driver/sbc/Makefile index d52e31267382..c512c8f2a8f0 100644 --- a/sys/modules/sound/driver/sbc/Makefile +++ b/sys/modules/sound/driver/sbc/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/isa -KMOD = snd_sbc -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += sbc.c +.PATH: ${.CURDIR}/../../../../dev/sound/isa + +KMOD= snd_sbc +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= sbc.c .if ${MACHINE} == "pc98" CFLAGS+= -DPC98 diff --git a/sys/modules/sound/driver/solo/Makefile b/sys/modules/sound/driver/solo/Makefile index ee73b7b356a0..faddebc49db1 100644 --- a/sys/modules/sound/driver/solo/Makefile +++ b/sys/modules/sound/driver/solo/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_solo -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += solo.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_solo +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= solo.c .include diff --git a/sys/modules/sound/driver/t4dwave/Makefile b/sys/modules/sound/driver/t4dwave/Makefile index 6c0bb3fa1dc5..a02ee59d2b6d 100644 --- a/sys/modules/sound/driver/t4dwave/Makefile +++ b/sys/modules/sound/driver/t4dwave/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_t4dwave -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += t4dwave.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_t4dwave +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= t4dwave.c .include diff --git a/sys/modules/sound/driver/via82c686/Makefile b/sys/modules/sound/driver/via82c686/Makefile index 947eb826304b..50e6b5c1c720 100644 --- a/sys/modules/sound/driver/via82c686/Makefile +++ b/sys/modules/sound/driver/via82c686/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../../dev/sound/pci -KMOD = snd_via82c686 -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += via82c686.c +.PATH: ${.CURDIR}/../../../../dev/sound/pci + +KMOD= snd_via82c686 +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= via82c686.c .include diff --git a/sys/modules/sound/pcm/Makefile b/sys/modules/sound/pcm/Makefile index 14443bf8c584..ea1b8ecdb1ea 100644 --- a/sys/modules/sound/pcm/Makefile +++ b/sys/modules/sound/pcm/Makefile @@ -1,12 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/sound/pcm -KMOD = snd_pcm -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += ac97_if.h channel_if.h feeder_if.h mixer_if.h -SRCS += ac97_if.c channel_if.c feeder_if.c mixer_if.c -SRCS += ac97.c buffer.c channel.c dsp.c fake.c -SRCS += feeder.c feeder_fmt.c -SRCS += mixer.c sound.c +.PATH: ${.CURDIR}/../../../dev/sound/pcm + +KMOD= snd_pcm +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= ac97_if.h channel_if.h feeder_if.h mixer_if.h +SRCS+= ac97_if.c channel_if.c feeder_if.c mixer_if.c +SRCS+= ac97.c buffer.c channel.c dsp.c fake.c +SRCS+= feeder.c feeder_fmt.c +SRCS+= mixer.c sound.c .include diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile index 14443bf8c584..ea1b8ecdb1ea 100644 --- a/sys/modules/sound/sound/Makefile +++ b/sys/modules/sound/sound/Makefile @@ -1,12 +1,13 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../dev/sound/pcm -KMOD = snd_pcm -SRCS = device_if.h bus_if.h isa_if.h pci_if.h -SRCS += ac97_if.h channel_if.h feeder_if.h mixer_if.h -SRCS += ac97_if.c channel_if.c feeder_if.c mixer_if.c -SRCS += ac97.c buffer.c channel.c dsp.c fake.c -SRCS += feeder.c feeder_fmt.c -SRCS += mixer.c sound.c +.PATH: ${.CURDIR}/../../../dev/sound/pcm + +KMOD= snd_pcm +SRCS= device_if.h bus_if.h isa_if.h pci_if.h +SRCS+= ac97_if.h channel_if.h feeder_if.h mixer_if.h +SRCS+= ac97_if.c channel_if.c feeder_if.c mixer_if.c +SRCS+= ac97.c buffer.c channel.c dsp.c fake.c +SRCS+= feeder.c feeder_fmt.c +SRCS+= mixer.c sound.c .include diff --git a/sys/modules/splash/bmp/Makefile b/sys/modules/splash/bmp/Makefile index 9c45c39c4473..950c93078422 100644 --- a/sys/modules/splash/bmp/Makefile +++ b/sys/modules/splash/bmp/Makefile @@ -2,7 +2,6 @@ KMOD= splash_bmp SRCS= splash_bmp.c - NOMAN= .if ${MACHINE} == "pc98" diff --git a/sys/modules/sppp/Makefile b/sys/modules/sppp/Makefile index 19e662c3d043..b8c56f653c5f 100644 --- a/sys/modules/sppp/Makefile +++ b/sys/modules/sppp/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../net -KMOD= sppp -SRCS= if_spppsubr.c +.PATH: ${.CURDIR}/../../net + +KMOD= sppp +SRCS= if_spppsubr.c SRCS+= opt_inet.h opt_inet6.h opt_ipx.h NOMAN= diff --git a/sys/modules/ste/Makefile b/sys/modules/ste/Makefile index a21b3795d82e..6ad69a8f2705 100644 --- a/sys/modules/ste/Makefile +++ b/sys/modules/ste/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_ste -SRCS = if_ste.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_ste +SRCS= if_ste.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/streams/Makefile b/sys/modules/streams/Makefile index 04ed90597d68..9b5cd7dc7efb 100644 --- a/sys/modules/streams/Makefile +++ b/sys/modules/streams/Makefile @@ -1,16 +1,15 @@ # $FreeBSD$ +MAINTAINER= newton@atdot.dotat.org + +.PATH: ${.CURDIR}/../../dev/streams + +KMOD= streams +SRCS= streams.c opt_streams.h +NOMAN= -MAINTAINER = newton@atdot.dotat.org .if defined(DEBUG) CFLAGS+= -DDEBUG_SVR4 .endif - -.PATH: ${.CURDIR}/../../dev/streams -KMOD= streams -SRCS= streams.c opt_streams.h - -NOMAN= - -CFLAGS+= -O +CFLAGS+= -O .include diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile index 65cd6aed9c0d..286b373fa6f2 100644 --- a/sys/modules/svr4/Makefile +++ b/sys/modules/svr4/Makefile @@ -13,20 +13,20 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \ svr4_resource.c svr4_ipc.c OBJS= svr4_locore.o -EXPORT_SYMS=_svr4_mod -CLEANFILES= svr4_assym.h svr4_genassym.o +EXPORT_SYMS= _svr4_mod +CLEANFILES= svr4_assym.h svr4_genassym.o -svr4_assym.h: svr4_genassym.o +svr4_assym.h: svr4_genassym.o .if exists(@) -svr4_assym.h: @/kern/genassym.sh +svr4_assym.h: @/kern/genassym.sh .endif sh @/kern/genassym.sh svr4_genassym.o > ${.TARGET} -svr4_locore.o: svr4_locore.s svr4_assym.h +svr4_locore.o: svr4_locore.s svr4_assym.h ${CC} -c -x assembler-with-cpp -DLOCORE ${CFLAGS} \ ${.IMPSRC} -o ${.TARGET} -svr4_genassym.o: svr4_genassym.c svr4.h @ machine +svr4_genassym.o: svr4_genassym.c svr4.h @ machine ${CC} -c ${CFLAGS} ${.IMPSRC} opt_compat.h: diff --git a/sys/modules/sym/Makefile b/sys/modules/sym/Makefile index 61fd054a3600..198c98245aa5 100644 --- a/sys/modules/sym/Makefile +++ b/sys/modules/sym/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/sym -KMOD = sym -SRCS = sym_hipd.c opt_sym.h opt_cam.h opt_scsi.h -SRCS += device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../dev/sym + +KMOD= sym +SRCS= sym_hipd.c opt_sym.h opt_cam.h opt_scsi.h +SRCS+= device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/syscons/apm/Makefile b/sys/modules/syscons/apm/Makefile index 00a889f90e97..c52cbf950491 100644 --- a/sys/modules/syscons/apm/Makefile +++ b/sys/modules/syscons/apm/Makefile @@ -2,8 +2,8 @@ KMOD= apm_saver SRCS= apm_saver.c - NOMAN= + CFLAGS+= -I${.CURDIR}/.. .include diff --git a/sys/modules/syscons/blank/Makefile b/sys/modules/syscons/blank/Makefile index e299c924f7a9..de6aac4a1ed6 100644 --- a/sys/modules/syscons/blank/Makefile +++ b/sys/modules/syscons/blank/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= blank_saver -SRCS= blank_saver.c - +SRCS= blank_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. .include diff --git a/sys/modules/syscons/daemon/Makefile b/sys/modules/syscons/daemon/Makefile index 930ec59fc634..47868b45f4a0 100644 --- a/sys/modules/syscons/daemon/Makefile +++ b/sys/modules/syscons/daemon/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= daemon_saver -SRCS= daemon_saver.c - +SRCS= daemon_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. .if ${MACHINE} == "pc98" diff --git a/sys/modules/syscons/fade/Makefile b/sys/modules/syscons/fade/Makefile index 5fc34ebfe19c..0109ef64a4a3 100644 --- a/sys/modules/syscons/fade/Makefile +++ b/sys/modules/syscons/fade/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= fade_saver -SRCS= fade_saver.c - +SRCS= fade_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. .include diff --git a/sys/modules/syscons/fire/Makefile b/sys/modules/syscons/fire/Makefile index d32eec765fb0..8e376a252fb6 100644 --- a/sys/modules/syscons/fire/Makefile +++ b/sys/modules/syscons/fire/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= fire_saver -SRCS= fire_saver.c - +SRCS= fire_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. CWARNFLAGS= -Wall -pedantic diff --git a/sys/modules/syscons/green/Makefile b/sys/modules/syscons/green/Makefile index f62b1f4a2757..ccfefdcc79e1 100644 --- a/sys/modules/syscons/green/Makefile +++ b/sys/modules/syscons/green/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= green_saver -SRCS= green_saver.c - +SRCS= green_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. .include diff --git a/sys/modules/syscons/logo/Makefile b/sys/modules/syscons/logo/Makefile index 2a9ede26cce9..ce1900d9486f 100644 --- a/sys/modules/syscons/logo/Makefile +++ b/sys/modules/syscons/logo/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= logo_saver -SRCS= logo_saver.c - +SRCS= logo_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. -I${.CURDIR} .include diff --git a/sys/modules/syscons/rain/Makefile b/sys/modules/syscons/rain/Makefile index ecc5ec332581..e39dfc472527 100644 --- a/sys/modules/syscons/rain/Makefile +++ b/sys/modules/syscons/rain/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= rain_saver -SRCS= rain_saver.c - +SRCS= rain_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. CWARNFLAGS= -Wall -pedantic diff --git a/sys/modules/syscons/snake/Makefile b/sys/modules/syscons/snake/Makefile index 88519b2da8f2..6a12d8b3e955 100644 --- a/sys/modules/syscons/snake/Makefile +++ b/sys/modules/syscons/snake/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= snake_saver -SRCS= snake_saver.c - +SRCS= snake_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. .if ${MACHINE} == "pc98" diff --git a/sys/modules/syscons/star/Makefile b/sys/modules/syscons/star/Makefile index 7f978d59a53e..99ce313dc7ae 100644 --- a/sys/modules/syscons/star/Makefile +++ b/sys/modules/syscons/star/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= star_saver -SRCS= star_saver.c - +SRCS= star_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. .if ${MACHINE} == "pc98" diff --git a/sys/modules/syscons/warp/Makefile b/sys/modules/syscons/warp/Makefile index 45a3af9ecb23..8dac3d69713d 100644 --- a/sys/modules/syscons/warp/Makefile +++ b/sys/modules/syscons/warp/Makefile @@ -1,9 +1,9 @@ # $FreeBSD$ KMOD= warp_saver -SRCS= warp_saver.c - +SRCS= warp_saver.c NOMAN= + CFLAGS+= -I${.CURDIR}/.. CWARNFLAGS= -Wall -pedantic diff --git a/sys/modules/sysvipc/sysvmsg/Makefile b/sys/modules/sysvipc/sysvmsg/Makefile index 9392b4bbe902..96def2fa5224 100644 --- a/sys/modules/sysvipc/sysvmsg/Makefile +++ b/sys/modules/sysvipc/sysvmsg/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../kern -KMOD = sysvmsg -SRCS = sysv_msg.c opt_sysvipc.h +.PATH: ${.CURDIR}/../../../kern + +KMOD= sysvmsg +SRCS= sysv_msg.c opt_sysvipc.h opt_sysvipc.h: touch $@ diff --git a/sys/modules/sysvipc/sysvsem/Makefile b/sys/modules/sysvipc/sysvsem/Makefile index f79980215fd4..a67c320fb50a 100644 --- a/sys/modules/sysvipc/sysvsem/Makefile +++ b/sys/modules/sysvipc/sysvsem/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../kern -KMOD = sysvsem -SRCS = sysv_sem.c opt_sysvipc.h +.PATH: ${.CURDIR}/../../../kern + +KMOD= sysvsem +SRCS= sysv_sem.c opt_sysvipc.h opt_sysvipc.h: touch $@ diff --git a/sys/modules/sysvipc/sysvshm/Makefile b/sys/modules/sysvipc/sysvshm/Makefile index d63280ed9612..c59d192280b3 100644 --- a/sys/modules/sysvipc/sysvshm/Makefile +++ b/sys/modules/sysvipc/sysvshm/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../kern -KMOD = sysvshm -OPTS = opt_sysvipc.h opt_compat.h opt_rlimit.h -SRCS = sysv_shm.c $(OPTS) +.PATH: ${.CURDIR}/../../../kern + +KMOD= sysvshm +OPTS= opt_sysvipc.h opt_compat.h opt_rlimit.h +SRCS= sysv_shm.c $(OPTS) $(OPTS): touch $@ diff --git a/sys/modules/ti/Makefile b/sys/modules/ti/Makefile index 701e9148cadd..1768c88c9455 100644 --- a/sys/modules/ti/Makefile +++ b/sys/modules/ti/Makefile @@ -1,9 +1,10 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_ti -SRCS = if_ti.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h -CLEANFILES = vlan.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_ti +SRCS= if_ti.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h +CLEANFILES= vlan.h vlan.h: touch vlan.h diff --git a/sys/modules/tl/Makefile b/sys/modules/tl/Makefile index 4c07c3a7f827..bbd30a13e605 100644 --- a/sys/modules/tl/Makefile +++ b/sys/modules/tl/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_tl -SRCS = if_tl.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_tl +SRCS= if_tl.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/twe/Makefile b/sys/modules/twe/Makefile index 2d0639bcd4e8..052c541fab51 100644 --- a/sys/modules/twe/Makefile +++ b/sys/modules/twe/Makefile @@ -23,7 +23,8 @@ CFLAGS+=-DTWE_SHUTDOWN_NOTIFICATION # #CFLAGS+=-DTWE_OVERRIDE -.PATH: ${.CURDIR}/../../dev/twe +.PATH: ${.CURDIR}/../../dev/twe + KMOD= twe SRCS= bus_if.h device_if.h pci_if.h twe.c twe_freebsd.c diff --git a/sys/modules/tx/Makefile b/sys/modules/tx/Makefile index ab06042cbf39..c1c1dfa0c684 100644 --- a/sys/modules/tx/Makefile +++ b/sys/modules/tx/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_tx -SRCS = if_tx.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_tx +SRCS= if_tx.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/udbp/Makefile b/sys/modules/udbp/Makefile index ee175ba3a0df..8f5b81bb458c 100644 --- a/sys/modules/udbp/Makefile +++ b/sys/modules/udbp/Makefile @@ -1,12 +1,13 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = udbp -SRCS = bus_if.h device_if.h \ - opt_usb.h \ - udbp.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= udbp +SRCS= bus_if.h device_if.h \ + opt_usb.h \ + udbp.c +NOMAN= .include diff --git a/sys/modules/ugen/Makefile b/sys/modules/ugen/Makefile index 180f6c7fef60..a342f4f39563 100644 --- a/sys/modules/ugen/Makefile +++ b/sys/modules/ugen/Makefile @@ -1,10 +1,11 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = ugen -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h ugen.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= ugen +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h ugen.c +NOMAN= .include diff --git a/sys/modules/uhid/Makefile b/sys/modules/uhid/Makefile index 4f8af0b49f7a..df771a5374e1 100644 --- a/sys/modules/uhid/Makefile +++ b/sys/modules/uhid/Makefile @@ -1,10 +1,11 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = uhid -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h uhid.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= uhid +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h uhid.c +NOMAN= .include diff --git a/sys/modules/ukbd/Makefile b/sys/modules/ukbd/Makefile index d5be99b57cc0..a73e8ec52044 100644 --- a/sys/modules/ukbd/Makefile +++ b/sys/modules/ukbd/Makefile @@ -1,13 +1,13 @@ -# $FreeBSD$ +# $FreeBSD$ +MAINTAINER= n_hibma@freebsd.org -MAINTAINER = n_hibma@freebsd.org +.PATH: ${.CURDIR}/../../dev/usb -.PATH: ${.CURDIR}/../../dev/usb -KMOD = ukbd -SRCS = bus_if.h device_if.h vnode_if.h \ - opt_usb.h opt_kbd.h opt_ukbd.h \ - ukbd.c -NOMAN = +KMOD= ukbd +SRCS= bus_if.h device_if.h vnode_if.h \ + opt_usb.h opt_kbd.h opt_ukbd.h \ + ukbd.c +NOMAN= opt_kbd.h: echo '#define KBD_INSTALL_CDEV 1' > opt_kbd.h diff --git a/sys/modules/ulpt/Makefile b/sys/modules/ulpt/Makefile index 873005a211ff..266e78dd5fa0 100644 --- a/sys/modules/ulpt/Makefile +++ b/sys/modules/ulpt/Makefile @@ -1,10 +1,11 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = ulpt -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h ulpt.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= ulpt +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h ulpt.c +NOMAN= .include diff --git a/sys/modules/umapfs/Makefile b/sys/modules/umapfs/Makefile index 488590ff1bb6..279a3a46c1bb 100644 --- a/sys/modules/umapfs/Makefile +++ b/sys/modules/umapfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/umapfs +.PATH: ${.CURDIR}/../../miscfs/umapfs + KMOD= umap SRCS= vnode_if.h \ umap_subr.c umap_vfsops.c umap_vnops.c diff --git a/sys/modules/umass/Makefile b/sys/modules/umass/Makefile index dbf6852eca7c..28dcd55ab2d0 100644 --- a/sys/modules/umass/Makefile +++ b/sys/modules/umass/Makefile @@ -1,12 +1,13 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = umass -SRCS = bus_if.h device_if.h \ - opt_usb.h opt_cam.h opt_scsi.h \ - umass.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= umass +SRCS= bus_if.h device_if.h \ + opt_usb.h opt_cam.h opt_scsi.h \ + umass.c +NOMAN= .include diff --git a/sys/modules/umodem/Makefile b/sys/modules/umodem/Makefile index 9b210c16c984..f002ba025ec4 100644 --- a/sys/modules/umodem/Makefile +++ b/sys/modules/umodem/Makefile @@ -1,10 +1,11 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = umodem -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h umodem.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= umodem +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h umodem.c +NOMAN= .include diff --git a/sys/modules/ums/Makefile b/sys/modules/ums/Makefile index a18061e51637..de8f23aeb387 100644 --- a/sys/modules/ums/Makefile +++ b/sys/modules/ums/Makefile @@ -1,10 +1,11 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = ums -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h ums.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= ums +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h ums.c +NOMAN= .include diff --git a/sys/modules/union/Makefile b/sys/modules/union/Makefile index 6825a6376d91..8f3f852dcb8f 100644 --- a/sys/modules/union/Makefile +++ b/sys/modules/union/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/union +.PATH: ${.CURDIR}/../../miscfs/union + KMOD= union SRCS= vnode_if.h \ union_subr.c union_vfsops.c union_vnops.c diff --git a/sys/modules/unionfs/Makefile b/sys/modules/unionfs/Makefile index 6825a6376d91..8f3f852dcb8f 100644 --- a/sys/modules/unionfs/Makefile +++ b/sys/modules/unionfs/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../miscfs/union +.PATH: ${.CURDIR}/../../miscfs/union + KMOD= union SRCS= vnode_if.h \ union_subr.c union_vfsops.c union_vnops.c diff --git a/sys/modules/urio/Makefile b/sys/modules/urio/Makefile index 6d7fba697754..e5eb45bf5440 100644 --- a/sys/modules/urio/Makefile +++ b/sys/modules/urio/Makefile @@ -1,10 +1,11 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = Iwasa Kazmi +MAINTAINER= Iwasa Kazmi -.PATH: ${.CURDIR}/../../dev/usb -KMOD = urio -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h urio.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb + +KMOD= urio +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h urio.c +NOMAN= .include diff --git a/sys/modules/usb/Makefile b/sys/modules/usb/Makefile index 6dad16d17434..a03d2cc0a6f5 100644 --- a/sys/modules/usb/Makefile +++ b/sys/modules/usb/Makefile @@ -1,29 +1,31 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org -S = ${.CURDIR}/../.. +MAINTAINER= n_hibma@freebsd.org -.PATH: $S/dev/usb $S/pci -KMOD = usb -SRCS = bus_if.h device_if.h usb_if.h usb_if.c \ - vnode_if.h \ - opt_usb.h \ - hid.c hid.h usbhid.h \ - uhub.c \ - usb.c usb.h \ - usb_mem.h \ - usb_port.h \ - usb_quirks.c usb_quirks.h \ - usb_subr.c \ - usbdevs.h usbdevs_data.h \ - usbdi.c usbdi.h usbdivar.h \ - usbdi_util.c usbdi_util.h \ - usb_ethersubr.c +S= ${.CURDIR}/../.. -SRCS += uhci_pci.c uhci.c uhcireg.h uhcivar.h -SRCS += ohci_pci.c ohci.c ohcireg.h ohcivar.h -SRCS += opt_bus.h pci_if.h +.PATH: $S/dev/usb $S/pci -NOMAN = +KMOD= usb +SRCS= bus_if.h device_if.h usb_if.h usb_if.c \ + vnode_if.h \ + opt_usb.h \ + hid.c hid.h usbhid.h \ + uhub.c \ + usb.c usb.h \ + usb_mem.h \ + usb_port.h \ + usb_quirks.c usb_quirks.h \ + usb_subr.c \ + usbdevs.h usbdevs_data.h \ + usbdi.c usbdi.h usbdivar.h \ + usbdi_util.c usbdi_util.h \ + usb_ethersubr.c + +SRCS+= uhci_pci.c uhci.c uhcireg.h uhcivar.h +SRCS+= ohci_pci.c ohci.c ohcireg.h ohcivar.h +SRCS+= opt_bus.h pci_if.h + +NOMAN= .include diff --git a/sys/modules/uscanner/Makefile b/sys/modules/uscanner/Makefile index 2ceac0460697..239aafe82290 100644 --- a/sys/modules/uscanner/Makefile +++ b/sys/modules/uscanner/Makefile @@ -1,12 +1,13 @@ -# $FreeBSD$ +# $FreeBSD$ -MAINTAINER = n_hibma@freebsd.org +MAINTAINER= n_hibma@freebsd.org -.PATH: ${.CURDIR}/../../dev/usb -KMOD = uscanner -SRCS = bus_if.h device_if.h vnode_if.h opt_usb.h uscanner.c -NOMAN = +.PATH: ${.CURDIR}/../../dev/usb -CFLAGS += -g +KMOD= uscanner +SRCS= bus_if.h device_if.h vnode_if.h opt_usb.h uscanner.c +NOMAN= + +CFLAGS+= -g .include diff --git a/sys/modules/vesa/Makefile b/sys/modules/vesa/Makefile index 3270dbc9dc3f..44375318d9a9 100644 --- a/sys/modules/vesa/Makefile +++ b/sys/modules/vesa/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/syscons ${.CURDIR}/../../i386/isa -KMOD = vesa -SRCS = vesa.c scvesactl.c opt_vga.h opt_vesa.h -NOMAN = +.PATH: ${.CURDIR}/../../dev/syscons ${.CURDIR}/../../i386/isa + +KMOD= vesa +SRCS= vesa.c scvesactl.c opt_vga.h opt_vesa.h +NOMAN= .include diff --git a/sys/modules/vinum/Makefile b/sys/modules/vinum/Makefile index b387d9b6f235..2800e8214ce0 100644 --- a/sys/modules/vinum/Makefile +++ b/sys/modules/vinum/Makefile @@ -1,14 +1,13 @@ # $FreeBSD$ .PATH: ${.CURDIR}/../../dev/vinum -KMOD= vinum -SRCS= opt_vinum.h request.h vinum.c vinumconfig.c vinumdaemon.c \ +KMOD= vinum +SRCS= opt_vinum.h request.h vinum.c vinumconfig.c vinumdaemon.c \ vinumext.h vinumhdr.h vinuminterrupt.c vinumio.c vinumio.h \ vinumioctl.c vinumkw.h vinumlock.c vinummemory.c vinumparser.c \ vinumraid5.c vinumrequest.c vinumrevive.c vinumstate.c \ vinumstate.h vinumutil.c vinumvar.h vnode_if.h - NOMAN= # If you remove -DVINUMDEBUG here, you must also do it in src/sbin/Makefile. diff --git a/sys/modules/vn/Makefile b/sys/modules/vn/Makefile index e9117dc3e568..7285eff6a09b 100644 --- a/sys/modules/vn/Makefile +++ b/sys/modules/vn/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vn -KMOD= vn -SRCS= vn.c vnode_if.h +.PATH: ${.CURDIR}/../../dev/vn + +KMOD= vn +SRCS= vn.c vnode_if.h NOMAN= .include diff --git a/sys/modules/vpo/Makefile b/sys/modules/vpo/Makefile index 3934e031c9d3..f63e610f9485 100644 --- a/sys/modules/vpo/Makefile +++ b/sys/modules/vpo/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/ppbus +.PATH: ${.CURDIR}/../../dev/ppbus + KMOD= vpo SRCS= bus_if.h device_if.h ppbus_if.h \ opt_cam.h opt_scsi.h opt_vpo.h \ diff --git a/sys/modules/vr/Makefile b/sys/modules/vr/Makefile index 6845bddd8ed7..fd58ab0cb26f 100644 --- a/sys/modules/vr/Makefile +++ b/sys/modules/vr/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_vr -SRCS = if_vr.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_vr +SRCS= if_vr.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include diff --git a/sys/modules/vx/Makefile b/sys/modules/vx/Makefile index c033c6cda40d..53a8472f9bd7 100644 --- a/sys/modules/vx/Makefile +++ b/sys/modules/vx/Makefile @@ -1,11 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../dev/vx -KMOD = if_vx -SRCS = if_vx.c if_vx_pci.c +.PATH: ${.CURDIR}/../../dev/vx + +KMOD= if_vx +SRCS= if_vx.c if_vx_pci.c .if ${MACHINE_ARCH} == "i386" -SRCS += if_vx_eisa.c +SRCS+= if_vx_eisa.c .endif -SRCS += opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/wb/Makefile b/sys/modules/wb/Makefile index e8b15ebeb2b0..e53d9861cb6a 100644 --- a/sys/modules/wb/Makefile +++ b/sys/modules/wb/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_wb -SRCS = if_wb.c opt_bdg.h device_if.h -SRCS += bus_if.h miibus_if.h pci_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_wb +SRCS= if_wb.c opt_bdg.h device_if.h +SRCS+= bus_if.h miibus_if.h pci_if.h .include diff --git a/sys/modules/wi/Makefile b/sys/modules/wi/Makefile index 75a777036519..9bf97816674d 100644 --- a/sys/modules/wi/Makefile +++ b/sys/modules/wi/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../i386/isa -KMOD = if_wi -SRCS = if_wi.c device_if.h bus_if.h +.PATH: ${.CURDIR}/../../i386/isa + +KMOD= if_wi +SRCS= if_wi.c device_if.h bus_if.h .include diff --git a/sys/modules/wx/Makefile b/sys/modules/wx/Makefile index 921ec6497bec..8ab88e18366d 100644 --- a/sys/modules/wx/Makefile +++ b/sys/modules/wx/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_wx -SRCS = if_wx.c opt_bdg.h device_if.h bus_if.h pci_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_wx +SRCS= if_wx.c opt_bdg.h device_if.h bus_if.h pci_if.h .include diff --git a/sys/modules/xl/Makefile b/sys/modules/xl/Makefile index 903d4866e4fc..3c2c1627b36d 100644 --- a/sys/modules/xl/Makefile +++ b/sys/modules/xl/Makefile @@ -1,8 +1,9 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../pci -KMOD = if_xl -SRCS = if_xl.c opt_bdg.h device_if.h bus_if.h pci_if.h -SRCS += miibus_if.h +.PATH: ${.CURDIR}/../../pci + +KMOD= if_xl +SRCS= if_xl.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS+= miibus_if.h .include