forked from vulkan-telecom/subscriberRegistry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
19 lines (15 loc) · 738 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TRUNK=../../openbts/trunk
COM=$(TRUNK)/CommonLibs
#SR=$(TRUNK)/subscriberRegistry/trunk-public-staging
LOCALLIBS=$(COM)/Logger.cpp $(COM)/Timeval.cpp $(COM)/Threads.cpp $(COM)/Sockets.cpp $(COM)/Configuration.cpp $(COM)/sqlite3util.cpp SubscriberRegistry.cpp servershare.cpp
LIBS=$(LOCALLIBS) -losipparser2 -losip2 -lc -lpthread -lsqlite3
INCLUDES=-I$(COM)
CPPFLAGS=-g -Wall -Wno-deprecated
all: srmanager.cgi sipauthserve
srmanager.cgi: srmanager.cpp $(LOCALLIBS)
g++ -o srmanager.cgi $(CPPFLAGS) $(INCLUDES) srmanager.cpp $(LIBS)
sipauthserve: sipauthserve.cpp $(LOCALLIBS)
g++ -o sipauthserve $(CPPFLAGS) $(INCLUDES) sipauthserve.cpp $(LIBS)
clean:
rm -f srmanager.cgi sipauthserve test.SubscriberRegistry/test
rm -r -f *.dSYM