2014-10-20 17:47:04 +00:00
|
|
|
--- a/makefile
|
|
|
|
+++ b/makefile
|
2019-03-24 20:04:50 +00:00
|
|
|
@@ -2,14 +2,14 @@
|
2014-06-12 12:48:33 +00:00
|
|
|
# Makefile for UNIX - unrar
|
|
|
|
|
|
|
|
# Linux using GCC
|
2016-06-16 08:08:30 +00:00
|
|
|
-CXX=c++
|
2018-03-27 02:13:13 +00:00
|
|
|
-CXXFLAGS=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
|
2019-03-24 20:04:50 +00:00
|
|
|
-LIBFLAGS=-fPIC
|
|
|
|
+CXX?=c++
|
|
|
|
+CXXFLAGS?=-O2 -Wno-logical-op-parentheses -Wno-switch -Wno-dangling-else
|
|
|
|
+LIBFLAGS?=-fPIC
|
2014-06-12 12:48:33 +00:00
|
|
|
DEFINES=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DRAR_SMP
|
2019-03-24 20:04:50 +00:00
|
|
|
-STRIP=strip
|
|
|
|
-AR=ar
|
2014-06-12 12:48:33 +00:00
|
|
|
-LDFLAGS=-pthread
|
2019-03-24 20:04:50 +00:00
|
|
|
-DESTDIR=/usr
|
|
|
|
+STRIP?=strip
|
|
|
|
+AR?=ar
|
|
|
|
+LDFLAGS?=-lpthread
|
|
|
|
+DESTDIR?=/usr
|
2014-06-12 12:48:33 +00:00
|
|
|
|
|
|
|
# Linux using LCC
|
2019-03-24 20:04:50 +00:00
|
|
|
#CXX=lcc
|
2020-06-06 23:03:48 +00:00
|
|
|
@@ -167,7 +167,7 @@ uninstall-unrar:
|
2015-12-07 16:27:15 +00:00
|
|
|
rm -f $(DESTDIR)/bin/unrar
|
|
|
|
|
|
|
|
install-lib:
|
|
|
|
- install libunrar.so $(DESTDIR)/lib
|
|
|
|
+ install -D libunrar.so $(DESTDIR)/lib/libunrar.so
|
2017-12-13 20:39:35 +00:00
|
|
|
install libunrar.a $(DESTDIR)/lib
|
2015-12-07 16:27:15 +00:00
|
|
|
|
|
|
|
uninstall-lib:
|