summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/usbsacm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/usbsacm/Makefile')
-rw-r--r--usr/src/uts/sparc/usbsacm/Makefile69
1 files changed, 3 insertions, 66 deletions
diff --git a/usr/src/uts/sparc/usbsacm/Makefile b/usr/src/uts/sparc/usbsacm/Makefile
index 9c569539ce..3805e59c8b 100644
--- a/usr/src/uts/sparc/usbsacm/Makefile
+++ b/usr/src/uts/sparc/usbsacm/Makefile
@@ -39,18 +39,15 @@ 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.
#
include $(UTSBASE)/sparc/Makefile.sparc
-#
-# lint pass one enforcement
-#
+#
+# lint pass one enforcement
+#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser
@@ -71,10 +68,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)
@@ -88,61 +83,3 @@ install: $(INSTALL_DEPS)
# Include common targets.
#
include $(UTSBASE)/sparc/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