|
|
|
@ -216,7 +216,7 @@ $(2)_lib_libnames_shared := $$(if $$($(2)_install_shared_lib),lib$(1).so,) |
|
|
|
lib$(1).a : $$($(2)_objs) $$($(2)_c_objs) $$($(2)_lib_libnames) |
|
|
|
$(AR) rcs $$@ $$^ |
|
|
|
lib$(1).so : $$($(2)_objs) $$($(2)_c_objs) $$($(2)_lib_libnames_shared) |
|
|
|
$(LINK) -shared -o $$@ $(if $(filter Darwin,$(shell uname -s)),-install_name $(install_libs_dir)/$$@) $$^ $$($(2)_lib_libarg) $(LIBS) |
|
|
|
$(LINK) -shared -o $$@ $(if $(filter Darwin,$(shell uname -s)),-install_name $(install_libs_dir)/$$@) $$^ $$($(2)_lib_libnames) $(LIBS) |
|
|
|
|
|
|
|
$(2)_junk += lib$(1).a |
|
|
|
$(2)_junk += $$(if $$($(2)_install_shared_lib),lib$(1).so,) |
|
|
|
@ -235,7 +235,7 @@ $$($(2)_test_objs) : %.o : %.cc |
|
|
|
$(COMPILE) -c $$< |
|
|
|
|
|
|
|
$$($(2)_test_exes) : %-utst : %.t.o $$($(2)_test_libnames) |
|
|
|
$(LINK) -o $$@ $$< $$($(2)_test_libarg) $(LIBS) |
|
|
|
$(LINK) -o $$@ $$< $$($(2)_test_libnames) $(LIBS) |
|
|
|
|
|
|
|
$(2)_deps += $$($(2)_test_deps) |
|
|
|
$(2)_junk += \
|
|
|
|
@ -262,7 +262,7 @@ $$($(2)_prog_objs) : %.o : %.cc |
|
|
|
$(COMPILE) -c $$< |
|
|
|
|
|
|
|
$$($(2)_prog_exes) : % : %.o $$($(2)_prog_libnames) |
|
|
|
$(LINK) -o $$@ $$< $$($(2)_prog_libarg) $(LIBS) |
|
|
|
$(LINK) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS) |
|
|
|
|
|
|
|
$(2)_deps += $$($(2)_prog_deps) |
|
|
|
$(2)_junk += $$($(2)_prog_objs) $$($(2)_prog_deps) $$($(2)_prog_exes) |
|
|
|
@ -277,7 +277,7 @@ $$($(2)_install_prog_objs) : %.o : %.cc $$($(2)_gen_hdrs) |
|
|
|
$(COMPILE) -c $$< |
|
|
|
|
|
|
|
$$($(2)_install_prog_exes) : % : %.o $$($(2)_prog_libnames) |
|
|
|
$(LINK) -o $$@ $$< $$($(2)_prog_libarg) $(LIBS) |
|
|
|
$(LINK) -o $$@ $$< $$($(2)_prog_libnames) $(LIBS) |
|
|
|
|
|
|
|
$(2)_deps += $$($(2)_install_prog_deps) |
|
|
|
$(2)_junk += \
|
|
|
|
|