Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(771)

Unified Diff: net/third_party/udt/src/Makefile

Issue 6708091: Remove UDT. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/third_party/udt/doc/main.htm ('k') | net/third_party/udt/src/api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/third_party/udt/src/Makefile
===================================================================
--- net/third_party/udt/src/Makefile (revision 78992)
+++ net/third_party/udt/src/Makefile (working copy)
@@ -1,58 +0,0 @@
-C++ = g++
-
-ifndef os
- os = LINUX
-endif
-
-ifndef arch
- arch = IA32
-endif
-
-CCFLAGS = -fPIC -Wall -Wextra -D$(os) -finline-functions -O3 -fno-strict-aliasing #-msse3
-
-ifeq ($(arch), IA32)
- CCFLAGS += -DIA32
-endif
-
-ifeq ($(arch), POWERPC)
- CCFLAGS += -mcpu=powerpc
-endif
-
-ifeq ($(arch), SPARC)
- CCFLAGS += -mcpu=sparc
-endif
-
-ifeq ($(arch), IA64)
- CCFLAGS += -DIA64
-endif
-
-ifeq ($(arch), AMD64)
- CCFLAGS += -DAMD64
-endif
-
-OBJS = md5.o common.o window.o list.o buffer.o packet.o channel.o queue.o ccc.o cache.o core.o epoll.o api.o
-DIR = $(shell pwd)
-
-all: libudt.so libudt.a udt
-
-%.o: %.cpp %.h udt.h
- $(C++) $(CCFLAGS) $< -c
-
-libudt.so: $(OBJS)
-ifneq ($(os), OSX)
- $(C++) -shared -o $@ $^
-else
- $(C++) -dynamiclib -o libudt.dylib -lstdc++ -lpthread -lm $^
-endif
-
-libudt.a: $(OBJS)
- ar -rcs $@ $^
-
-udt:
- cp udt.h udt
-
-clean:
- rm -f *.o *.so *.dylib *.a udt
-
-install:
- export LD_LIBRARY_PATH=$(DIR):$$LD_LIBRARY_PATH
« no previous file with comments | « net/third_party/udt/doc/main.htm ('k') | net/third_party/udt/src/api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698