Print this page
4027 remove CLOSED_BUILD
4028 remove CLOSED_IS_PRESENT
4029 remove tonic build bits
Reviewed by: Andy Stormont <andyjstormont@gmail.com>


 109 #
 110 #       Include common targets.
 111 #
 112 include $(UTSBASE)/intel/Makefile.targ
 113 
 114 #
 115 #       Defines for local commands.
 116 #
 117 WARLOCK         = warlock
 118 WLCC            = wlcc
 119 TOUCH           = touch
 120 TEST            = test
 121 
 122 #
 123 # Warlock targets
 124 #
 125 
 126 SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll)
 127 
 128 WARLOCK_TARGETS = warlock_alone
 129 $(CLOSED_BUILD)WARLOCK_TARGETS += warlock_with_glm
 130 
 131 warlock: $(WARLOCK_TARGETS)
 132 
 133 warlock_alone: $(WARLOCK_OK)
 134 
 135 scsi_files:
 136         @cd ../scsi; pwd; $(MAKE) warlock
 137 
 138 $(WARLOCK_OK):  $(WLCMD_DIR)/st.wlcmd $(WARLOCK_OUT) scsi_files \
 139         warlock_ddi.files
 140         $(WARLOCK) -c $(WLCMD_DIR)/st.wlcmd $(WARLOCK_OUT) $(SCSI_FILES) \
 141         -l ../warlock/ddi_dki_impl.ll
 142         $(TOUCH) $@
 143 
 144 %.ll: $(UTSBASE)/common/io/scsi/targets/%.c
 145         $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
 146 
 147 warlock_with_glm: $(WLCMD_DIR)/st_with_glm.wlcmd $(WARLOCK_OUT) scsi_files \
 148         glm_files warlock_ddi.files
 149         $(WARLOCK) -c $(WLCMD_DIR)/st_with_glm.wlcmd \
 150                 $(WARLOCK_OUT) $(CLOSED)/uts/intel/glm/glm $(SCSI_FILES) \
 151                 -l ../warlock/ddi_dki_impl.ll
 152 glm_files:
 153         @cd $(CLOSED)/uts/intel/glm; pwd; $(MAKE) warlock
 154 
 155 warlock_ddi.files:
 156         @cd ../warlock; pwd; $(MAKE) warlock
 157 
 158 scsi.files:
 159         @cd ../scsi; pwd; $(MAKE) warlock


 109 #
 110 #       Include common targets.
 111 #
 112 include $(UTSBASE)/intel/Makefile.targ
 113 
 114 #
 115 #       Defines for local commands.
 116 #
 117 WARLOCK         = warlock
 118 WLCC            = wlcc
 119 TOUCH           = touch
 120 TEST            = test
 121 
 122 #
 123 # Warlock targets
 124 #
 125 
 126 SCSI_FILES = $(SCSI_OBJS:%.o=-l ../scsi/%.ll)
 127 
 128 WARLOCK_TARGETS = warlock_alone

 129 
 130 warlock: $(WARLOCK_TARGETS)
 131 
 132 warlock_alone: $(WARLOCK_OK)
 133 
 134 scsi_files:
 135         @cd ../scsi; pwd; $(MAKE) warlock
 136 
 137 $(WARLOCK_OK):  $(WLCMD_DIR)/st.wlcmd $(WARLOCK_OUT) scsi_files \
 138         warlock_ddi.files
 139         $(WARLOCK) -c $(WLCMD_DIR)/st.wlcmd $(WARLOCK_OUT) $(SCSI_FILES) \
 140         -l ../warlock/ddi_dki_impl.ll
 141         $(TOUCH) $@
 142 
 143 %.ll: $(UTSBASE)/common/io/scsi/targets/%.c
 144         $(WLCC) $(CPPFLAGS) -DDEBUG -o $@ $<
 145 








 146 warlock_ddi.files:
 147         @cd ../warlock; pwd; $(MAKE) warlock
 148 
 149 scsi.files:
 150         @cd ../scsi; pwd; $(MAKE) warlock