summaryrefslogtreecommitdiff
path: root/usr/src/uts/sparc/ibp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sparc/ibp/Makefile')
-rw-r--r--usr/src/uts/sparc/ibp/Makefile34
1 files changed, 4 insertions, 30 deletions
diff --git a/usr/src/uts/sparc/ibp/Makefile b/usr/src/uts/sparc/ibp/Makefile
index 908fd36b5d..6017f36362 100644
--- a/usr/src/uts/sparc/ibp/Makefile
+++ b/usr/src/uts/sparc/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.
#
@@ -60,9 +58,9 @@ ALL_BUILDS = $(ALL_BUILDSONLY64)
DEF_BUILDS = $(DEF_BUILDSONLY64)
CLEANLINTFILES += $(LINT32_FILES)
-#
-# lint pass one enforcement
-#
+#
+# lint pass one enforcement
+#
CFLAGS += $(CCVERBOSE)
#
@@ -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,25 +99,3 @@ install: $(INSTALL_DEPS)
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ
-
-#
-# Defines for local commands.
-#
-WARLOCK = warlock
-WLCC = wlcc
-TOUCH = touch
-TEST = test
-
-warlock: $(WARLOCK_OK) $(WARLOCK_OUT)
-
-$(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