ac00bdebb4
- Bump PORTREVISION for package change - Cosmetic change Requested by: mi Tested by: mi, Robert Backhaus <robbak@robbak.com> (net-p2p/bitcoin maintainer)
25 lines
1.3 KiB
Text
25 lines
1.3 KiB
Text
--- Makefile.orig 2013-01-08 05:07:29.000000000 +0800
|
|
+++ Makefile 2013-04-13 03:12:17.312769320 +0800
|
|
@@ -83,9 +83,21 @@
|
|
$(SHARED3):
|
|
$(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(SOURCES) -o $(SHARED3) $(LIBS)
|
|
|
|
+SHARED += $(MEMENVLIBRARY_SHARED1) $(MEMENVLIBRARY_SHARED2) $(MEMENVLIBRARY_SHARED3)
|
|
+MEMENVLIBRARY_SHARED1 = libmemenv.$(PLATFORM_SHARED_EXT)
|
|
+MEMENVLIBRARY_SHARED2 = libmemenv.$(PLATFORM_SHARED_EXT).$(SHARED_MAJOR)
|
|
+MEMENVLIBRARY_SHARED3 = libmemenv.$(PLATFORM_SHARED_EXT).$(SHARED_MAJOR).$(SHARED_MINOR)
|
|
+MEMENVLIBRARY_SHARED = libmemenv.$(PLATFORM_SHARED_EXT).$(SHARED_MAJOR).$(SHARED_MINOR)
|
|
+$(MEMENVLIBRARY_SHARED1): $(MEMENVLIBRARY_SHARED3)
|
|
+ ln -fs $(MEMENVLIBRARY_SHARED3) $(MEMENVLIBRARY_SHARED1)
|
|
+$(MEMENVLIBRARY_SHARED2): $(MEMENVLIBRARY_SHARED3)
|
|
+ ln -fs $(MEMENVLIBRARY_SHARED3) $(MEMENVLIBRARY_SHARED2)
|
|
+$(MEMENVLIBRARY_SHARED3):
|
|
+ $(CXX) $(LDFLAGS) $(PLATFORM_SHARED_LDFLAGS)$(MEMENVLIBRARY_SHARED2) $(CXXFLAGS) $(PLATFORM_SHARED_CFLAGS) $(MEMENV_SOURCES) -o $(MEMENVLIBRARY_SHARED) $(LIBS)
|
|
+
|
|
endif # PLATFORM_SHARED_EXT
|
|
|
|
-all: $(SHARED) $(LIBRARY)
|
|
+all: $(SHARED) $(LIBRARY) $(MEMENVLIBRARY)
|
|
|
|
check: all $(PROGRAMS) $(TESTS)
|
|
for t in $(TESTS); do echo "***** Running $$t"; ./$$t || exit 1; done
|