Browse code

osp(s): update Makefile for libosptk

Daniel-Constantin Mierla authored on 25/07/2010 13:58:14
Showing 1 changed files
... ...
@@ -38,12 +38,9 @@
38 38
 include ../../Makefile.defs
39 39
 auto_gen=
40 40
 NAME=osp.so
41
-DEFS+=-D_POSIX_THREADS
42
-
43
-LIBS=$(shell if [ -f /usr/local/lib/libosptk.a ]; then echo "-losptk" ; else echo "-losp" ; fi)
44
-LIBS+=-lssl -lcrypto -lpthread -lm
45
-
46 41
 
42
+DEFS+=-D_POSIX_THREADS -I$(LOCALBASE)/include
43
+LIBS=-L$(LOCALBASE)/lib -losptk -lssl -lcrypto -lpthread -lm
47 44
 
48 45
 DEFS+=-DSER_MOD_INTERFACE
49 46