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

Side by Side Diff: third_party/yasm/patched-yasm/Mkfiles/Makefile.flat

Issue 6170009: Update our yasm copy to yasm 1.1.0 (Part 1: yasm side)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 11 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
OLDNEW
1 # $Id: Makefile.flat 2183 2009-03-24 04:58:46Z peter $ 1 # $Id: Makefile.flat 2284 2010-02-06 09:27:32Z peter $
2 # 2 #
3 # Ultra-flat Makefile "prototype" for non-Unix platforms. 3 # Ultra-flat Makefile "prototype" for non-Unix platforms.
4 # Does NOT depend on or use configure. 4 # Does NOT depend on or use configure.
5 # 5 #
6 # Works for simple build but *not* for development (no clean, dist, etc). 6 # Works for simple build but *not* for development (no clean, dist, etc).
7 # Also, WARNING, no header dependencies are included! 7 # Also, WARNING, no header dependencies are included!
8 # 8 #
9 # NOTE: Needs a valid config.h for the platform being compiled on. 9 # NOTE: Needs a valid config.h for the platform being compiled on.
10 # 10 #
11 # This file should be customized to particular platforms by changing CC and 11 # This file should be customized to particular platforms by changing CC and
12 # CFLAGS appropriately, along with writing a config.h and _stdint.h for the 12 # CFLAGS appropriately, along with writing a config.h and _stdint.h for the
13 # platform and placing them in a subdirectory of Mkfiles. 13 # platform and placing them in a subdirectory of Mkfiles.
14 14
15 CFLAGS=-DHAVE_CONFIG_H -IMkfiles -I. 15 CFLAGS=-DHAVE_CONFIG_H -IMkfiles -I.
16 CC?=gcc 16 CC?=gcc
17 BUILDCC?=$(CC) 17 BUILDCC?=$(CC)
18 18
19 all: yasm ytasm 19 all: yasm ytasm vsyasm
20 20
21 LIBYASM_OBJS= \ 21 LIBYASM_OBJS= \
22 libyasm/assocdat.o \ 22 libyasm/assocdat.o \
23 libyasm/bitvect.o \ 23 libyasm/bitvect.o \
24 libyasm/bc-align.o \ 24 libyasm/bc-align.o \
25 libyasm/bc-data.o \ 25 libyasm/bc-data.o \
26 libyasm/bc-incbin.o \ 26 libyasm/bc-incbin.o \
27 libyasm/bc-org.o \ 27 libyasm/bc-org.o \
28 libyasm/bc-reserve.o \ 28 libyasm/bc-reserve.o \
29 libyasm/bytecode.o \ 29 libyasm/bytecode.o \
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 YASM_MODULES+=objfmt_elf objfmt_elf32 objfmt_elf64 105 YASM_MODULES+=objfmt_elf objfmt_elf32 objfmt_elf64
106 YASM_MODULES+=objfmt_macho objfmt_macho32 objfmt_macho64 106 YASM_MODULES+=objfmt_macho objfmt_macho32 objfmt_macho64
107 YASM_MODULES+=objfmt_rdf 107 YASM_MODULES+=objfmt_rdf
108 YASM_MODULES+=objfmt_xdf 108 YASM_MODULES+=objfmt_xdf
109 109
110 MODULES_PARSERS_OBJS= \ 110 MODULES_PARSERS_OBJS= \
111 modules/parsers/nasm/nasm-parser.o \ 111 modules/parsers/nasm/nasm-parser.o \
112 modules/parsers/nasm/nasm-parse.o \ 112 modules/parsers/nasm/nasm-parse.o \
113 nasm-token.o \ 113 nasm-token.o \
114 modules/parsers/gas/gas-parser.o \ 114 modules/parsers/gas/gas-parser.o \
115 modules/parsers/gas/gas-parse-intel.o \
115 modules/parsers/gas/gas-parse.o \ 116 modules/parsers/gas/gas-parse.o \
116 gas-token.o 117 gas-token.o
117 YASM_MODULES+=parser_nasm parser_tasm 118 YASM_MODULES+=parser_nasm parser_tasm
118 YASM_MODULES+=parser_gas parser_gnu 119 YASM_MODULES+=parser_gas parser_gnu
119 120
120 MODULES_PREPROCS_NASM_OBJS= \ 121 MODULES_PREPROCS_NASM_OBJS= \
121 modules/preprocs/nasm/nasm-eval.o \ 122 modules/preprocs/nasm/nasm-eval.o \
122 modules/preprocs/nasm/nasm-pp.o \ 123 modules/preprocs/nasm/nasm-pp.o \
123 modules/preprocs/nasm/nasm-preproc.o \ 124 modules/preprocs/nasm/nasm-preproc.o \
124 modules/preprocs/nasm/nasmlib.o 125 modules/preprocs/nasm/nasmlib.o
125 YASM_MODULES+=preproc_nasm preproc_tasm 126 YASM_MODULES+=preproc_nasm preproc_tasm
126 127
127 MODULES_PREPROCS_RAW_OBJS = \ 128 MODULES_PREPROCS_RAW_OBJS = \
128 modules/preprocs/raw/raw-preproc.o 129 modules/preprocs/raw/raw-preproc.o
129 YASM_MODULES+=preproc_raw 130 YASM_MODULES+=preproc_raw
130 131
131 MODULES_PREPROCS_CPP_OBJS = \ 132 MODULES_PREPROCS_CPP_OBJS = \
132 modules/preprocs/cpp/cpp-preproc.o 133 modules/preprocs/cpp/cpp-preproc.o
133 YASM_MODULES+=preproc_cpp 134 YASM_MODULES+=preproc_cpp
134 135
136 MODULES_PREPROCS_GAS_OBJS = \
137 modules/preprocs/gas/gas-eval.o \
138 modules/preprocs/gas/gas-preproc.o
139 YASM_MODULES+=preproc_gas
140
135 MODULES_PREPROCS_OBJS = \ 141 MODULES_PREPROCS_OBJS = \
136 $(MODULES_PREPROCS_NASM_OBJS) \ 142 $(MODULES_PREPROCS_NASM_OBJS) \
137 $(MODULES_PREPROCS_RAW_OBJS) \ 143 $(MODULES_PREPROCS_RAW_OBJS) \
138 $(MODULES_PREPROCS_CPP_OBJS) 144 $(MODULES_PREPROCS_CPP_OBJS) \
145 $(MODULES_PREPROCS_GAS_OBJS)
139 146
140 MODULES_OBJS = \ 147 MODULES_OBJS = \
141 $(MODULES_ARCH_OBJS) \ 148 $(MODULES_ARCH_OBJS) \
142 $(MODULES_DBGFMTS_OBJS) \ 149 $(MODULES_DBGFMTS_OBJS) \
143 $(MODULES_LISTFMTS_OBJS) \ 150 $(MODULES_LISTFMTS_OBJS) \
144 $(MODULES_OBJFMTS_OBJS) \ 151 $(MODULES_OBJFMTS_OBJS) \
145 $(MODULES_OPTIMIZERS_OBJS) \ 152 $(MODULES_OPTIMIZERS_OBJS) \
146 $(MODULES_PARSERS_OBJS) \ 153 $(MODULES_PARSERS_OBJS) \
147 $(MODULES_PREPROCS_OBJS) 154 $(MODULES_PREPROCS_OBJS)
148 155
149 YASM_OBJS= \ 156 YASM_OBJS= \
150 frontends/yasm/yasm.o \ 157 frontends/yasm/yasm.o \
151 frontends/yasm/yasm-options.o \ 158 frontends/yasm/yasm-options.o \
152 $(LIBYASM_OBJS) \ 159 $(LIBYASM_OBJS) \
153 $(MODULES_OBJS) 160 $(MODULES_OBJS)
154 161
155 YTASM_OBJS= \ 162 YTASM_OBJS= \
156 frontends/tasm/tasm.o \ 163 frontends/tasm/tasm.o \
157 frontends/tasm/tasm-options.o \ 164 frontends/tasm/tasm-options.o \
158 $(LIBYASM_OBJS) \ 165 $(LIBYASM_OBJS) \
159 $(MODULES_OBJS) 166 $(MODULES_OBJS)
160 167
168 VSYASM_OBJS= \
169 frontends/vsyasm/vsyasm.o \
170 frontends/yasm/yasm-options.o \
171 $(LIBYASM_OBJS) \
172 $(MODULES_OBJS)
173
161 genstring: genstring.c 174 genstring: genstring.c
162 $(BUILDCC) -o $@ $< 175 $(BUILDCC) -o $@ $<
163 176
164 license.c: COPYING genstring 177 license.c: COPYING genstring
165 ./genstring license_msg $@ COPYING 178 ./genstring license_msg $@ COPYING
166 179
167 frontends/yasm/yasm.c: license.c 180 frontends/yasm/yasm.c: license.c
168 181
169 genmacro: tools/genmacro/genmacro.c 182 genmacro: tools/genmacro/genmacro.c
170 $(BUILDCC) -o $@ $< 183 $(BUILDCC) -o $@ $<
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 261
249 genperf: $(GENPERF_SRCS) 262 genperf: $(GENPERF_SRCS)
250 $(BUILDCC) -I. -o genperf $(GENPERF_SRCS) 263 $(BUILDCC) -I. -o genperf $(GENPERF_SRCS)
251 264
252 yasm: $(YASM_OBJS) 265 yasm: $(YASM_OBJS)
253 $(CC) -o yasm $(YASM_OBJS) 266 $(CC) -o yasm $(YASM_OBJS)
254 267
255 ytasm: $(YTASM_OBJS) 268 ytasm: $(YTASM_OBJS)
256 $(CC) -o ytasm $(YTASM_OBJS) 269 $(CC) -o ytasm $(YTASM_OBJS)
257 270
271 vsyasm: $(VSYASM_OBJS)
272 $(CC) -o vsyasm $(VSYASM_OBJS)
273
258 .c.o: 274 .c.o:
259 $(CC) -c $(CFLAGS) -o $@ $< 275 $(CC) -c $(CFLAGS) -o $@ $<
260 276
OLDNEW
« no previous file with comments | « third_party/yasm/patched-yasm/Mkfiles/Makefile.dj ('k') | third_party/yasm/patched-yasm/Mkfiles/dj/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698