... | ... |
@@ -5,13 +5,11 @@ include ../../Makefile.defs |
5 | 5 |
auto_gen= |
6 | 6 |
NAME=phonenum.so |
7 | 7 |
|
8 |
-CXX=g++ |
|
9 |
-LD=g++ |
|
10 |
-LIB_DIR = /opt/local/lib |
|
8 |
+CXX?=g++ |
|
9 |
+LD?=g++ |
|
11 | 10 |
|
12 |
-LIBS= -L${LIB_DIR} cphonenumber.o -lphonenumber -lgeocoding |
|
13 |
- |
|
14 |
-DEFS+= -I/opt/local/include |
|
11 |
+LIBS+=-L$(LOCALBASE)/lib cphonenumber.o -lphonenumber -lgeocoding |
|
12 |
+DEFS+=-I$(LOCALBASE)/include |
|
15 | 13 |
|
16 | 14 |
CXXFLAGS=$(CFLAGS:-Wno-deprecated option=) |
17 | 15 |
CXXFLAGS+=-Wno-write-strings -Wno-deprecated -Wno-unused-function -Wno-sign-compare -Wno-strict-aliasing |
... | ... |
@@ -2,11 +2,11 @@ include ../../Makefile.defs |
2 | 2 |
auto_gen= |
3 | 3 |
NAME=rtp_media_server.so |
4 | 4 |
|
5 |
-DEFS+=-I$(LOCALBASE)/lib |
|
5 |
+DEFS+=-I$(LOCALBASE)/include |
|
6 | 6 |
|
7 | 7 |
ORTPLIBS=-lortp |
8 | 8 |
BCUNITLIBS=-lbcunit |
9 | 9 |
MS2LIBS=-lmediastreamer |
10 | 10 |
|
11 |
-LIBS=$(ORTPLIBS) $(BCUNITLIBS) $(MS2LIBS) |
|
11 |
+LIBS+=-L$(LOCALBASE)/lib $(ORTPLIBS) $(BCUNITLIBS) $(MS2LIBS) |
|
12 | 12 |
include ../../Makefile.modules |