fixed multiplexing bug at NT-mode.
[lcr.git] / Makefile
index 4129c90..fe9e712 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,12 +18,6 @@ WITH-CRYPTO = 42 # comment this out, if no libcrypto should be used
 INSTALL_BIN = /usr/local/bin
 INSTALL_DATA = /usr/local/lcr
 
-# give locations for the libraries
-LINUX_INCLUDE = -I/usr/src/linux/include
-
-# give location of the mISDN libraries
-MISDNUSER_INCLUDE = -I../mISDNuser/include -I../mISDNuser/i4lnet
-MISDNUSER_LIB = -L../mISDNuser/lib -L../mISDNuser/i4lnet
 LIBS += -lisdnnet -lmISDN -lpthread
 
 # give location of the curses or ncurses library
@@ -43,14 +37,12 @@ GENW = ./genwave
 GENRC = ./genrc
 GENEXT = ./genextension
 CFLAGS = -Wall -g -DINSTALL_DATA=\"$(INSTALL_DATA)\"
-CFLAGS += $(LINUX_INCLUDE) $(MISDNUSER_INCLUDE)
 ifdef WITH-CRYPTO
 CFLAGS += -DCRYPTO
 endif
 ifdef WITH-SOCKET
 CFLAGS += -DSOCKET_MISDN
 endif
-LIBDIR += $(MISDNUSER_LIB)
 ifdef WITH-CRYPTO
 LIBDIR += -L/usr/local/ssl/lib
 CFLAGS += -I/usr/local/ssl/include
@@ -313,5 +305,11 @@ fork: $(LCR)
        -killall -9 -w -q lcr # the following error must be ignored
        $(LCR) fork
 
+snapshot: clean
+       DIR=lcr-$$(date +"20%y_%m_%d") ; \
+       mkdir -p /tmp/$$DIR ; \
+       cp -a * /tmp/$$DIR ; \
+       cd /tmp/; \
+       tar czf $$DIR.tar.gz $$DIR