diff options
author | Christian Pointner <equinox@anytun.org> | 2008-11-25 14:45:45 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-11-25 14:45:45 +0000 |
commit | 196187cb8736188491614431637b2f4b325bf319 (patch) | |
tree | a9fe2f813e04a02476c9323b40d8ca9ea529e859 /src/anyrtpproxy | |
parent | updated manpages (diff) |
anyrtpproxy: fixed Makfile
Diffstat (limited to 'src/anyrtpproxy')
-rw-r--r-- | src/anyrtpproxy/Makefile | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/src/anyrtpproxy/Makefile b/src/anyrtpproxy/Makefile index 21f5949..76f0c6b 100644 --- a/src/anyrtpproxy/Makefile +++ b/src/anyrtpproxy/Makefile @@ -28,29 +28,24 @@ ## You should have received a copy of the GNU General Public License ## along with anytun. If not, see <http://www.gnu.org/licenses/>. ## -C = gcc -CFLAGS = -g -Wall -CFLAGS += -DSOCKETS_NAMESPACE=sockets -CFLAGS += -DSOCKETS_NAMESPACE_STR='"sockets"' -C++ = g++ +CC = gcc CCFLAGS = -g -Wall -CCFLAGS += -DSOCKETS_NAMESPACE=sockets -CCFLAGS += -DSOCKETS_NAMESPACE_STR='"sockets"' +CXX = g++ +CXXFLAGS = -g -Wall LD = g++ -LDFLAGS = -g -Wall -O2 -lpthread -lboost_thread -lssl -lboost_serialization +LDFLAGS = -g -Wall -O2 -lboost_thread -lboost_serialization -lboost_system OBJS = anyrtpproxy.o \ ../signalController.o \ - ../PracticalSocket.o \ ../log.o \ ../buffer.o \ ../rtpSessionTable.o \ ../rtpSession.o \ connectionList.o \ - ../syncSocketHandler.o \ - ../syncClientSocket.o \ + ../syncServer.o \ + ../syncClient.o \ + ../syncTcpConnection.o \ ../syncQueue.o \ - ../syncSocket.o \ ../seqWindow.o \ ../connectionParam.o \ ../routingTable.o \ @@ -61,7 +56,6 @@ OBJS = anyrtpproxy.o \ ../syncConnectionCommand.o \ ../networkAddress.o \ ../networkPrefix.o \ - ../Sockets/libSockets.a \ commandHandler.o \ portWindow.o \ callIdQueue.o \ @@ -75,22 +69,22 @@ anyrtpproxy: $(OBJS) $(LD) $(OBJS) -o $@ $(LDFLAGS) options.o: options.cpp options.h - $(C++) $(CCFLAGS) $< -c + $(CXX) $(CXXFLAGS) $< -c portWindow.o: portWindow.cpp portWindow.h - $(C++) $(CCFLAGS) $< -c + $(CXX) $(CXXFLAGS) $< -c connectionList.o: connectionList.cpp connectionList.h - $(C++) $(CCFLAGS) $< -c + $(CXX) $(CXXFLAGS) $< -c commandHandler.o: commandHandler.cpp commandHandler.h - $(C++) $(CCFLAGS) $< -c + $(CXX) $(CXXFLAGS) $< -c callIdQueue.o: callIdQueue.cpp callIdQueue.h - $(C++) $(CCFLAGS) $< -c + $(CXX) $(CXXFLAGS) $< -c anyrtpproxy.o: anyrtpproxy.cpp - $(C++) $(CCFLAGS) $< -c + $(CXX) $(CXXFLAGS) $< -c clean: rm -f *.o |