117 ### -@mkdir -p $@
118 ###
119 ###wlocks/%.ll: %.c
120 ### wlcc $(CFLAGS) $(CPPFLAGS) -o $@ $<
121 ###
122 ###wlocks/%.ll: ../misc/%.c
123 ### wlcc $(CFLAGS) $(CPPFLAGS) -o $@ $<
124 ###
125 ###wlocks/%.ll: ../common/%.c
126 ### wlcc $(CFLAGS) $(CPPFLAGS) -o $@ $<
127 ###
128 ###wlocks/%64.ll: ../common/%.c
129 ### wlcc -D_ELF64 $(CFLAGS) $(CPPFLAGS) -o $@ $<
130
131
132 # Special target for native builds (ie. when we need to build a version of ld
133 # to build a version of ld :-).
134
135 native: $(SGSLIBDIR)/$(LIBLINKS)
136
137 $(SGSLIBDIR)/$(DYNLIB): pics .WAIT $$(PICS)
138 $(BUILD.SO)
139 $(POST_PROCESS_SO)
140
141 $(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
142 -@$(RM) $(SGSLIBDIR)/$(LIBLINKS)
143 $(SYMLINK) $(DYNLIB) $(SGSLIBDIR)/$(LIBLINKS)
144
145
146 # Derived source and header files (messaging). Make sure that the sgsmsg
147 # command is constructed - libelf might not be built with the whole sgs.
148
149 catalog: $(BLTMESG)
150
151 chkmsg: $(LIBSRCS)
152 sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
153
154 $(BLTDEFS) + \
155 $(BLTDATA): $(SGSMSG) $(SGSMSGTARG)
156 $(SGSMSG) $(SGSMSGFLAGS2) $(SGSMSGTARG)
157
|
117 ### -@mkdir -p $@
118 ###
119 ###wlocks/%.ll: %.c
120 ### wlcc $(CFLAGS) $(CPPFLAGS) -o $@ $<
121 ###
122 ###wlocks/%.ll: ../misc/%.c
123 ### wlcc $(CFLAGS) $(CPPFLAGS) -o $@ $<
124 ###
125 ###wlocks/%.ll: ../common/%.c
126 ### wlcc $(CFLAGS) $(CPPFLAGS) -o $@ $<
127 ###
128 ###wlocks/%64.ll: ../common/%.c
129 ### wlcc -D_ELF64 $(CFLAGS) $(CPPFLAGS) -o $@ $<
130
131
132 # Special target for native builds (ie. when we need to build a version of ld
133 # to build a version of ld :-).
134
135 native: $(SGSLIBDIR)/$(LIBLINKS)
136
137 $(PICS): pics
138
139 $(SGSLIBDIR)/$(DYNLIB): $(PICS) $(SGSLIBDIR)
140 $(BUILD.SO)
141 $(POST_PROCESS_SO)
142
143 $(SGSLIBDIR)/$(LIBLINKS): $(SGSLIBDIR)/$(DYNLIB)
144 -@$(RM) $(SGSLIBDIR)/$(LIBLINKS)
145 $(SYMLINK) $(DYNLIB) $(SGSLIBDIR)/$(LIBLINKS)
146
147
148 # Derived source and header files (messaging). Make sure that the sgsmsg
149 # command is constructed - libelf might not be built with the whole sgs.
150
151 catalog: $(BLTMESG)
152
153 chkmsg: $(LIBSRCS)
154 sh $(CHKMSG) $(CHKMSGFLAGS) $(LIBSRCS)
155
156 $(BLTDEFS) + \
157 $(BLTDATA): $(SGSMSG) $(SGSMSGTARG)
158 $(SGSMSG) $(SGSMSGFLAGS2) $(SGSMSGTARG)
159
|