Lines Matching defs:TARGET
99 # setup the target - check the given type - make sure we have the
106 TARGET := $(basename $(TARGETNAME)).so
109 TARGET := $(basename $(TARGETNAME)).o
110 TARGETKO := $(addsuffix .ko,$(basename $(TARGET)))
111 TARGETMOD := $(addsuffix .mod,$(basename $(TARGET)))
114 TARGET := $(basename $(TARGETNAME)).a
117 TARGET := $(basename $(TARGETNAME)).out
120 TARGET := $(error Invalid TARGETTYPE)
145 MAPFILE := -Wl,-Map,$(TARGET).map
196 all : $(OBJDIRS) $(TARGET)
206 # Product 2.6.x kernel module based on target
210 $(TARGETKO): $(TARGETMOD).o $(TARGET)
218 $(TARGETMOD).c: $(TARGET)
219 $(MODPOST) $(TARGET)
224 # Build target
226 $(TARGET):$(OBJECTS) $(ST_LIBNAMES) $(DL_LIBNAMES)
255 install:: $(TARGETDIR) $(SUBMODULES) $(TARGET)
258 $(INSTALL) -D $(TARGET) $(TARGETDIR)/$(HOSTRELEASE)/$(SH_SONAME)
259 $(RM) -f $(TARGETDIR)/$(HOSTRELEASE)/$(TARGET)
260 ln -s $(SH_SONAME) $(TARGETDIR)/$(HOSTRELEASE)/$(TARGET)
265 $(INSTALL) -D $(TARGET) $(TARGETDIR)/$(HOSTRELEASE)/$(TARGET)
273 $(STRIP) --strip-unneeded -xgo $(ROOTFSDIR)/$(ROOTFSRELEASE)/$(SH_SONAME) $(TARGET)
274 $(RM) -f $(ROOTFSDIR)/$(ROOTFSRELEASE)/$(TARGET)
275 ln -s $(SH_SONAME) $(ROOTFSDIR)/$(ROOTFSRELEASE)/$(TARGET)
280 $(STRIP) --strip-unneeded -xgo $(ROOTFSDIR)/$(ROOTFSRELEASE)/$(TARGET) $(TARGET)
287 # clean - Remove build directory and target files
298 - $(call RM,-f $(TARGET))
299 - $(call RM,-f $(TARGET).map)
314 - @$(call RM, $(TARGET))
315 - @$(call RM, $(TARGET).map)
369 @$(SHELLCMD) echo TARGETDIR TARGETNAME: $(TARGET)