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