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

Side by Side Diff: third_party/libevent/Makefile.nmake

Issue 1531573008: move libevent into base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix shim path Created 5 years 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
« no previous file with comments | « third_party/libevent/Makefile.am ('k') | third_party/libevent/README » ('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 # WATCH OUT! This makefile is a work in progress. It is probably missing
2 # tons of important things. DO NOT RELY ON IT TO BUILD A GOOD LIBEVENT.
3
4 # Needed for correctness
5 CFLAGS=/Iinclude /Icompat /IWIN32-Code /DWIN32 /DHAVE_CONFIG_H /I.
6
7 # For optimization and warnings
8 CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo
9
10 # XXXX have a debug mode
11
12 LIBFLAGS=/nologo
13
14
15 CORE_OBJS=event.obj buffer.obj evbuffer.obj \
16 log.obj evutil.obj \
17 strlcpy.obj signal.obj win32.obj
18 EXTRA_OBJS=event_tagging.obj http.obj evdns.obj evrpc.obj
19
20 ALL_OBJS=$(CORE_OBJS) $(WIN_OBJS) $(EXTRA_OBJS)
21 STATIC_LIBS=libevent_core.lib libevent_extras.lib libevent.lib
22
23
24 all: static_libs tests
25
26 static_libs: $(STATIC_LIBS)
27
28 win32.obj: WIN32-Code\win32.c
29 $(CC) $(CFLAGS) /c WIN32-Code\win32.c
30
31 libevent_core.lib: $(CORE_OBJS)
32 lib $(LIBFLAGS) $(CORE_OBJS) /out:libevent_core.lib
33
34 libevent_extras.lib: $(EXTRA_OBJS)
35 lib $(LIBFLAGS) $(EXTRA_OBJS) /out:libevent_extras.lib
36
37 libevent.lib: $(CORE_OBJ) $(EXTRA_OBJS)
38 lib $(LIBFLAGS) $(CORE_OBJS) $(EXTRA_OBJS) /out:libevent.lib
39
40 clean:
41 del $(ALL_OBJS)
42 del $(STATIC_LIBS)
43 cd test
44 $(MAKE) /F Makefile.nmake clean
45
46 tests:
47 cd test
48 $(MAKE) /F Makefile.nmake
OLDNEW
« no previous file with comments | « third_party/libevent/Makefile.am ('k') | third_party/libevent/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698