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

Side by Side Diff: third_party/woff2/Makefile

Issue 954163002: Add woff2 to src/third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase as third_party/ots/src/woff2.cc has changed Created 5 years, 8 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
« no previous file with comments | « third_party/woff2/LICENSE ('k') | third_party/woff2/OWNERS » ('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 OS := $(shell uname)
2
3 IDIRS=-I./brotli/dec/ -I./brotli/enc/ -I./src
4
5 CXX = g++
6 LFLAGS =
7 GFLAGS=-no-canonical-prefixes -fno-omit-frame-pointer -m64
8 CXXFLAGS = -c $(IDIRS) -std=c++0x $(GFLAGS)
9
10 ifeq ($(OS), Darwin)
11 CXXFLAGS += -DOS_MACOSX
12 else
13 CXXFLAGS += -fno-tree-vrp
14 endif
15
16 SRCDIR = src
17
18 OUROBJ = font.o glyph.o normalize.o table_tags.o transform.o \
19 woff2_dec.o woff2_enc.o
20
21 BROTLI = brotli
22 ENCOBJ = $(BROTLI)/enc/*.o
23 DECOBJ = $(BROTLI)/dec/*.o
24
25 OBJS = $(patsubst %, $(SRCDIR)/%, $(OUROBJ))
26 EXECUTABLES=woff2_compress woff2_decompress
27
28 EXE_OBJS=$(patsubst %, $(SRCDIR)/%.o, $(EXECUTABLES))
29
30 all : $(OBJS) $(EXECUTABLES)
31
32 $(EXECUTABLES) : $(EXE_OBJS) deps
33 $(CXX) $(LFLAGS) $(OBJS) $(ENCOBJ) $(DECOBJ) $(SRCDIR)/$@.o -o $@
34
35 deps :
36 make -C $(BROTLI)/dec
37 make -C $(BROTLI)/enc
38
39 clean :
40 rm -f $(OBJS) $(EXE_OBJS) $(EXECUTABLES)
41 make -C $(BROTLI)/dec clean
42 make -C $(BROTLI)/enc clean
OLDNEW
« no previous file with comments | « third_party/woff2/LICENSE ('k') | third_party/woff2/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698