Print this page
7627 Build should be smarter about how SGSPROTO is created
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

*** 33,43 **** %.o: ../common/%.c $(COMPILE.c) $< $(POST_PROCESS_O) ! $(PROG): $(MAPFILES) clean: $(RM) $(OBJS) $(CLEANFILES) delete: --- 33,45 ---- %.o: ../common/%.c $(COMPILE.c) $< $(POST_PROCESS_O) ! $(PROG): $(OBJS) $(MAPFILES) ! $(LINK.c) $(OBJS) -o $@ $(LDLIBS) ! $(POST_PROCESS) clean: $(RM) $(OBJS) $(CLEANFILES) delete:
*** 51,62 **** # Special target for native builds (ie. when we need to build a version of ld # to build a version of ld :-). native: $(SGSBINDIR)/$(PROG) ! $(SGSBINDIR)/$(PROG) \ ! $(PROG): $$(OBJS) $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(POST_PROCESS) # Derived source and header files (messaging). --- 53,63 ---- # Special target for native builds (ie. when we need to build a version of ld # to build a version of ld :-). native: $(SGSBINDIR)/$(PROG) ! $(SGSBINDIR)/$(PROG): $(OBJS) $(SGSBINDIR) $(LINK.c) $(OBJS) -o $@ $(LDLIBS) $(POST_PROCESS) # Derived source and header files (messaging).