201 clean::
202 -$(RM) $(LIBDIR)/$(LIBRARY).lib
203
204 $(LIBDIR)/$(LIBRARY).lib:: $(OBJDIR)/$(LIBRARY).lib
205 $(install-file)
206
207 $(LIBDIR)/$(LIBRARY).dll:: $(OBJDIR)/$(LIBRARY).dll
208 $(install-file)
209
210 endif # INSTALL_DOT_LIB
211
212 else # PLATFORM
213
214 #
215 # On Solaris, use mcs to write the version into the comment section of
216 # the shared library. On other platforms set this to false at the
217 # make command line.
218 #
219 $(ACTUAL_LIBRARY):: $(COMPILE_FILES_o) $(FILES_m) $(FILES_reorder)
220 @$(prep-target)
221 @$(ECHO) "STATS: LIBRARY=$(LIBRARY), PRODUCT=$(PRODUCT), _OPT=$(_OPT)"
222 @$(ECHO) "Rebuilding $@ because of $?"
223 ifeq ($(LIBRARY), fdlibm)
224 $(AR) -r $@ $(FILES_o)
225 else # LIBRARY
226 $(LINKER) $(SHARED_LIBRARY_FLAG) -o $@ $(FILES_o) $(LDLIBS)
227 ifeq ($(WRITE_LIBVERSION),true)
228 $(MCS) -d -a "$(FULL_VERSION)" $@
229 endif # WRITE_LIBVERSION
230 endif # LIBRARY
231
232 endif # PLATFORM
233
234 #
235 # Cross check all linted files against each other
236 #
237 ifeq ($(PLATFORM),solaris)
238 lint.errors : $(FILES_ln)
239 $(LINT.c) $(FILES_ln) $(LDLIBS)
240 endif
241
|
201 clean::
202 -$(RM) $(LIBDIR)/$(LIBRARY).lib
203
204 $(LIBDIR)/$(LIBRARY).lib:: $(OBJDIR)/$(LIBRARY).lib
205 $(install-file)
206
207 $(LIBDIR)/$(LIBRARY).dll:: $(OBJDIR)/$(LIBRARY).dll
208 $(install-file)
209
210 endif # INSTALL_DOT_LIB
211
212 else # PLATFORM
213
214 #
215 # On Solaris, use mcs to write the version into the comment section of
216 # the shared library. On other platforms set this to false at the
217 # make command line.
218 #
219 $(ACTUAL_LIBRARY):: $(COMPILE_FILES_o) $(FILES_m) $(FILES_reorder)
220 @$(prep-target)
221 @$(ECHO) "STATS: LIBRARY=$(LIBRARY), PRODUCT=$(PRODUCT), OPTIMIZATION_LEVEL=$(OPTIMIZATION_LEVEL)"
222 @$(ECHO) "Rebuilding $@ because of $?"
223 ifeq ($(LIBRARY), fdlibm)
224 $(AR) -r $@ $(FILES_o)
225 else # LIBRARY
226 $(LINKER) $(SHARED_LIBRARY_FLAG) -o $@ $(FILES_o) $(LDLIBS)
227 ifeq ($(WRITE_LIBVERSION),true)
228 $(MCS) -d -a "$(FULL_VERSION)" $@
229 endif # WRITE_LIBVERSION
230 endif # LIBRARY
231
232 endif # PLATFORM
233
234 #
235 # Cross check all linted files against each other
236 #
237 ifeq ($(PLATFORM),solaris)
238 lint.errors : $(FILES_ln)
239 $(LINT.c) $(FILES_ln) $(LDLIBS)
240 endif
241
|