projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modified: chan_lcr.c
[lcr.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a5dd458
..
1c9cca3
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,7
+18,11
@@
WITH-CRYPTO = 42 # comment this out, if no libcrypto should be used
INSTALL_BIN = /usr/local/bin
INSTALL_DATA = /usr/local/lcr
INSTALL_BIN = /usr/local/bin
INSTALL_DATA = /usr/local/lcr
+ifdef WITH-SOCKET
+LIBS += -lmisdn -lpthread
+else
LIBS += -lisdnnet -lmISDN -lpthread
LIBS += -lisdnnet -lmISDN -lpthread
+endif
CHANLIBS += -lmISDN
# give location of the curses or ncurses library
CHANLIBS += -lmISDN
# give location of the curses or ncurses library
@@
-38,13
+42,13
@@
GEN = ./gentones
GENW = ./genwave
GENRC = ./genrc
GENEXT = ./genextension
GENW = ./genwave
GENRC = ./genrc
GENEXT = ./genextension
-CFLAGS = -Wall -g -DINSTALL_DATA=\"$(INSTALL_DATA)\"
-I/usr/include/mISDNuser/
+CFLAGS = -Wall -g -DINSTALL_DATA=\"$(INSTALL_DATA)\"
#CFLAGS = -Wall -g -DINSTALL_DATA=\"$(INSTALL_DATA)\"
ifdef WITH-CRYPTO
CFLAGS += -DCRYPTO
endif
ifdef WITH-SOCKET
#CFLAGS = -Wall -g -DINSTALL_DATA=\"$(INSTALL_DATA)\"
ifdef WITH-CRYPTO
CFLAGS += -DCRYPTO
endif
ifdef WITH-SOCKET
-CFLAGS += -DSOCKET_MISDN
+CFLAGS += -DSOCKET_MISDN
-I/usr/include/mISDNuser
endif
ifdef WITH-CRYPTO
LIBDIR += -L/usr/local/ssl/lib
endif
ifdef WITH-CRYPTO
LIBDIR += -L/usr/local/ssl/lib