aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.in13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/Makefile.in b/src/lib/Makefile.in
index 7c1b708d..5d2476fd 100644
--- a/src/lib/Makefile.in
+++ b/src/lib/Makefile.in
@@ -62,21 +62,22 @@ subdir = src/lib/
all: all-ax
all-ax all-lib: stamp
-stamp: $(axiom_target_libdir)/libopen-axiom-core.la \
+stamp: $(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT) \
$(axiom_target_libdir)/libspad.la
rm -f stamp
$(STAMP) stamp
-$(axiom_target_libdir)/libopen-axiom-core.la: \
+$(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT): \
$(libopen_axiom_core_la_objects)
$(mkinstalldirs) $(axiom_target_libdir)
- $(LIBTOOL) --mode=link $(CC) -module -o $@ \
- $(libopen_axiom_core_la_objects)
+ $(LIBTOOL) --mode=link $(CC) -shared -o $@ \
+ $(libopen_axiom_core_la_objects) @axiom_c_runtime_extra@ \
+ -rpath "$(libdir)"/axiom/target/$(target)/lib
$(axiom_target_libdir)/libspad.la: $(libspad_la_objects)
$(mkinstalldirs) $(axiom_target_libdir)
$(LIBTOOL) --mode=link $(CC) -o $@ $(libspad_la_objects) \
- -rpath $(libdir)/axiom/target/$(target)/lib
+ -rpath "$(libdir)"/axiom/target/$(target)/lib
.PRECIOUS: %.$(OBJEXT) %.lo
@@ -91,7 +92,7 @@ mostlyclean-local:
@rm -f *.lo *.$(OBJEXT)
clean-local: mostlyclean-local
- @$(LIBTOOL) --mode=clean $(axiom_target_libdir)/libopen-axiom-core.la
+ @$(LIBTOOL) --mode=clean $(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT)
@$(LIBTOOL) --mode=clean $(axiom_target_libdir)/libspad.la
@rm -f $(other_objects)
@rm -fr .libs _libs