diff options
Diffstat (limited to 'usr/src/uts/intel')
63 files changed, 40 insertions, 2401 deletions
diff --git a/usr/src/uts/intel/aac/Makefile b/usr/src/uts/intel/aac/Makefile index 15e6b33d1a..d619d9fece 100644 --- a/usr/src/uts/intel/aac/Makefile +++ b/usr/src/uts/intel/aac/Makefile @@ -43,9 +43,6 @@ OBJECTS = $(AAC_OBJS:%=$(OBJS_DIR)/%) LINTS = $(AAC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/aac -WARLOCK_OUT = $(AAC_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -99,37 +96,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -SCSI_FILES = $(SCSI_OBJS:%.o= -l $(UTSBASE)/intel/scsi/%.ll) - -%.wlcmd: - cd $(WLCMD_DIR); $(TEST) -f $@ || $(SCCS) get $@ - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files scsi.files aac.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/aac.wlcmd $(WARLOCK_OUT) \ - $(SCSI_FILES) \ - $(UTSBASE)/intel/warlock/scsi.ll \ - -l $(UTSBASE)/intel/warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/aac/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock - -scsi.files: - @cd $(UTSBASE)/intel/scsi; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ac97/Makefile b/usr/src/uts/intel/ac97/Makefile index 1161de1ade..2905c1a6ad 100644 --- a/usr/src/uts/intel/ac97/Makefile +++ b/usr/src/uts/intel/ac97/Makefile @@ -39,9 +39,6 @@ MODULE = ac97 OBJECTS = $(AC97_OBJS:%=$(OBJS_DIR)/%) LINTS = $(AC97_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(AC97_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -67,10 +64,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) diff --git a/usr/src/uts/intel/ahci/Makefile b/usr/src/uts/intel/ahci/Makefile index f5a003fab5..be7d89e485 100644 --- a/usr/src/uts/intel/ahci/Makefile +++ b/usr/src/uts/intel/ahci/Makefile @@ -25,7 +25,7 @@ # # -# This makefile drives the production of the +# This makefile drives the production of the # "/kernel/drv/ahci" kernel module. # # intel architecture dependent @@ -38,15 +38,12 @@ UTSBASE = ../.. # # Define the module and object file sets. -# -MODULE = ahci + +MODULE = ahci OBJECTS = $(AHCI_OBJS:%=$(OBJS_DIR)/%) LINTS = $(AHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/ahci -WARLOCK_OUT = $(AHCI_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -68,7 +65,7 @@ DEBUG_DEFS += $(DEBUG_FLGS) # # lint pass one enforcement -# +# CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-parentheses @@ -96,10 +93,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -113,48 +108,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -AHCI_FILES = $(MODULE).ll -SD_FILES = $(SD_OBJS:%.o=../sd/%.ll) -SATA_FILES = $(SATA_OBJS:%.o=-l ../sata/%.ll) -SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll) -CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WLCMD_DIR)/ahci.wlcmd $(WARLOCK_OUT) warlock_ddi.files \ - sata.files scsi.files sd.files cmlb.files - $(WARLOCK) -c $(WLCMD_DIR)/ahci.wlcmd $(WARLOCK_OUT) \ - $(SD_FILES) \ - $(SCSI_FILES) \ - $(CMLB_FILES) \ - $(SATA_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/sata/adapters/ahci/%.c - $(WLCC) $(CPPFLAGS) -D DEBUG -o $@ $< - -sata.files: - @cd ../sata; pwd; $(MAKE) warlock - -scsi.files: - @cd ../scsi; pwd; $(MAKE) warlock - -sd.files: - @cd ../sd; pwd; $(MAKE) warlock_alone - -cmlb.files: - @cd ../cmlb; pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/audiohd/Makefile b/usr/src/uts/intel/audiohd/Makefile index 2ccf42e4f2..11b5ae03fb 100644 --- a/usr/src/uts/intel/audiohd/Makefile +++ b/usr/src/uts/intel/audiohd/Makefile @@ -39,18 +39,15 @@ OBJECTS = $(AUDIOHD_OBJS:%=$(OBJS_DIR)/%) LINTS = $(AUDIOHD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audiohd -WARLOCK_OUT = $(AUDIOHD_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. # include $(UTSBASE)/intel/Makefile.intel -# -# Overrides, lint pass one enforcement -# +# +# Overrides, lint pass one enforcement +# CFLAGS += $(CCVERBOSE) DEBUG_FLGS = $(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS) @@ -86,10 +83,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -103,30 +98,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -AUDIOHD_FILES = $(AUDIOHD_OBJS:%.o=../audiohd/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/audiohd.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/audiohd.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/audio/drv/audiohd/audiohd.c \ - $(UTSBASE)/common/io/audio/drv/audiohd/audiohd.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/av1394/Makefile b/usr/src/uts/intel/av1394/Makefile index fc112dc4c4..9ccf35ed33 100644 --- a/usr/src/uts/intel/av1394/Makefile +++ b/usr/src/uts/intel/av1394/Makefile @@ -35,9 +35,6 @@ MODULE = av1394 OBJECTS = $(AV1394_OBJS:%=$(OBJS_DIR)/%) LINTS = $(AV1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(AV1394_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -90,10 +87,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -107,27 +102,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/av1394.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/av1394.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/1394/targets/av1394/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/cmlb/Makefile b/usr/src/uts/intel/cmlb/Makefile index 199d487524..45158fec56 100644 --- a/usr/src/uts/intel/cmlb/Makefile +++ b/usr/src/uts/intel/cmlb/Makefile @@ -40,8 +40,6 @@ UTSBASE = ../.. MODULE = cmlb OBJECTS = $(CMLB_OBJS:%=$(OBJS_DIR)/%) LINTS = $(CMLB_OBJS:%.o=$(LINTS_DIR)/%.ln) -WARLOCK_OUT = $(CMLB_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) # @@ -92,10 +90,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -109,21 +105,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/daplt/Makefile b/usr/src/uts/intel/daplt/Makefile index edc6de73ab..3dcf2d7e07 100644 --- a/usr/src/uts/intel/daplt/Makefile +++ b/usr/src/uts/intel/daplt/Makefile @@ -38,9 +38,7 @@ LINTS = $(DAPLT_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/daplt LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm -WARLOCK_OUT = $(DAPLT_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock + # # Include common rules. # @@ -86,10 +84,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -103,26 +99,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/daplt.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/daplt.wlcmd $(WARLOCK_OUT) \ - -l $(UTSBASE)/intel/warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/daplt/%.c \ - $(UTSBASE)/common/sys/ib/clients/daplt/daplt.h \ - $(UTSBASE)/common/sys/ib/clients/daplt/daplt_if.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ecpp/Makefile b/usr/src/uts/intel/ecpp/Makefile index ad00fbee41..9352ae18bf 100644 --- a/usr/src/uts/intel/ecpp/Makefile +++ b/usr/src/uts/intel/ecpp/Makefile @@ -26,7 +26,7 @@ # # This Makefile drives the production of ecpp # kernel module. -# +# # # @@ -42,9 +42,6 @@ OBJECTS = $(ECPP_OBJS:%=$(OBJS_DIR)/%) LINTS = $(ECPP_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io -WARLOCK_OUT = $(ECPP_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -83,10 +80,8 @@ all: $(ALL_DEPS) clean: $(CLEAN_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) modlintlib: $(MODLINTLIB_DEPS) @@ -98,28 +93,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ecpp.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/ecpp.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/%.c $(UTSBASE)/common/sys/ecppvar.h \ - $(UTSBASE)/common/sys/ecppio.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ehci/Makefile b/usr/src/uts/intel/ehci/Makefile index 84340ab114..59ca760453 100644 --- a/usr/src/uts/intel/ehci/Makefile +++ b/usr/src/uts/intel/ehci/Makefile @@ -39,9 +39,6 @@ OBJECTS = $(EHCI_OBJS:%=$(OBJS_DIR)/%) LINTS = $(EHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/ehci -WARLOCK_OUT = $(EHCI_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -74,10 +71,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -91,34 +86,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o= -l ../usba/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ehci.wlcmd warlock_ddi.files \ - usba.files - $(WARLOCK) -c $(WLCMD_DIR)/ehci.wlcmd $(WARLOCK_OUT) \ - $(USBA_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/hcd/ehci/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -usba.files: - @cd ../usba; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/eibnx/Makefile b/usr/src/uts/intel/eibnx/Makefile index 790d52d56e..dfcbf6bdc7 100644 --- a/usr/src/uts/intel/eibnx/Makefile +++ b/usr/src/uts/intel/eibnx/Makefile @@ -42,9 +42,6 @@ OBJECTS = $(EIBNX_OBJS:%=$(OBJS_DIR)/%) LINTS = $(EIBNX_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/eoib -WARLOCK_OUT = $(EIBNX_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules @@ -62,9 +59,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) # CPPFLAGS += -DENX_DEBUG -# -# Lint pass one enforcement -# +# +# Lint pass one enforcement +# CFLAGS += $(CCVERBOSE) # @@ -90,10 +87,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -107,34 +102,3 @@ install: $(INSTALL_DEPS) # Include common targets # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/eibnx.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/eibnx.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/eoib/enx_main.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_hdlrs.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_ibt.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_log.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_fip.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_misc.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_q.c \ - $(UTSBASE)/common/io/ib/clients/eoib/enx_ctl.c \ - $(UTSBASE)/common/sys/ib/clients/eoib/fip.h \ - $(UTSBASE)/common/sys/ib/clients/eoib/eib.h \ - $(UTSBASE)/common/sys/ib/clients/eoib/enx_impl.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/eoib/Makefile b/usr/src/uts/intel/eoib/Makefile index 0be7ddc774..f650f1eeac 100644 --- a/usr/src/uts/intel/eoib/Makefile +++ b/usr/src/uts/intel/eoib/Makefile @@ -41,9 +41,6 @@ MODULE = eoib OBJECTS = $(EOIB_OBJS:%=$(OBJS_DIR)/%) LINTS = $(EOIB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(EOIB_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules @@ -61,9 +58,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # CPPFLAGS += -DEIB_DEBUG -# -# Lint pass one enforcement -# +# +# Lint pass one enforcement +# CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch @@ -84,10 +81,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -101,39 +96,3 @@ install: $(INSTALL_DEPS) # Include common targets # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/eoib.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/eoib.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/eoib/eib_adm.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_chan.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_cmn.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_ctl.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_data.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_fip.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_ibt.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_log.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_mac.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_main.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_rsrc.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_svc.c \ - $(UTSBASE)/common/io/ib/clients/eoib/eib_vnic.c \ - $(UTSBASE)/common/sys/ib/clients/eoib/fip.h \ - $(UTSBASE)/common/sys/ib/clients/eoib/eib.h \ - $(UTSBASE)/common/sys/ib/clients/eoib/eib_impl.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/fcip/Makefile b/usr/src/uts/intel/fcip/Makefile index 0af2d29b95..f7187b5c4d 100644 --- a/usr/src/uts/intel/fcip/Makefile +++ b/usr/src/uts/intel/fcip/Makefile @@ -89,9 +89,6 @@ clobber: $(CLOBBER_DEPS) lint: $(LINT_DEPS) -warlock: - @echo warlock is not supported - modlintlib: $(MODLINTLIB_DEPS) clean.lint: $(CLEAN_LINT_DEPS) diff --git a/usr/src/uts/intel/fcsm/Makefile b/usr/src/uts/intel/fcsm/Makefile index c181fc205c..042e429b0b 100644 --- a/usr/src/uts/intel/fcsm/Makefile +++ b/usr/src/uts/intel/fcsm/Makefile @@ -88,9 +88,6 @@ clobber: $(CLOBBER_DEPS) lint: $(LINT_DEPS) -warlock: - @echo warlock is not supported - modlintlib: $(MODLINTLIB_DEPS) clean.lint: $(CLEAN_LINT_DEPS) diff --git a/usr/src/uts/intel/hci1394/Makefile b/usr/src/uts/intel/hci1394/Makefile index 324bfaad1e..18c4f5ed6b 100644 --- a/usr/src/uts/intel/hci1394/Makefile +++ b/usr/src/uts/intel/hci1394/Makefile @@ -45,9 +45,6 @@ LINTS = $(HCI1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/1394/adapters LDFLAGS += -dy -Nmisc/s1394 -WARLOCK_OUT = $(HCI1394_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -96,10 +93,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -113,34 +108,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# Warlock targets -# -S1394_FILES = $(S1394_OBJS:%.o= -l ../s1394/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) s1394.files warlock_ddi.files \ - $(WLCMD_DIR)/hci1394.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/hci1394.wlcmd $(WARLOCK_OUT) $(S1394_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/1394/adapters/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -s1394.files: - @cd ../s1394; pwd; $(MAKE) warlock - diff --git a/usr/src/uts/intel/hermon/Makefile b/usr/src/uts/intel/hermon/Makefile index df654582e9..1949d8f6ec 100644 --- a/usr/src/uts/intel/hermon/Makefile +++ b/usr/src/uts/intel/hermon/Makefile @@ -44,9 +44,6 @@ LINTS = $(HERMON_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/hermon LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf -WARLOCK_OUT = $(HERMON_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -106,25 +103,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/hermon.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/hermon.wlcmd $(WARLOCK_OUT) -l \ - $(UTSBASE)/intel/warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/adapters/hermon/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/hid/Makefile b/usr/src/uts/intel/hid/Makefile index ad070dfb6d..a8b0e576d4 100644 --- a/usr/src/uts/intel/hid/Makefile +++ b/usr/src/uts/intel/hid/Makefile @@ -40,9 +40,6 @@ MODULE = hid OBJECTS = $(HID_OBJS:%=$(OBJS_DIR)/%) LINTS = $(HID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(HID_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -86,10 +83,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -103,55 +98,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/hid.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/hid.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/hid/%.c \ - $(UTSBASE)/common/sys/usb/clients/hid/hidvar.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/hid_with_usba.wlcmd $(WARLOCK_OUT) usba_files \ - ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/hid_with_usba.wlcmd \ - $(USBA_FILES) \ - $(UHCI_FILES) $(OHCI_FILES) $(EHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock - diff --git a/usr/src/uts/intel/ib/Makefile b/usr/src/uts/intel/ib/Makefile index b66a6ca45a..48b58d2c5f 100644 --- a/usr/src/uts/intel/ib/Makefile +++ b/usr/src/uts/intel/ib/Makefile @@ -42,9 +42,6 @@ OBJECTS = $(IB_OBJS:%=$(OBJS_DIR)/%) LINTS = $(IB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/ibnex -WARLOCK_OUT = $(IB_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -64,9 +61,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) CERRWARN += -_gcc=-Wno-uninitialized -# -# lint pass one enforcement -# +# +# lint pass one enforcement +# CFLAGS += $(CCVERBOSE) # @@ -94,10 +91,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -111,31 +106,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -IBDM_FILES = $(IBDM_OBJS:%.o=../ibdm/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ib.wlcmd ibdm_files - $(WARLOCK) -c $(WLCMD_DIR)/ib.wlcmd $(WARLOCK_OUT) \ - -l $(IBDM_FILES) -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/ibnex/%.c \ - $(UTSBASE)/common/sys/ib/ibnex/ibnex.h \ - $(UTSBASE)/common/sys/ib/ibnex/ibnex_devctl.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -ibdm_files : - @cd ../ibdm; pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ibcm/Makefile b/usr/src/uts/intel/ibcm/Makefile index a3e573b057..16799ca83f 100644 --- a/usr/src/uts/intel/ibcm/Makefile +++ b/usr/src/uts/intel/ibcm/Makefile @@ -40,9 +40,6 @@ MODULE = ibcm OBJECTS = $(IBCM_OBJS:%=$(OBJS_DIR)/%) LINTS = $(IBCM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(IBCM_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -60,9 +57,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # Overrides. # -# -# lint pass one enforcement -# +# +# lint pass one enforcement +# CFLAGS += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-switch @@ -99,10 +96,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -116,24 +111,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ibcm.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/ibcm.wlcmd $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/mgt/ibcm/%.c \ - $(UTSBASE)/common/sys/ib/mgt/ibcm/ibcm_impl.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ibdm/Makefile b/usr/src/uts/intel/ibdm/Makefile index c957274d71..0dca661c45 100644 --- a/usr/src/uts/intel/ibdm/Makefile +++ b/usr/src/uts/intel/ibdm/Makefile @@ -40,8 +40,6 @@ MODULE = ibdm OBJECTS = $(IBDM_OBJS:%=$(OBJS_DIR)/%) LINTS = $(IBDM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(IBDM_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok # # Include common rules. @@ -59,9 +57,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # Overrides. # -# -# lint pass one enforcement -# +# +# lint pass one enforcement +# CFLAGS += $(CCVERBOSE) # @@ -89,10 +87,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -106,23 +102,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - - -$(WARLOCK_OK): $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/mgt/ibdm/%.c \ - $(UTSBASE)/common/sys/ib/mgt/ibdm/ibdm_impl.h \ - $(UTSBASE)/common/sys/ib/mgt/ibdm/ibdm_ibnex.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/ibdma/Makefile b/usr/src/uts/intel/ibdma/Makefile index 0450822478..8b5cb96982 100644 --- a/usr/src/uts/intel/ibdma/Makefile +++ b/usr/src/uts/intel/ibdma/Makefile @@ -40,8 +40,6 @@ MODULE = ibdma OBJECTS = $(IBDMA_OBJS:%=$(OBJS_DIR)/%) LINTS = $(IBDMA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(IBDMA_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok # # Include common rules. @@ -59,9 +57,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) # Overrides. # -# -# lint pass one enforcement -# +# +# lint pass one enforcement +# CFLAGS += $(CCVERBOSE) # @@ -87,10 +85,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -104,23 +100,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - - -$(WARLOCK_OK): $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/mgt/ibdma/%.c \ - $(UTSBASE)/common/sys/ib/mgt/ibdma/ibdma_impl.h \ - $(UTSBASE)/common/sys/ib/mgt/ibdma/ibdma.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/ibmf/Makefile b/usr/src/uts/intel/ibmf/Makefile index ddb162da36..6a8efa3937 100644 --- a/usr/src/uts/intel/ibmf/Makefile +++ b/usr/src/uts/intel/ibmf/Makefile @@ -41,9 +41,7 @@ OBJECTS = $(IBMF_OBJS:%=$(OBJS_DIR)/%) LINTS = $(IBMF_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl -WARLOCK_OUT = $(IBMF_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock + # # Include common rules. # @@ -62,9 +60,9 @@ INSTALL_TARGET = $(BINARY) $(ROOTMODULE) #DEBUG_DEFS_DBG32 += -DTNF_DEBUG -# -# lint pass one enforcement -# +# +# lint pass one enforcement +# CFLAGS += $(CCVERBOSE) # @@ -87,10 +85,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -104,27 +100,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/ibmf.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/ibmf.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/mgt/ibmf/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ibp/Makefile b/usr/src/uts/intel/ibp/Makefile index 7496199be8..f9525a17d2 100644 --- a/usr/src/uts/intel/ibp/Makefile +++ b/usr/src/uts/intel/ibp/Makefile @@ -38,9 +38,7 @@ ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/ibd LDFLAGS += -dy -Nmisc/mac -Nmisc/ibtl -Nmisc/ibcm -Nmisc/ibmf -Ndrv/ip \ -Nmisc/dls -Ndrv/dld -WARLOCK_OUT = $(IBD_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock + # # Include common rules. # @@ -74,10 +72,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -91,25 +87,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ibd.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/ibd.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/ibd/%.c \ - $(UTSBASE)/common/sys/ib/clients/ibd/ibd.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ibtl/Makefile b/usr/src/uts/intel/ibtl/Makefile index 26cbb7ee6d..ecf5bdd849 100644 --- a/usr/src/uts/intel/ibtl/Makefile +++ b/usr/src/uts/intel/ibtl/Makefile @@ -41,9 +41,6 @@ MODULE = ibtl OBJECTS = $(IBTL_OBJS:%=$(OBJS_DIR)/%) LINTS = $(IBTL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(IBTL_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -93,10 +90,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -110,24 +105,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/ibtl.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/ibtl.wlcmd $(WARLOCK_OUT) -l \ - ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/ibtl/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/mii/Makefile b/usr/src/uts/intel/mii/Makefile index 49071a070e..7f2167f18c 100644 --- a/usr/src/uts/intel/mii/Makefile +++ b/usr/src/uts/intel/mii/Makefile @@ -39,9 +39,6 @@ MODULE = mii OBJECTS = $(MII_OBJS:%=$(OBJS_DIR)/%) LINTS = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(MII_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -70,10 +67,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) diff --git a/usr/src/uts/intel/mpt_sas/Makefile b/usr/src/uts/intel/mpt_sas/Makefile index 01dd2e2da4..d0d809c3b5 100644 --- a/usr/src/uts/intel/mpt_sas/Makefile +++ b/usr/src/uts/intel/mpt_sas/Makefile @@ -39,9 +39,6 @@ OBJECTS = $(MPTSAS_OBJS:%=$(OBJS_DIR)/%) LINTS = $(MPTSAS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas/ -WARLOCK_OUT = $(MPTSAS_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Kernel Module Dependencies @@ -74,10 +71,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -91,36 +86,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -SCSI_FILES = $(SCSI_OBJS:%.o= -l $(UTSBASE)/intel/scsi/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files scsi.files \ - $(WLCMD_DIR)/mptsas.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/mptsas.wlcmd $(WARLOCK_OUT) \ - $(SCSI_FILES) \ - $(UTSBASE)/intel/warlock/scsi.ll \ - -l $(UTSBASE)/intel/warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/scsi/adapters/mpt_sas/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock - -scsi.files: - @cd $(UTSBASE)/intel/scsi; pwd; $(MAKE) warlock - diff --git a/usr/src/uts/intel/nulldriver/Makefile b/usr/src/uts/intel/nulldriver/Makefile index 96ca163261..1f2891ea3d 100644 --- a/usr/src/uts/intel/nulldriver/Makefile +++ b/usr/src/uts/intel/nulldriver/Makefile @@ -79,9 +79,6 @@ clobber: $(CLOBBER_DEPS) lint: $(LINT_DEPS) -warlock: - @echo warlock is not supported - modlintlib: $(MODLINTLIB_DEPS) clean.lint: $(CLEAN_LINT_DEPS) diff --git a/usr/src/uts/intel/nv_sata/Makefile b/usr/src/uts/intel/nv_sata/Makefile index 17f12c4fcd..9723cca3cc 100644 --- a/usr/src/uts/intel/nv_sata/Makefile +++ b/usr/src/uts/intel/nv_sata/Makefile @@ -36,9 +36,6 @@ OBJECTS = $(NV_SATA_OBJS:%=$(OBJS_DIR)/%) LINTS = $(NV_SATA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/nv_sata -WARLOCK_OUT = $(NV_SATA_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -61,7 +58,7 @@ CPPFLAGS += -DSGPIO_SUPPORT # # lint pass one enforcement -# +# CFLAGS += $(CCVERBOSE) # @@ -74,7 +71,7 @@ LDFLAGS += -dy -N misc/sata # to investigate and remove these for maximum lint coverage. # Please do not carry these forward to new Makefiles. # -LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN +LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN CERRWARN += -_gcc=-Wno-uninitialized @@ -88,10 +85,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -105,49 +100,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -NV_SATA_FILES = $(MODULE).ll -SD_FILES = $(SD_OBJS:%.o=../sd/%.ll) -SATA_FILES = $(SATA_OBJS:%.o=-l ../sata/%.ll) -SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll) -CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll) - -warlock: $(WARLOCK_OK) - - -$(WARLOCK_OK): $(WLCMD_DIR)/nv_sata.wlcmd $(WARLOCK_OUT) warlock_ddi.files \ - sata.files scsi.files sd.files cmlb.files - $(WARLOCK) -c $(WLCMD_DIR)/nv_sata.wlcmd $(WARLOCK_OUT) \ - $(SD_FILES) \ - $(SCSI_FILES) \ - $(CMLB_FILES) \ - $(SATA_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/sata/adapters/nv_sata/%.c - $(WLCC) $(CPPFLAGS) -D DEBUG -o $@ $< - -sata.files: - @cd ../sata; pwd; $(MAKE) warlock - -scsi.files: - @cd ../scsi; pwd; $(MAKE) warlock - -sd.files: - @cd ../sd; pwd; $(MAKE) warlock_alone - -cmlb.files: - @cd ../cmlb; pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ohci/Makefile b/usr/src/uts/intel/ohci/Makefile index afd68d8540..39068183bc 100644 --- a/usr/src/uts/intel/ohci/Makefile +++ b/usr/src/uts/intel/ohci/Makefile @@ -37,11 +37,8 @@ UTSBASE = ../.. MODULE = ohci OBJECTS = $(OHCI_OBJS:%=$(OBJS_DIR)/%) LINTS = $(OHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) -WARLOCK_OUT = $(OHCI_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/openhci -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -79,10 +76,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -96,33 +91,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o= -l ../usba/%.ll) - -warlock: $(WARLOCK_OK) - -ohci.ok: $(WARLOCK_OUT) $(WLCMD_DIR)/ohci.wlcmd warlock_ddi.files usba.files - $(WARLOCK) -c $(WLCMD_DIR)/ohci.wlcmd $(WARLOCK_OUT) \ - $(USBA_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/hcd/openhci/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -usba.files: - @cd ../usba; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/pmcs/Makefile b/usr/src/uts/intel/pmcs/Makefile index 31500be02f..3bc177d9cf 100644 --- a/usr/src/uts/intel/pmcs/Makefile +++ b/usr/src/uts/intel/pmcs/Makefile @@ -39,9 +39,6 @@ OBJECTS = $(PMCS_OBJS:%=$(OBJS_DIR)/%) LINTS = $(PMCS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs -WARLOCK_OUT = $(PMCS_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Kernel Module Dependencies diff --git a/usr/src/uts/intel/s1394/Makefile b/usr/src/uts/intel/s1394/Makefile index 0efc9bdc25..aa1961414b 100644 --- a/usr/src/uts/intel/s1394/Makefile +++ b/usr/src/uts/intel/s1394/Makefile @@ -43,9 +43,6 @@ MODULE = s1394 OBJECTS = $(S1394_OBJS:%=$(OBJS_DIR)/%) LINTS = $(S1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(S1394_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/sparc/$(MODULE) # # Include common rules. @@ -96,10 +93,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -113,23 +108,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/1394/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/sata/Makefile b/usr/src/uts/intel/sata/Makefile index c9f86f8c11..9d4e9bb2fc 100644 --- a/usr/src/uts/intel/sata/Makefile +++ b/usr/src/uts/intel/sata/Makefile @@ -45,8 +45,6 @@ MODULE = sata OBJECTS = $(SATA_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SATA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(SATA_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok # # Include common rules. @@ -103,10 +101,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -120,21 +116,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/sata/impl/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/sbp2/Makefile b/usr/src/uts/intel/sbp2/Makefile index 58f728a1d1..26d2f46fb9 100644 --- a/usr/src/uts/intel/sbp2/Makefile +++ b/usr/src/uts/intel/sbp2/Makefile @@ -39,9 +39,6 @@ MODULE = sbp2 OBJECTS = $(SBP2_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SBP2_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(SBP2_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -74,10 +71,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -91,25 +86,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock - -# -# Warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WARLOCK_CMD) - $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/sbp2/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/scsa1394/Makefile b/usr/src/uts/intel/scsa1394/Makefile index 18555118ca..8e07952219 100644 --- a/usr/src/uts/intel/scsa1394/Makefile +++ b/usr/src/uts/intel/scsa1394/Makefile @@ -35,9 +35,6 @@ MODULE = scsa1394 OBJECTS = $(SCSA1394_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SCSA1394_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(SCSA1394_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -77,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -94,49 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# Warlock targets -# -SBP2_FILES = $(SBP2_OBJS:%.o= -l ../sbp2/%.ll) -SD_FILES = $(SD_OBJS:%.o=../sd/%.ll) -SCSI_FILES = $(SCSI_OBJS:%.o= -l ../scsi/%.ll) -CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) sbp2.files warlock_ddi.files \ - $(WLCMD_DIR)/scsa1394.wlcmd sd.files scsi.files cmlb.files - $(WARLOCK) -c $(WLCMD_DIR)/scsa1394.wlcmd $(WARLOCK_OUT) $(SD_FILES) \ - $(SCSI_FILES) \ - $(CMLB_FILES) \ - $(SBP2_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/1394/targets/scsa1394/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -sbp2.files: - @cd ../sbp2; pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -sd.files: - @cd ../sd; pwd; $(MAKE) warlock_alone - -scsi.files: - @cd ../scsi; pwd; $(MAKE) warlock - -cmlb.files: - @cd ../cmlb; pwd; $(MAKE) warlock - diff --git a/usr/src/uts/intel/scsa2usb/Makefile b/usr/src/uts/intel/scsa2usb/Makefile index 8562d9231e..61acb5215e 100644 --- a/usr/src/uts/intel/scsa2usb/Makefile +++ b/usr/src/uts/intel/scsa2usb/Makefile @@ -42,9 +42,6 @@ OBJECTS = $(SCSA2USB_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SCSA2USB_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/scsa2usb -WARLOCK_OUT = $(SCSA2USB_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -89,10 +86,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -106,79 +101,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) -SD_FILES = $(SD_OBJS:%.o=../sd/%.ll) -ST_FILES = $(ST_OBJS:%.o=../st/%.ll) -SCSI_FILES = $(SCSI_OBJS:%.o= -l ../scsi/%.ll) -CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/scsa2usb.wlcmd warlock_ddi.files \ - scsi.files - $(WARLOCK) -c $(WLCMD_DIR)/scsa2usb.wlcmd $(WARLOCK_OUT) \ - ../warlock/scsi.ll \ - $(SCSI_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/scsa2usb/%.c \ - $(UTSBASE)/common/sys/usb/clients/mass_storage/usb_bulkonly.h \ - $(UTSBASE)/common/sys/usb/clients/mass_storage/usb_cbi.h \ - $(UTSBASE)/common/sys/usb/scsa2usb/scsa2usb.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/scsa2usb_with_usba.wlcmd \ - $(WARLOCK_OUT) usba_files \ - ohci_files ehci_files uhci_files warlock_ddi.files sd.files st.files \ - cmlb.files scsi.files - $(WARLOCK) -c $(WLCMD_DIR)/scsa2usb_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(SD_FILES) \ - $(ST_FILES) \ - $(CMLB_FILES) \ - $(SCSI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -scsi.files: - @cd ../scsi; pwd; $(MAKE) warlock - -sd.files: - @cd ../sd; pwd; $(MAKE) warlock_alone - -st.files: - @cd ../st; pwd; $(MAKE) warlock_alone - -cmlb.files: - @cd ../cmlb; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/scsi/Makefile b/usr/src/uts/intel/scsi/Makefile index f4b8ec262c..5aeaf4c0f1 100644 --- a/usr/src/uts/intel/scsi/Makefile +++ b/usr/src/uts/intel/scsi/Makefile @@ -43,9 +43,6 @@ MODULE = scsi OBJECTS = $(SCSI_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SCSI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(SCSI_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/sparc/$(MODULE) # # Include common rules. @@ -88,10 +85,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -105,23 +100,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch - -# -# Warlock targets -# -warlock: $(MODULE).ok - -%.ok: $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/scsi/impl/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -%.ll: $(UTSBASE)/common/io/scsi/conf/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/sd/Makefile b/usr/src/uts/intel/sd/Makefile index 90e10840c1..cfa86ca4e5 100644 --- a/usr/src/uts/intel/sd/Makefile +++ b/usr/src/uts/intel/sd/Makefile @@ -42,9 +42,6 @@ OBJECTS = $(SD_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SD_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets -WARLOCK_OUT = $(SD_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -92,10 +89,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -109,48 +104,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# Warlock targets -# -# Note that in warlock_with_{esp,isp} it is important to load sd.ll -# before {isp,esp}.ll; the reason is that both have _init/_info/_fini -# and warlock can only handle one extern function by a given name; -# any loaded after the first are ignored. - -SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll) -CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll) - -WARLOCK_TARGETS = warlock_alone - -warlock: $(WARLOCK_TARGETS) - -warlock_alone: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WLCMD_DIR)/sd.wlcmd $(WARLOCK_OUT) scsi_files \ - warlock_ddi.files cmlb_files - $(WARLOCK) -c $(WLCMD_DIR)/sd.wlcmd $(WARLOCK_OUT) $(SCSI_FILES) \ - $(CMLB_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/scsi/targets/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -cmlb_files: - @cd ../cmlb; pwd; $(MAKE) warlock - -scsi_files: - @cd ../scsi; pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ses/Makefile b/usr/src/uts/intel/ses/Makefile index f1b4243862..a0e45fb059 100644 --- a/usr/src/uts/intel/ses/Makefile +++ b/usr/src/uts/intel/ses/Makefile @@ -44,9 +44,6 @@ OBJECTS = $(SES_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SES_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets -WARLOCK_OUT = $(SES_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -59,7 +56,6 @@ include $(UTSBASE)/intel/Makefile.intel ALL_TARGET = $(BINARY) $(SRC_CONFILE) LINT_TARGET = $(MODULE).lint INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) -CLEANFILES += $(WARLOCK_TARGETS) # # For now, disable these lint checks; maintainers should endeavor @@ -84,10 +80,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -101,40 +95,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# Warlock targets -# -SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll) - -WARLOCK_TARGETS = $(WARLOCK_OK) - -warlock: $(WARLOCK_TARGETS) - -# XXX FIX ME: why only ses.ll? - -$(WARLOCK_OK): $(WLCMD_DIR)/$(MODULE).wlcmd $(WARLOCK_OUT) - @cd ../warlock; $(MAKE) warlock - @cd ../scsi; $(MAKE) warlock - $(WARLOCK) -c $(WLCMD_DIR)/$(MODULE).wlcmd ses.ll \ - ../warlock/scsi.ll \ - -l ../warlock/ddi_dki_impl.ll \ - $(SCSI_FILES) - @ $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/scsi/targets/%.c - $(WLCC) $(CPPFLAGS) -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - - diff --git a/usr/src/uts/intel/si3124/Makefile b/usr/src/uts/intel/si3124/Makefile index 813a7b9011..b778602e28 100644 --- a/usr/src/uts/intel/si3124/Makefile +++ b/usr/src/uts/intel/si3124/Makefile @@ -26,7 +26,7 @@ # # -# This makefile drives the production of the +# This makefile drives the production of the # "platform/i86pc/kernel/drv/si3124" kernel module. # # intel architecture dependent @@ -45,9 +45,6 @@ OBJECTS = $(SI3124_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SI3124_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/sata/adapters/si3124 -WARLOCK_OUT = $(SI3124_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -71,7 +68,7 @@ CERRWARN += -_gcc=-Wno-uninitialized # # lint pass one enforcement -# +# CFLAGS += $(CCVERBOSE) # @@ -89,10 +86,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -106,48 +101,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -SI3124_FILES = $(MODULE).ll -SD_FILES = $(SD_OBJS:%.o=../sd/%.ll) -SATA_FILES = $(SATA_OBJS:%.o=-l ../sata/%.ll) -SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll) -CMLB_FILES = $(CMLB_OBJS:%.o=-l ../cmlb/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WLCMD_DIR)/si3124.wlcmd $(WARLOCK_OUT) warlock_ddi.files \ - sata.files scsi.files sd.files cmlb.files - $(WARLOCK) -c $(WLCMD_DIR)/si3124.wlcmd $(WARLOCK_OUT) \ - $(SD_FILES) \ - $(SCSI_FILES) \ - $(CMLB_FILES) \ - $(SATA_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/sata/adapters/si3124/%.c - $(WLCC) $(CPPFLAGS) -D DEBUG -o $@ $< - -sata.files: - @cd ../sata; pwd; $(MAKE) warlock - -scsi.files: - @cd ../scsi; pwd; $(MAKE) warlock - -sd.files: - @cd ../sd; pwd; $(MAKE) warlock_alone - -cmlb.files: - @cd ../cmlb; pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/sol_ofs/Makefile b/usr/src/uts/intel/sol_ofs/Makefile index e83b128b6e..8f1e756ee3 100644 --- a/usr/src/uts/intel/sol_ofs/Makefile +++ b/usr/src/uts/intel/sol_ofs/Makefile @@ -36,9 +36,7 @@ OBJECTS = $(SOL_OFS_OBJS:%=$(OBJS_DIR)/%) LINTS = $(SOL_OFS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm -WARLOCK_OUT = $(SOL_OFS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock + # # Include common rules. # @@ -76,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -93,25 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/sol_ofs.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/sol_ofs.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/of/sol_ofs/%.c \ - $(UTSBASE)/common/sys/ib/clients/of/sol_ofs/sol_uverbs.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/sol_ucma/Makefile b/usr/src/uts/intel/sol_ucma/Makefile index 6bdde86210..4b51aae13c 100644 --- a/usr/src/uts/intel/sol_ucma/Makefile +++ b/usr/src/uts/intel/sol_ucma/Makefile @@ -37,9 +37,7 @@ LINTS = $(SOL_UCMA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/sol_ofs CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_ucma -WARLOCK_OUT = $(SOL_UCMA:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock + # # Include common rules. # @@ -76,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -93,25 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/sol_ucma.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/sol_ucma.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/of/sol_ucma/%.c \ - $(UTSBASE)/common/sys/ib/clients/of/sol_ucma/sol_ucma.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/sol_uverbs/Makefile b/usr/src/uts/intel/sol_uverbs/Makefile index 0e913dd524..548d80aad3 100644 --- a/usr/src/uts/intel/sol_uverbs/Makefile +++ b/usr/src/uts/intel/sol_uverbs/Makefile @@ -37,9 +37,7 @@ LINTS = $(SOL_UVERBS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) LDFLAGS += -dy -Nmisc/ibtl -Nmisc/sol_ofs CONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/of/sol_uverbs -WARLOCK_OUT = $(SOL_UVERBS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock + # # Include common rules. # @@ -76,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -93,25 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/sol_uverbs.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/sol_uverbs.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/clients/of/sol_uverbs/%.c \ - $(UTSBASE)/common/sys/ib/clients/of/sol_uverbs/sol_uverbs.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/st/Makefile b/usr/src/uts/intel/st/Makefile index 078d5a3796..96ec74eb2f 100644 --- a/usr/src/uts/intel/st/Makefile +++ b/usr/src/uts/intel/st/Makefile @@ -43,9 +43,6 @@ OBJECTS = $(ST_OBJS:%=$(OBJS_DIR)/%) LINTS = $(ST_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/intel/io/scsi/targets -WARLOCK_OUT = $(ST_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -93,10 +90,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -110,41 +105,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# Warlock targets -# - -SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll) - -WARLOCK_TARGETS = warlock_alone - -warlock: $(WARLOCK_TARGETS) - -warlock_alone: $(WARLOCK_OK) - -scsi_files: - @cd ../scsi; pwd; $(MAKE) warlock - -$(WARLOCK_OK): $(WLCMD_DIR)/st.wlcmd $(WARLOCK_OUT) scsi_files \ - warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/st.wlcmd $(WARLOCK_OUT) $(SCSI_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/scsi/targets/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -scsi.files: - @cd ../scsi; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/tavor/Makefile b/usr/src/uts/intel/tavor/Makefile index bf51bf8a59..fd0923b3c8 100644 --- a/usr/src/uts/intel/tavor/Makefile +++ b/usr/src/uts/intel/tavor/Makefile @@ -44,9 +44,6 @@ LINTS = $(TAVOR_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/ib/adapters/tavor LDFLAGS += -dy -Ndrv/ib -Nmisc/ibtl -Nmisc/ibmf -WARLOCK_OUT = $(TAVOR_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -99,10 +96,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -116,25 +111,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/tavor.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/tavor.wlcmd $(WARLOCK_OUT) -l \ - $(UTSBASE)/intel/warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/ib/adapters/tavor/%.c - $(WLCC) $(CPPFLAGS) -DNPROBE -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd $(UTSBASE)/intel/warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/tem/Makefile b/usr/src/uts/intel/tem/Makefile index 1d877e2259..bfeecb298b 100644 --- a/usr/src/uts/intel/tem/Makefile +++ b/usr/src/uts/intel/tem/Makefile @@ -40,9 +40,6 @@ MODULE = tem OBJECTS = $(TEM_OBJS:%=$(OBJS_DIR)/%) LINTS = $(TEM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(TEM_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -93,26 +90,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands -# -TEST = test -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock - -# -# warlock targets -# - -warlock: $(WARLOCK_OUT) warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/tem.wlcmd $(WARLOCK_OUT) \ - -l ../../intel/warlock/ddi_dki_impl.ll - $(TOUCH) $(WARLOCK_OK) - -%.ll: $(UTSBASE)/common/io/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../../intel/warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/ugen/Makefile b/usr/src/uts/intel/ugen/Makefile index a56d9c759e..9c910827f1 100644 --- a/usr/src/uts/intel/ugen/Makefile +++ b/usr/src/uts/intel/ugen/Makefile @@ -41,9 +41,6 @@ MODULE = ugen OBJECTS = $(UGEN_OBJS:%=$(OBJS_DIR)/%) LINTS = $(UGEN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(UGEN_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -74,10 +71,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -91,52 +86,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/ugen.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/ugen.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/ugen/%.c \ - $(UTSBASE)/common/sys/usb/clients/ugen/ugend.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/ugen_with_usba.wlcmd $(WARLOCK_OUT) usba_files \ - ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/ugen_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/uhci/Makefile b/usr/src/uts/intel/uhci/Makefile index 7b61ccf155..c8b5992927 100644 --- a/usr/src/uts/intel/uhci/Makefile +++ b/usr/src/uts/intel/uhci/Makefile @@ -40,9 +40,6 @@ OBJECTS = $(UHCI_OBJS:%=$(OBJS_DIR)/%) LINTS = $(UHCI_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci -WARLOCK_OUT = $(UHCI_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -86,10 +83,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -103,34 +98,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o= -l ../usba/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/uhci.wlcmd warlock_ddi.files \ - usba.files - $(WARLOCK) -c $(WLCMD_DIR)/uhci.wlcmd $(WARLOCK_OUT) \ - $(USBA_FILES) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/hcd/uhci/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock - -usba.files: - @cd ../usba; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usb_ac/Makefile b/usr/src/uts/intel/usb_ac/Makefile index c35c2daa99..f2852a17c0 100644 --- a/usr/src/uts/intel/usb_ac/Makefile +++ b/usr/src/uts/intel/usb_ac/Makefile @@ -44,9 +44,6 @@ OBJECTS = $(USB_AC_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USB_AC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/audio/usb_ac -WARLOCK_OUT = $(USB_AC_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -86,10 +83,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -103,58 +98,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files \ - warlock_standalone warlock_usba.files warlock_with_usba - $(TOUCH) $(WARLOCK_OK) - -warlock_with_usba: $(WLCMD_DIR)/usb_ac_with_usba.wlcmd $(WARLOCK_OUT) \ - warlock_ddi.files warlock_usba.files warlock_ohci.files \ - warlock_ehci.files warlock_uhci.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_ac_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -warlock_standalone: $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/usb_ac.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/usb_ac.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -%.ll: $(UTSBASE)/common/io/usb/clients/audio/usb_ac/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_usba.files: - @cd ../usba;pwd; $(MAKE) warlock - -warlock_ohci.files: - @cd ../ohci;pwd; $(MAKE) warlock - -warlock_uhci.files: - @cd ../uhci;pwd; $(MAKE) warlock - -warlock_ehci.files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usb_ah/Makefile b/usr/src/uts/intel/usb_ah/Makefile index 6a3e43f1cf..a9984f9399 100644 --- a/usr/src/uts/intel/usb_ah/Makefile +++ b/usr/src/uts/intel/usb_ah/Makefile @@ -41,9 +41,6 @@ MODULE = usb_ah OBJECTS = $(USB_AH_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USB_AH_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE) -WARLOCK_OUT = $(USB_AH_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -87,10 +84,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -104,28 +99,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usb_ah.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_ah.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/audio/usb_ah/%.c \ - $(UTSBASE)/common/sys/usb/clients/audio/usb_ah/usb_ah.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usb_as/Makefile b/usr/src/uts/intel/usb_as/Makefile index 3973a5b4df..a2b03b11e7 100644 --- a/usr/src/uts/intel/usb_as/Makefile +++ b/usr/src/uts/intel/usb_as/Makefile @@ -43,9 +43,6 @@ MODULE = usb_as OBJECTS = $(USB_AS_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USB_AS_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USB_AS_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -86,10 +83,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -103,58 +98,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USB_AS_FILES = $(MODULE).ll -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files \ - warlock_standalone warlock_usba.files warlock_with_usba - $(TOUCH) $(WARLOCK_OK) - - -warlock_with_usba: $(WLCMD_DIR)/usb_as_with_usba.wlcmd $(WARLOCK_OUT) \ - warlock_ddi.files warlock_ohci.files warlock_usba.files \ - warlock_ehci.files warlock_uhci.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_as_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -warlock_standalone: $(WARLOCK_OUT) warlock_ddi.files $(WLCMD_DIR)/usb_as.wlcmd - $(WARLOCK) -c $(WLCMD_DIR)/usb_as.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -%.ll: $(UTSBASE)/common/io/usb/clients/audio/usb_as/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_usba.files: - @cd ../usba;pwd; $(MAKE) warlock - -warlock_ohci.files: - @cd ../ohci;pwd; $(MAKE) warlock - -warlock_uhci.files: - @cd ../uhci;pwd; $(MAKE) warlock - -warlock_ehci.files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - @cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usb_ia/Makefile b/usr/src/uts/intel/usb_ia/Makefile index 97c37f7e3e..5cb2c86e7a 100644 --- a/usr/src/uts/intel/usb_ia/Makefile +++ b/usr/src/uts/intel/usb_ia/Makefile @@ -40,9 +40,6 @@ MODULE = usb_ia OBJECTS = $(USB_IA_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USB_IA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USB_IA_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -77,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -94,52 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usb_ia.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_ia.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/usb_ia/%.c \ - $(UTSBASE)/common/sys/usb/usb_ia/usb_iavar.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/usb_ia_with_usba.wlcmd $(WARLOCK_OUT) \ - usba_files ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_ia_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usb_mid/Makefile b/usr/src/uts/intel/usb_mid/Makefile index ff5fe23bab..67e5a49dd0 100644 --- a/usr/src/uts/intel/usb_mid/Makefile +++ b/usr/src/uts/intel/usb_mid/Makefile @@ -40,9 +40,6 @@ MODULE = usb_mid OBJECTS = $(USB_MID_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USB_MID_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USB_MID_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -77,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -94,52 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usb_mid.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_mid.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/usb_mid/%.c \ - $(UTSBASE)/common/sys/usb/usb_mid/usb_midvar.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/usb_mid_with_usba.wlcmd $(WARLOCK_OUT) \ - usba_files ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usb_mid_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usba/Makefile b/usr/src/uts/intel/usba/Makefile index 0b11d372fc..fbd834917a 100644 --- a/usr/src/uts/intel/usba/Makefile +++ b/usr/src/uts/intel/usba/Makefile @@ -39,8 +39,6 @@ MODULE = usba OBJECTS = $(USBA_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBA_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(USBA_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok # # Include common rules. @@ -71,10 +69,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -88,21 +84,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock - -# -# Warlock targets -# -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/usba/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< diff --git a/usr/src/uts/intel/usbecm/Makefile b/usr/src/uts/intel/usbecm/Makefile index b1f761dfa6..3ee8f01ef6 100644 --- a/usr/src/uts/intel/usbecm/Makefile +++ b/usr/src/uts/intel/usbecm/Makefile @@ -39,9 +39,6 @@ MODULE = usbecm OBJECTS = $(USBECM_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBECM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USBECM_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -64,10 +61,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -81,53 +76,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd - -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -%.ll: $(UTSBASE)/common/io/usb/clients/usbecm/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbecm.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbecm.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -warlock_with_usba: $(WLCMD_DIR)/usbecm_with_usba.wlcmd $(WARLOCK_OUT) \ - usba_files ohci_files uhci_files ehci_files \ - warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbecm_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbftdi/Makefile b/usr/src/uts/intel/usbftdi/Makefile index c4521f48f4..4f9da61490 100644 --- a/usr/src/uts/intel/usbftdi/Makefile +++ b/usr/src/uts/intel/usbftdi/Makefile @@ -38,11 +38,8 @@ UTSBASE = ../.. MODULE = usbftdi OBJECTS = $(USBFTDI_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBFTDI_OBJS:%.o=$(LINTS_DIR)/%.ln) -WARLOCK_OUT = $(USBFTDI_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbser/usbftdi -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -67,10 +64,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -84,60 +79,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd -USBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll) -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): warlock_with_usba warlock_with_usbser - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbftdi/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \ - $(WARLOCK_CMD) - $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \ - $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll - -warlock_with_usba: $(WARLOCK_OUT) usbser_files \ - $(WLCMD_DIR)/usbftdi_with_usba.wlcmd usba_files ohci_files uhci_files \ - ehci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbftdi_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(USBSER_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -usbser_files: - @cd ../usbser; pwd; $(MAKE) warlock - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbprn/Makefile b/usr/src/uts/intel/usbprn/Makefile index dd4bdc7ede..d01d9c2106 100644 --- a/usr/src/uts/intel/usbprn/Makefile +++ b/usr/src/uts/intel/usbprn/Makefile @@ -40,9 +40,6 @@ MODULE = usbprn OBJECTS = $(USBPRN_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBPRN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USBPRN_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -77,10 +74,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -94,52 +89,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbprn.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbprn.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/printer/%.c \ - $(UTSBASE)/common/sys/usb/clients/printer/usbprn.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/usbprn_with_usba.wlcmd $(WARLOCK_OUT) \ - usba_files ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbprn_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbsacm/Makefile b/usr/src/uts/intel/usbsacm/Makefile index 390c663a59..23da8c76d0 100644 --- a/usr/src/uts/intel/usbsacm/Makefile +++ b/usr/src/uts/intel/usbsacm/Makefile @@ -38,9 +38,6 @@ MODULE = usbsacm OBJECTS = $(USBSACM_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBSACM_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USBSACM_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -65,10 +62,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -82,61 +77,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd - -USBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll) -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): warlock_with_usbser warlock_with_usba - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbsacm/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \ - $(WARLOCK_CMD) - $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \ - $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll - -warlock_with_usba: $(WLCMD_DIR)/usbsacm_with_usba.wlcmd $(WARLOCK_OUT) \ - usbser_files usba_files ohci_files uhci_files ehci_files \ - warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbsacm_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(USBSER_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -usbser_files: - @cd ../usbser; pwd; $(MAKE) warlock - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbser/Makefile b/usr/src/uts/intel/usbser/Makefile index a4aa5057fe..9022579ae6 100644 --- a/usr/src/uts/intel/usbser/Makefile +++ b/usr/src/uts/intel/usbser/Makefile @@ -40,9 +40,6 @@ MODULE = usbser OBJECTS = $(USBSER_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBSER_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE) -WARLOCK_OUT = $(USBSER_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -75,10 +72,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -92,29 +87,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# Warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WARLOCK_CMD) warlock_ddi.files - $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/usbser/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbskel/Makefile b/usr/src/uts/intel/usbskel/Makefile index f020121884..af92d96c7d 100644 --- a/usr/src/uts/intel/usbskel/Makefile +++ b/usr/src/uts/intel/usbskel/Makefile @@ -41,9 +41,6 @@ OBJECTS = $(USBSKEL_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBSKEL_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io/usb/clients/usbskel -WARLOCK_OUT = $(USBSKEL_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -78,10 +75,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -95,53 +90,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbskel.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbskel.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/usbskel/%.c \ - $(UTSBASE)/common/sys/usb/clients/usbskel/usbskel.h - $(WLCC) $(CPPFLAGS) -DDEBUG -DUSBSKEL_PM -DUSBSKEL_CPR -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/usbskel_with_usba.wlcmd $(WARLOCK_OUT) \ - usba_files ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbskel_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock - diff --git a/usr/src/uts/intel/usbsksp/Makefile b/usr/src/uts/intel/usbsksp/Makefile index 9fce0550b4..695d340f46 100644 --- a/usr/src/uts/intel/usbsksp/Makefile +++ b/usr/src/uts/intel/usbsksp/Makefile @@ -42,9 +42,6 @@ MODULE = usbsksp OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USBSER_KEYSPAN_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -67,10 +64,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -86,61 +81,3 @@ install: $(INSTALL_DEPS) include $(UTSBASE)/intel/Makefile.targ CERRWARN += -_gcc=-Wno-uninitialized - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/usbser_keyspan.wlcmd - -USBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll) -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): warlock_with_usba warlock_with_usbser - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbser_keyspan/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \ - $(WARLOCK_CMD) - $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \ - $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll - -warlock_with_usba: $(WARLOCK_OUT) usbser_files \ - $(WLCMD_DIR)/usbser_keyspan_with_usba.wlcmd \ - usba_files ohci_files uhci_files ehci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbser_keyspan_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(USBSER_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -usbser_files: - @cd ../usbser; pwd; $(MAKE) warlock - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbsprl/Makefile b/usr/src/uts/intel/usbsprl/Makefile index 3a896a7a4e..a2fe99fea9 100644 --- a/usr/src/uts/intel/usbsprl/Makefile +++ b/usr/src/uts/intel/usbsprl/Makefile @@ -38,10 +38,7 @@ UTSBASE = ../.. MODULE = usbsprl OBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBSPRL_OBJS:%.o=$(LINTS_DIR)/%.ln) -WARLOCK_OUT = $(USBSPRL_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -66,10 +63,8 @@ all: $(ALL_DEPS) def: $(DEF_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -83,60 +78,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock -TEST = test - -# -# warlock -# -WARLOCK_CMD = $(WLCMD_DIR)/$(MODULE).wlcmd -USBSER_FILES = $(USBSER_OBJS:%.o=../usbser/%.ll) -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) - -$(WARLOCK_OK): warlock_with_usba warlock_with_usbser - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/usbser/usbsprl/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usbser: $(WARLOCK_OUT) usbser_files warlock_ddi.files \ - $(WARLOCK_CMD) - $(WARLOCK) -c $(WARLOCK_CMD) $(WARLOCK_OUT) \ - $(USBSER_FILES) -l ../warlock/ddi_dki_impl.ll - -warlock_with_usba: $(WARLOCK_OUT) usbser_files \ - $(WLCMD_DIR)/usbsprl_with_usba.wlcmd usba_files ohci_files uhci_files \ - ehci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbsprl_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(USBSER_FILES) \ - $(WARLOCK_OUT) -l ../warlock/ddi_dki_impl.ll - -usbser_files: - @cd ../usbser; pwd; $(MAKE) warlock - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/usbvc/Makefile b/usr/src/uts/intel/usbvc/Makefile index a447b0f875..303a025e1e 100644 --- a/usr/src/uts/intel/usbvc/Makefile +++ b/usr/src/uts/intel/usbvc/Makefile @@ -42,9 +42,6 @@ MODULE = usbvc OBJECTS = $(USBVC_OBJS:%=$(OBJS_DIR)/%) LINTS = $(USBVC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) -WARLOCK_OUT = $(USBVC_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -87,10 +84,8 @@ def: $(DEF_DEPS) all: $(ALL_DEPS) clean: $(CLEAN_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) clobber: $(CLOBBER_DEPS) - $(RM) $(WARLOCK_OUT) $(WARLOCK_OK) lint: $(LINT_DEPS) @@ -104,52 +99,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -# -# lock_lint rules -# -USBA_FILES = $(USBA_OBJS:%.o=../usba/%.ll) -UHCI_FILES = $(UHCI_OBJS:%.o=../uhci/%.ll) -OHCI_FILES = $(OHCI_OBJS:%.o=../ohci/%.ll) -EHCI_FILES = $(EHCI_OBJS:%.o=../ehci/%.ll) - -warlock: $(WARLOCK_OK) warlock_with_usba - -$(WARLOCK_OK): $(WARLOCK_OUT) $(WLCMD_DIR)/usbvc.wlcmd warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbvc.wlcmd $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/usb/clients/video/usbvc/%.c \ - $(UTSBASE)/common/sys/usb/clients/video/usbvc/usbvc_var.h - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock_with_usba: $(WLCMD_DIR)/usbvc_with_usba.wlcmd $(WARLOCK_OUT) \ - usba_files ohci_files ehci_files uhci_files warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/usbvc_with_usba.wlcmd \ - $(USBA_FILES) $(OHCI_FILES) $(EHCI_FILES) $(UHCI_FILES) \ - $(WARLOCK_OUT) \ - -l ../warlock/ddi_dki_impl.ll - -usba_files: - @cd ../usba;pwd; $(MAKE) warlock - -ohci_files: - @cd ../ohci;pwd; $(MAKE) warlock - -uhci_files: - @cd ../uhci;pwd; $(MAKE) warlock - -ehci_files: - @cd ../ehci;pwd; $(MAKE) warlock - -warlock_ddi.files: - cd ../warlock; pwd; $(MAKE) warlock diff --git a/usr/src/uts/intel/warlock/Makefile b/usr/src/uts/intel/warlock/Makefile deleted file mode 100644 index b109499204..0000000000 --- a/usr/src/uts/intel/warlock/Makefile +++ /dev/null @@ -1,116 +0,0 @@ -# -# CDDL HEADER START -# -# The contents of this file are subject to the terms of the -# Common Development and Distribution License (the "License"). -# You may not use this file except in compliance with the License. -# -# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE -# or http://www.opensolaris.org/os/licensing. -# See the License for the specific language governing permissions -# and limitations under the License. -# -# When distributing Covered Code, include this CDDL HEADER in each -# file and include the License file at usr/src/OPENSOLARIS.LICENSE. -# If applicable, add the following below this CDDL HEADER, with the -# fields enclosed by brackets "[]" replaced with your own identifying -# information: Portions Copyright [yyyy] [name of copyright owner] -# -# CDDL HEADER END -# - -# -# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. -# -# uts/intel/warlock/Makefile -# -# Path to the base of the uts directory tree (usually /usr/src/uts). -# -UTSBASE = ../.. - -# -# Define the module and object file sets. -# -MODULE = warlock -ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) - -.KEEP_STATE: - -CFLAGS += -I../../common/sys -I../../sun/sys/scsi -D_KERNEL -# -# Defines for local commands. -# -WARLOCK = warlock -WLCC = wlcc -TOUCH = touch -TEST = test - -include $(UTSBASE)/intel/Makefile.intel - -# -# lock_lint rules -# -all: warlock warlock.1394 warlock.ecpp warlock.scsi \ - warlock.usb warlock.ib warlock.sata warlock.wc \ - warlock.audiohd - -warlock: $(MODULE).ok - -warlock.ok: ddi_dki_impl.ll scsi.ll - $(TOUCH) $@ - -%.ll: $(UTSBASE)/common/io/warlock/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -warlock.usb: - @cd ../usba; $(MAKE) clean; $(MAKE) warlock - @cd ../ohci; $(MAKE) clean; $(MAKE) warlock - @cd ../uhci; $(MAKE) clean; $(MAKE) warlock - @cd ../ehci; $(MAKE) clean; $(MAKE) warlock - @cd ../hid; $(MAKE) clean; $(MAKE) warlock - @cd ../scsa2usb; $(MAKE) clean; $(MAKE) warlock - @cd ../usb_ac; $(MAKE) clean; $(MAKE) warlock - @cd ../usb_as; $(MAKE) clean; $(MAKE) warlock - @cd ../usb_ah; $(MAKE) clean; $(MAKE) warlock - @cd ../ugen; $(MAKE) clean; $(MAKE) warlock - @cd ../usb_mid; $(MAKE) clean; $(MAKE) warlock - @cd ../usbprn; $(MAKE) clean; $(MAKE) warlock - @cd ../usbser; $(MAKE) clean; $(MAKE) warlock - @cd ../usbsksp; $(MAKE) clean; $(MAKE) warlock - @cd ../usbsprl; $(MAKE) clean; $(MAKE) warlock - @cd ../usbsacm; $(MAKE) clean; $(MAKE) warlock - @cd ../usbecm; $(MAKE) clean; $(MAKE) warlock - @cd ../usbskel; $(MAKE) clean; $(MAKE) warlock - -warlock.scsi: - @cd ../sd; $(MAKE) clean; $(MAKE) warlock - @cd ../ses; $(MAKE) clean; $(MAKE) warlock - @cd ../st; $(MAKE) clean; $(MAKE) warlock - -warlock.1394: - @cd ../s1394; $(MAKE) clean; $(MAKE) warlock - @cd ../hci1394; $(MAKE) clean; $(MAKE) warlock - @cd ../scsa1394; $(MAKE) clean; $(MAKE) warlock - @cd ../av1394; $(MAKE) clean; $(MAKE) warlock - -warlock.ecpp: - @cd ../ecpp; $(MAKE) clean; $(MAKE) warlock - -warlock.ib: - @cd ../ibmf; $(MAKE) clean; $(MAKE) warlock - @cd ../ib; $(MAKE) clean; $(MAKE) warlock - @cd ../ibtl; $(MAKE) clean; $(MAKE) warlock - @cd ../ibcm; $(MAKE) clean; $(MAKE) warlock - @cd ../ibd; $(MAKE) clean; $(MAKE) warlock - -warlock.sata: - @cd ../sata; $(MAKE) clean; $(MAKE) warlock - @cd ../si3124; $(MAKE) clean; $(MAKE) warlock - @cd ../nv_sata; $(MAKE) clean; $(MAKE) warlock - @cd ../ahci; $(MAKE) clean; $(MAKE) warlock - -warlock.wc: - @cd ../wc; $(MAKE) clean; $(MAKE) warlock - -warlock.audiohd: - @cd ../audiohd; $(MAKE) clean; $(MAKE) warlock diff --git a/usr/src/uts/intel/wc/Makefile b/usr/src/uts/intel/wc/Makefile index 29f823b998..d84d5a4faa 100644 --- a/usr/src/uts/intel/wc/Makefile +++ b/usr/src/uts/intel/wc/Makefile @@ -24,7 +24,7 @@ # Use is subject to license terms. # # -# This makefile drives the production of the wc driver +# This makefile drives the production of the wc driver # kernel module. # # intel implementation architecture independent @@ -43,9 +43,6 @@ OBJECTS = $(WC_OBJS:%=$(OBJS_DIR)/%) LINTS = $(WC_OBJS:%.o=$(LINTS_DIR)/%.ln) ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) CONF_SRCDIR = $(UTSBASE)/common/io -WARLOCK_OUT = $(WC_OBJS:%.o=%.ll) -WARLOCK_OK = $(MODULE).ok -WLCMD_DIR = $(UTSBASE)/common/io/warlock # # Include common rules. @@ -91,37 +88,3 @@ install: $(INSTALL_DEPS) # Include common targets. # include $(UTSBASE)/intel/Makefile.targ - -# -# Defines for local commands -# -TEST = test -WLCC = wlcc -TOUCH = touch -WARLOCK = warlock - -# -# warlock targets -# - -# -# vcons_conf.c is compile to genunix, add it to WARLOCK_OUT -# -WARLOCK_OUT += vcons_conf.ll - -warlock: $(WARLOCK_OUT) sdev_vtops.file warlock_ddi.files - $(WARLOCK) -c $(WLCMD_DIR)/wc.wlcmd $(WARLOCK_OUT) \ - -l ../../intel/warlock/ddi_dki_impl.ll - $(WARLOCK) -c $(WLCMD_DIR)/wc_devfs.wlcmd sdev_vtops.ll vcons_conf.ll \ - -l ../../intel/warlock/ddi_dki_impl.ll - $(TOUCH) $(WARLOCK_OK) - -%.ll: $(UTSBASE)/common/io/%.c - $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $< - -sdev_vtops.file: - $(WLCC) $(CPPFLAGS) -DDEBUG -o sdev_vtops.ll -c \ - ../../common/fs/dev/sdev_vtops.c - -warlock_ddi.files: - @cd ../../intel/warlock; pwd; $(MAKE) warlock |