aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-03-16 08:09:13 +0000
committerdos-reis <gdr@axiomatics.org>2008-03-16 08:09:13 +0000
commit48272db136adb7a6a2b36204d03f12760cc7aa40 (patch)
treecbf157cbc38f7d3d992c97d77a3a678f2231b273 /src/lib
parent9b4607c30264bc1a28ff3c94f0cd21a453619541 (diff)
downloadopen-axiom-48272db136adb7a6a2b36204d03f12760cc7aa40.tar.gz
* lib/Makefile.in ($(axiom_target_libdir)/libopen-axiom-core.$(DLLEXT)): Tidy.
($(axiom_target_libdir)/libspad.la): Likewise.
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