blob: af05f435d3a8bfb2934d2c50dc450d841f5eb4d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
--- src/makelib.env.in.orig Sun Sep 21 18:31:38 2003
+++ src/makelib.env.in Sat May 7 00:33:13 2005
@@ -35,8 +35,8 @@
INSTALL_DATA = @INSTALL_DATA@
TARGETLIB_STATIC = $(TARGET_LIBNAME).a
-TARGETLIB_SHARED = $(TARGET_LIBNAME).so.$(LIBVERSION_CURRENT).$(LIBVERSION_REVISION).$(LIBVERSION_AGE)
-TARGETLIB_LINK1 = $(TARGET_LIBNAME).so.$(LIBVERSION_CURRENT)
+TARGETLIB_SHARED = $(TARGET_LIBNAME).so.$(LIBVERSION_CURRENT)
+TARGETLIB_LINK1 = $(TARGET_LIBNAME).so
TARGETLIB_LINK2 = $(TARGET_LIBNAME).so
TARGETLIB_SONAME = @WX_TARGET_LIBRARY_SONAME@
@@ -72,9 +72,8 @@
@$(INSTALL) -d $(top_builddir)/lib
$(SHARED_LD) $@ $(TARGETLIB_SONAME) $(OBJECTS) $(LDFLAGS_VERSIONING)
cd $(top_builddir)/lib \
- && $(RM) $(TARGETLIB_LINK1) $(TARGETLIB_LINK2) \
- && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK1) \
- && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK2)
+ && $(RM) $(TARGETLIB_LINK1) \
+ && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK1)
$(top_builddir)/lib/$(TARGETLIB_STATIC): $(OBJECTS)
@$(INSTALL) -d $(top_builddir)/lib
@@ -86,10 +85,9 @@
install_so:
$(INSTALL_PROGRAM) $(top_builddir)/lib/$(TARGETLIB_SHARED) $(libdir)/$(TARGETLIB_SHARED)
- @$(RM) $(libdir)/$(TARGETLIB_LINK1) $(libdir)/$(TARGETLIB_LINK2)
+ @$(RM) $(libdir)/$(TARGETLIB_LINK1)
cd $(libdir) \
- && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK1) \
- && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK2)
+ && $(LN_S) $(TARGETLIB_SHARED) $(TARGETLIB_LINK1)
install_a:
$(INSTALL_PROGRAM) $(top_builddir)/lib/$(TARGETLIB_STATIC) $(libdir)/$(TARGETLIB_STATIC)
@@ -105,7 +103,6 @@
$(RM) $(libdir)/$(TARGETLIB_STATIC)
$(RM) $(libdir)/$(TARGETLIB_SHARED)
$(RM) $(libdir)/$(TARGETLIB_LINK1)
- $(RM) $(libdir)/$(TARGETLIB_LINK2)
@echo "removing headers"
@for h in $(HEADERS); do \
$(RM) $(includedir)/wx/$(HEADER_SUBDIR)/$$h; \
@@ -118,7 +115,6 @@
clean:
$(RM) $(OBJECTS) $(top_builddir)/lib/$(TARGETLIB_SHARED) \
$(top_builddir)/lib/$(TARGETLIB_LINK1) \
- $(top_builddir)/lib/$(TARGETLIB_LINK2) \
$(top_builddir)/lib/$(TARGETLIB_STATIC) core
.PHONY: all libtype_so libtype_a install install_so install_a install_headers uninstall clean
|