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

Side by Side Diff: net/third_party/udt/app/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/third_party/udt/RELEASE_NOTES.txt ('k') | net/third_party/udt/app/appclient.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 C++ = g++
2
3 ifndef os
4 os = LINUX
5 endif
6
7 ifndef arch
8 arch = IA32
9 endif
10
11 CCFLAGS = -Wall -D$(os) -I../src -finline-functions -O3
12
13 ifeq ($(arch), IA32)
14 CCFLAGS += -DIA32 #-mcpu=pentiumpro -march=pentiumpro -mmmx -msse
15 endif
16
17 ifeq ($(arch), POWERPC)
18 CCFLAGS += -mcpu=powerpc
19 endif
20
21 ifeq ($(arch), IA64)
22 CCFLAGS += -DIA64
23 endif
24
25 LDFLAGS = -L../src -ludt -lstdc++ -lpthread -lm
26
27 ifeq ($(os), UNIX)
28 LDFLAGS += -lsocket
29 endif
30
31 DIR = $(shell pwd)
32
33 APP = appserver appclient sendfile recvfile test
34
35 all: $(APP)
36
37 %.o: %.cpp
38 $(C++) $(CCFLAGS) $< -c
39
40 appserver: appserver.o
41 $(C++) $^ -o $@ $(LDFLAGS)
42 appclient: appclient.o
43 $(C++) $^ -o $@ $(LDFLAGS)
44 sendfile: sendfile.o
45 $(C++) $^ -o $@ $(LDFLAGS)
46 recvfile: recvfile.o
47 $(C++) $^ -o $@ $(LDFLAGS)
48 test: test.o
49 $(C++) $^ -o $@ $(LDFLAGS)
50
51 clean:
52 rm -f *.o $(APP)
53
54 install:
55 export PATH=$(DIR):$$PATH
OLDNEW
« no previous file with comments | « net/third_party/udt/RELEASE_NOTES.txt ('k') | net/third_party/udt/app/appclient.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698