summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/usbftdi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/usbftdi/Makefile')
-rw-r--r--usr/src/uts/intel/usbftdi/Makefile62
1 files changed, 0 insertions, 62 deletions
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