fixed some bugs
[lcr.git] / Makefile
index cfee9ee..254448c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
 
 WITH-CRYPTO = 42 # comment this out, if no libcrypto should be used
 #WITH-ASTERISK = 42 # comment this out, if you don't require built-in Asterisk channel driver.
-#WITH-SOCKET = 42 # compile for socket based mISDN (this options is far unfinished !!!)
+WITH-SOCKET = 42 # compile for socket based mISDN (this options is far unfinished !!!)
 # note: check your location and the names of libraries.
 
 # select location to install
@@ -127,6 +127,9 @@ endpointapp.o: endpointapp.cpp *.h Makefile
 apppbx.o: apppbx.cpp *.h Makefile
        $(PP) -c $(CFLAGS) apppbx.cpp -o apppbx.o
 
+callerid.o: callerid.c *.h Makefile
+       $(PP) -c $(CFLAGS) callerid.c -o callerid.o
+
 join.o: join.cpp *.h Makefile
        $(PP) -c $(CFLAGS) join.cpp -o join.o
 
@@ -187,6 +190,7 @@ $(LCR): main.o \
        endpoint.o \
        endpointapp.o \
        apppbx.o \
+       callerid.o \
        crypt.o \
        action.o \
        action_vbox.o \
@@ -214,6 +218,7 @@ $(LCR): main.o \
        endpoint.o \
        endpointapp.o \
        apppbx.o \
+       callerid.o \
        crypt.o \
        action.o \
        action_vbox.o \
@@ -262,7 +267,7 @@ install:
        -killall -9 -w -q lcr # the following error must be ignored
        cp $(LCR) $(INSTALL_BIN)
        cp $(LCRADMIN) $(INSTALL_BIN)
-ifdef WITH_ASTERISK
+ifdef WITH-ASTERISK
        cp $(CHAN_LCR) $(INSTALL_BIN)
 endif
 #      cp $(LCRWATCH) $(INSTALL_BIN)