* dv-sockser.c, dv-sockser.h: New files.
[platform/upstream/binutils.git] / sim / common / Make-common.in
1 # Makefile fragment for common parts of all simulators.
2 # Copyright (C) 1997 Free Software Foundation, Inc.
3 # Contributed by Cygnus Support.
4
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18
19 # This Makefile fragment consists of two separate parts.
20 # They are merged into the final Makefile at points denoted by
21 # "## COMMON_PRE_CONFIG_FRAG" and "## COMMON_POST_CONFIG_FRAG".
22 #
23 # The target Makefile should look like:
24 #
25 #># Copyright blah blah
26 #>
27 #>## COMMON_PRE_CONFIG_FRAG
28 #>
29 #># Any overrides necessary for the SIM_FOO config vars.
30 #>SIM_FOO = ...
31 #>
32 #>## COMMON_POST_CONFIG_FRAG
33 #>
34 #># Rules to build target specific .o's.
35
36 ## COMMON_PRE_CONFIG_FRAG
37
38 VPATH = @srcdir@
39 srcdir = @srcdir@
40 srccom = $(srcdir)/../common
41 srcroot = $(srcdir)/../..
42
43 prefix = @prefix@
44 exec_prefix = @exec_prefix@
45
46 host_alias = @host_alias@
47 target_alias = @target_alias@
48 program_transform_name = @program_transform_name@
49 bindir = @bindir@
50
51 libdir = @libdir@
52 tooldir = $(libdir)/$(target_alias)
53
54 datadir = @datadir@
55 mandir = @mandir@
56 man1dir = $(mandir)/man1
57 infodir = @infodir@
58 includedir = @includedir@
59
60 SHELL = /bin/sh
61
62 INSTALL = @INSTALL@
63 INSTALL_PROGRAM = @INSTALL_PROGRAM@
64 INSTALL_DATA = @INSTALL_DATA@
65
66 CC = @CC@
67 CC_FOR_BUILD = @CC_FOR_BUILD@
68 CFLAGS = @CFLAGS@
69 SIM_BSWAP = @sim_bswap@
70 SIM_CFLAGS = @sim_cflags@
71 SIM_DEBUG = @sim_debug@
72 SIM_TRACE = @sim_trace@
73 SIM_PROFILE = @sim_profile@
74
75 SIM_ASSERT = @sim_assert@
76 SIM_ALIGNMENT = @sim_alignment@
77 SIM_BITSIZE = @sim_bitsize@
78 SIM_DEFAULT_MODEL = @sim_default_model@
79 SIM_ENDIAN = @sim_endian@
80 SIM_ENVIRONMENT = @sim_environment@
81 SIM_FLOAT = @sim_float@
82 SIM_HARDWARE = @sim_hardware@
83 SIM_HOSTENDIAN = @sim_hostendian@
84 SIM_INLINE = @sim_inline@
85 SIM_PACKAGES = @sim_packages@
86 SIM_REGPARM = @sim_regparm@
87 SIM_RESERVED_BITS = @sim_reserved_bits@
88 SIM_SCACHE = @sim_scache@
89 SIM_SMP = @sim_smp@
90 SIM_STDCALL = @sim_stdcall@
91 SIM_WARNINGS = @sim_warnings@
92 SIM_XOR_ENDIAN = @sim_xor_endian@
93
94 HDEFINES = @HDEFINES@
95 TDEFINES =
96
97 AR = @AR@
98 AR_FLAGS = rc
99 RANLIB = @RANLIB@
100 MAKEINFO = makeinfo
101
102 DEP = $(srcroot)/mkdep
103
104 # Each simulator's Makefile.in defines one or more of these variables
105 # to override our settings as necessary.  There is no need to define these
106 # in the simulator's Makefile.in if one is using the default value.  In fact
107 # it's preferable not to.
108
109 # List of object files, less common parts.
110 SIM_OBJS =
111 # List of extra dependencies.
112 # Generally this consists of simulator specific files included by sim-main.h.
113 SIM_EXTRA_DEPS =
114 # List of flags to always pass to $(CC).
115 SIM_EXTRA_CFLAGS =
116 # List of extra libraries to link with.
117 SIM_EXTRA_LIBS =
118 # List of extra program dependencies.
119 SIM_EXTRA_LIBDEPS =
120 # List of main object files for `run'.
121 SIM_RUN_OBJS = run.o
122 # Dependency of `all' to build any extra files.
123 SIM_EXTRA_ALL =
124 # Dependency of `install' to install any extra files.
125 SIM_EXTRA_INSTALL =
126 # Dependency of `clean' to clean any extra files.
127 SIM_EXTRA_CLEAN =
128
129 # Every time a new general purpose source file was added every target's
130 # Makefile.in needed to be updated to include the file in SIM_OBJS.
131 # This doesn't scale.
132 # This variable specifies all the generic stuff common to the newer simulators.
133 # Things like sim-reason.o can't go here as the cpu may provide its own
134 # (though hopefully in time that won't be so).  Things like sim-bits.o can go
135 # here.  Some files are used by all simulators (e.g. callback.o).
136 # Those files are specified in LIB_OBJS below.
137
138 SIM_NEW_COMMON_OBJS = \
139         sim-bits.o \
140         sim-break.o \
141         sim-config.o \
142         sim-core.o \
143         sim-endian.o \
144         sim-events.o \
145         sim-fpu.o \
146         sim-io.o \
147         sim-info.o \
148         sim-load.o \
149         sim-memopt.o \
150         sim-module.o \
151         sim-options.o \
152         sim-profile.o \
153         sim-signal.o \
154         sim-trace.o \
155         sim-utils.o \
156         sim-watch.o
157
158 ## End COMMON_PRE_CONFIG_FRAG
159
160 ## COMMON_POST_CONFIG_FRAG
161
162 CONFIG_CFLAGS = @DEFS@ \
163         $(SIM_CFLAGS) \
164         $(SIM_DEBUG) \
165         $(SIM_DEFAULT_MODEL) \
166         $(SIM_TRACE) \
167         $(SIM_PROFILE) \
168         $(SIM_BSWAP) \
169         $(SIM_ASSERT) \
170         $(SIM_ALIGNMENT) \
171         $(SIM_BITSIZE) \
172         $(SIM_ENDIAN) \
173         $(SIM_ENVIRONMENT) \
174         $(SIM_FLOAT) \
175         $(SIM_HARDWARE) \
176         $(SIM_HOSTENDIAN) \
177         $(SIM_INLINE) \
178         $(SIM_PACKAGES) \
179         $(SIM_REGPARM) \
180         $(SIM_RESERVED_BITS) \
181         $(SIM_SCACHE) \
182         $(SIM_SMP) \
183         $(SIM_STDCALL) \
184         $(SIM_WARNINGS) \
185         $(SIM_XOR_ENDIAN) \
186         $(SIM_EXTRA_CFLAGS) \
187         $(HDEFINES) $(TDEFINES)
188 CSEARCH = -I. -I$(srcdir) -I../common -I$(srccom) \
189   -I../../include -I$(srcroot)/include \
190   -I../../bfd -I$(srcroot)/bfd \
191   -I../../opcodes -I$(srcroot)/opcodes
192 ALL_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH) $(CFLAGS)
193 BUILD_CFLAGS = -g -O $(CSEARCH)
194
195 COMMON_DEP_CFLAGS = $(CONFIG_CFLAGS) $(CSEARCH)
196
197 LIBIBERTY_LIB = ../../libiberty/libiberty.a
198 BFD_LIB = ../../bfd/libbfd.a
199 OPCODES_LIB = ../../opcodes/libopcodes.a
200 CONFIG_LIBS = @LIBS@
201 LIBDEPS = $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) \
202         $(SIM_EXTRA_LIBDEPS)
203 EXTRA_LIBS = $(BFD_LIB) $(OPCODES_LIB) $(LIBIBERTY_LIB) \
204         $(CONFIG_LIBS) $(SIM_EXTRA_LIBS)
205
206 LIB_OBJS = callback.o syscall.o targ-map.o $(SIM_OBJS)
207
208 all: $(SIM_EXTRA_ALL) libsim.a run .gdbinit
209
210 libsim.a: $(LIB_OBJS)
211         rm -f libsim.a
212         $(AR) $(AR_FLAGS) libsim.a $(LIB_OBJS)
213         $(RANLIB) libsim.a
214
215 run: $(SIM_RUN_OBJS) libsim.a $(LIBDEPS)
216         $(CC) $(ALL_CFLAGS) -o run \
217           $(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS)
218
219 run.o: $(srccom)/run.c config.h tconfig.h \
220           $(srcroot)/include/remote-sim.h $(srcroot)/include/callback.h
221         $(CC) -c $(srccom)/run.c $(ALL_CFLAGS)
222
223 # FIXME: Ideally, callback.o and friends live in a library outside of
224 # both the gdb and simulator source trees (e.g. devo/remote.  Not
225 # devo/libremote because this directory would contain more than just
226 # a library).
227
228 callback.o: $(srccom)/callback.c config.h tconfig.h \
229           $(srcroot)/include/callback.h targ-vals.h
230         $(CC) -c $(srccom)/callback.c $(ALL_CFLAGS)
231
232 syscall.o: $(srccom)/syscall.c config.h tconfig.h \
233           $(srcroot)/include/callback.h targ-vals.h
234         $(CC) -c $(srccom)/syscall.c $(ALL_CFLAGS)
235
236 targ-map.o: targ-map.c targ-vals.h
237
238 gentmap: Makefile $(srccom)/gentmap.c targ-vals.def
239         $(CC_FOR_BUILD) $(srccom)/gentmap.c -o gentmap $(BUILD_CFLAGS) $(NL_TARGET)
240
241 targ-vals.h targ-map.c: stamp-tvals
242 stamp-tvals: gentmap
243         rm -f tmp-tvals.h tmp-tmap.c
244         ./gentmap -h >tmp-tvals.h
245         $(srcroot)/move-if-change tmp-tvals.h targ-vals.h
246         ./gentmap -c >tmp-tmap.c
247         $(srcroot)/move-if-change tmp-tmap.c targ-map.c
248         touch stamp-tvals
249
250 #
251 # Rules for building sim-* components.  Triggered by listing the corresponding
252 # .o file in the list of simulator targets.
253 #
254
255 sim_main_headers = \
256         sim-main.h \
257         $(srccom)/sim-config.h \
258         $(srccom)/sim-base.h \
259         $(srccom)/sim-basics.h \
260         $(srccom)/sim-signal.h \
261         $(srccom)/sim-memopt.h \
262         $(srccom)/sim-model.h \
263         $(srccom)/sim-module.h \
264         $(srccom)/sim-trace.h \
265         $(srccom)/sim-profile.h \
266         $(srccom)/sim-engine.h \
267         $(srccom)/sim-events.h \
268         $(srccom)/sim-watch.h \
269         $(srccom)/sim-assert.h \
270         tconfig.h \
271         $(SIM_EXTRA_DEPS)
272
273 sim-assert_h = $(srccom)/sim-assert.h
274 sim-endian_h = $(srccom)/sim-endian.h
275 sim-n-endian_h = $(srccom)/sim-n-endian.h
276 sim-bits_h = $(srccom)/sim-bits.h
277 sim-config_h = $(srccom)/sim-config.h
278 sim-n-bits_h = $(srccom)/sim-n-bits.h
279 sim-core_h = $(srccom)/sim-core.h
280 sim-n-core_h = $(srccom)/sim-n-core.h
281 sim-engine_h = $(srccom)/sim-engine.h
282 sim-events_h = $(srccom)/sim-events.h
283 sim-fpu_h = $(srccom)/sim-fpu.h
284 sim-io_h = $(srccom)/sim-io.h
285 sim-options_h = $(srccom)/sim-options.h
286 sim-break_h = $(srccom)/sim-break.h
287 sim-signal_h = $(srccom)/sim-signal.h
288
289 # FIXME: If this complicated way of building .o files from ../common is
290 # necessary, the reason should be documented here.
291
292 BUILT_SRC_FROM_COMMON= \
293         sim-inline.c
294
295 sim-abort.o: $(srccom)/sim-abort.c \
296           $(SIM_EXTRA_DEPS)
297         $(CC) -c $(srccom)/sim-abort.c $(ALL_CFLAGS)
298
299 sim-bits.o: $(srccom)/sim-bits.c $(sim-bits_h) $(sim-n-bits_h) \
300           $(SIM_EXTRA_DEPS)
301         $(CC) -c $(srccom)/sim-bits.c $(ALL_CFLAGS)
302
303 sim-config.o: $(srccom)/sim-config.c $(sim-config_h) \
304           $(SIM_EXTRA_DEPS)
305         $(CC) -c $(srccom)/sim-config.c $(ALL_CFLAGS)
306
307 sim-core.o: $(srccom)/sim-core.c $(sim_main_headers) \
308           $(sim-core_h) $(sim-n-core_h) \
309           $(SIM_EXTRA_DEPS)
310         $(CC) -c $(srccom)/sim-core.c $(ALL_CFLAGS)
311
312 sim-endian.o: $(srccom)/sim-endian.c $(sim-endian_h) $(sim-n-endian_h) \
313           $(SIM_EXTRA_DEPS)
314         $(CC) -c $(srccom)/sim-endian.c $(ALL_CFLAGS)
315
316 sim-engine.o: $(srccom)/sim-engine.c $(sim_main_headers) $(sim-engine_h)
317         $(CC) -c $(srccom)/sim-engine.c $(ALL_CFLAGS)
318
319 sim-events.o: $(srccom)/sim-events.c $(sim-events_h) \
320           $(SIM_EXTRA_DEPS)
321         $(CC) -c $(srccom)/sim-events.c $(ALL_CFLAGS)
322
323 sim-fpu.o: $(srccom)/sim-fpu.c $(sim-fpu_h) \
324           $(SIM_EXTRA_DEPS)
325         $(CC) -c $(srccom)/sim-fpu.c $(ALL_CFLAGS)
326
327 sim-hload.o: $(srccom)/sim-hload.c $(sim-assert_h) \
328           $(srcroot)/include/remote-sim.h \
329           $(SIM_EXTRA_DEPS)
330         $(CC) -c $(srccom)/sim-hload.c $(ALL_CFLAGS)
331
332 sim-hrw.o: $(srccom)/sim-hrw.c $(sim-assert_h) $(sim_core_h) \
333           $(srcroot)/include/remote-sim.h \
334           $(SIM_EXTRA_DEPS)
335         $(CC) -c $(srccom)/sim-hrw.c $(ALL_CFLAGS)
336
337 sim-info.o: $(srccom)/sim-info.c $(sim-assert_h) \
338           $(srcroot)/include/remote-sim.h \
339           $(SIM_EXTRA_DEPS)
340         $(CC) -c $(srccom)/sim-info.c $(ALL_CFLAGS)
341
342 sim-inline.c: $(srccom)/sim-inline.c
343         rm -f $@ tmp-$@
344         echo "# 1 \"$(srccom)/$@\"" > tmp-$@
345         cat $(srccom)/$@ >> tmp-$@
346         $(srcdir)/../../move-if-change tmp-$@ $@
347
348 sim-io.o: $(srccom)/sim-io.c $(sim_main_headers) $(sim-io_h) \
349           $(srcroot)/include/remote-sim.h
350         $(CC) -c $(srccom)/sim-io.c $(ALL_CFLAGS)
351
352 sim-memopt.o: $(srccom)/sim-memopt.c $(sim_main_headers) \
353           $(sim-io_h)
354         $(CC) -c $(srccom)/sim-memopt.c $(ALL_CFLAGS)
355
356 sim-module.o: $(srccom)/sim-module.c $(sim_main_headers) \
357           $(sim-io_h)
358         $(CC) -c $(srccom)/sim-module.c $(ALL_CFLAGS)
359
360 sim-options.o: $(srccom)/sim-options.c $(sim_main_headers) \
361           $(sim-options_h) $(sim-io_h)
362         $(CC) -c $(srccom)/sim-options.c $(ALL_CFLAGS)
363
364 sim-reason.o: $(srccom)/sim-reason.c $(sim_main_headers) \
365           $(srcroot)/include/remote-sim.h
366         $(CC) -c $(srccom)/sim-reason.c $(ALL_CFLAGS)
367
368 sim-resume.o: $(srccom)/sim-resume.c $(sim_main_headers) \
369           $(srcroot)/include/remote-sim.h
370         $(CC) -c $(srccom)/sim-resume.c $(ALL_CFLAGS)
371
372 sim-run.o: $(srccom)/sim-run.c $(sim_main_headers)
373         $(CC) -c $(srccom)/sim-run.c $(ALL_CFLAGS)
374
375 sim-signal.o: $(srccom)/sim-signal.c $(sim_main_headers) $(sim-signal_h)
376         $(CC) -c $(srccom)/sim-signal.c $(ALL_CFLAGS)
377
378 sim-stop.o: $(srccom)/sim-stop.c $(sim_main_headers)
379         $(CC) -c $(srccom)/sim-stop.c $(ALL_CFLAGS)
380
381 sim-trace.o: $(srccom)/sim-trace.c $(sim_main_headers) \
382           $(sim-options_h) $(sim-io_h)
383         $(CC) -c $(srccom)/sim-trace.c $(ALL_CFLAGS)
384
385 sim-profile.o: $(srccom)/sim-profile.c $(sim_main_headers) \
386           $(sim-options_h) $(sim-io_h)
387         $(CC) -c $(srccom)/sim-profile.c $(ALL_CFLAGS)
388
389 sim-model.o: $(srccom)/sim-model.c $(sim_main_headers) \
390           $(sim-io_h)
391         $(CC) -c $(srccom)/sim-model.c $(ALL_CFLAGS)
392
393 sim-utils.o: $(srccom)/sim-utils.c $(sim_main_headers)
394         $(CC) -c $(srccom)/sim-utils.c $(ALL_CFLAGS)
395
396 sim-watch.o: $(srccom)/sim-watch.c $(sim_main_headers)
397         $(CC) -c $(srccom)/sim-watch.c $(ALL_CFLAGS)
398
399 sim-load.o: $(srccom)/sim-load.c $(srcroot)/include/callback.h
400         $(CC) -c $(srccom)/sim-load.c $(ALL_CFLAGS)
401
402 sim-break.o: $(srccom)/sim-break.c $(sim_main_headers) \
403           $(sim_break_h)
404         $(CC) -c $(srccom)/sim-break.c $(ALL_CFLAGS)
405
406 nrun.o: $(srccom)/nrun.c config.h tconfig.h \
407           $(srcroot)/include/remote-sim.h $(srcroot)/include/callback.h \
408           $(sim_main_headers)
409         $(CC) -c $(srccom)/nrun.c $(ALL_CFLAGS)
410
411 # Devices.
412
413 dv-sockser.o: $(srccom)/dv-sockser.h $(sim_main_headers)
414         $(CC) -c $(srccom)/dv-sockser.c $(ALL_CFLAGS)
415
416 # CGEN support.
417
418 cgen-run.o: $(srccom)/cgen-run.c $(sim_main_headers) \
419           $(srccom)/cgen-mem.h $(srccom)/cgen-ops.h
420         $(CC) -c $(srccom)/cgen-run.c $(ALL_CFLAGS)
421
422 cgen-scache.o: $(srccom)/cgen-scache.c $(sim_main_headers)
423         $(CC) -c $(srccom)/cgen-scache.c $(ALL_CFLAGS)
424
425 cgen-trace.o: $(srccom)/cgen-trace.c $(sim_main_headers) \
426           $(srccom)/cgen-trace.h
427         $(CC) -c $(srccom)/cgen-trace.c $(ALL_CFLAGS)
428
429 cgen-utils.o: $(srccom)/cgen-utils.c $(sim_main_headers) \
430           $(srccom)/cgen-mem.h $(srccom)/cgen-ops.h
431         $(CC) -c $(srccom)/cgen-utils.c $(ALL_CFLAGS)
432
433 # Support targets.
434
435 install: install-common $(SIM_EXTRA_INSTALL)
436
437 install-common: installdirs
438         n=`echo run | sed '$(program_transform_name)'`; \
439         $(INSTALL_PROGRAM) run $(bindir)/$$n
440
441 installdirs:
442         $(SHELL) $(srcdir)/../../mkinstalldirs $(bindir)
443
444 check:
445         cd ../testsuite && $(MAKE) check
446
447 info:
448 clean-info:
449 install-info:
450
451 .NOEXPORT:
452 MAKEOVERRIDES=
453
454 tags etags: TAGS
455
456 # Macros like EXTERN_SIM_CORE confuse tags.
457 # And the sim-n-foo.h files create functions that can't be found either.
458 TAGS: force
459         cd $(srcdir) && \
460         etags --regex '/^\([a-z_]+\) (/\1/' --regex '/^\/[*] TAGS: .*/' \
461                 *.[ch] ../common/*.[ch]
462
463 clean: $(SIM_EXTRA_CLEAN)
464         rm -f *.[oa] *~ core
465         rm -f run libsim.a
466         rm -f gentmap targ-map.c targ-vals.h stamp-tvals
467         if [ ! -f Make-common.in ] ; then \
468                 rm -f $(BUILT_SRC_FROM_COMMON) ; \
469         fi
470
471 distclean mostlyclean maintainer-clean realclean: clean
472         rm -f TAGS
473         rm -f Makefile config.cache config.log config.status .gdbinit
474         rm -f tconfig.h config.h stamp-h
475         rm -f targ-vals.def
476
477 .c.o:
478         $(CC) -c $(ALL_CFLAGS) $<
479
480 # Dummy target to force execution of dependent targets.
481 force:
482
483 Makefile: Makefile.in $(srccom)/Make-common.in config.status
484         CONFIG_HEADERS= $(SHELL) ./config.status
485
486 config.status: configure
487         $(SHELL) ./config.status --recheck
488
489 config.h: stamp-h ; @true
490 stamp-h: config.in config.status
491         CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status
492
493 .gdbinit: # config.status $(srccom)/gdbinit.in
494         CONFIG_FILES=$@:../common/gdbinit.in CONFIG_HEADERS= $(SHELL) ./config.status
495
496 # start-sanitize-cygnus
497
498 # CGEN support
499
500 SCHEME = @SCHEME@
501 SCHEMEFLAGS = -s
502 srccgen = $(srcroot)/cgen
503
504 CGEN_VERBOSE = -v
505 CGEN_MAIN_SCM = $(srccgen)/object.scm $(srccgen)/utils.scm \
506         $(srccgen)/attr.scm $(srccgen)/enum.scm $(srccgen)/types.scm \
507         $(srccgen)/utils-cgen.scm $(srccgen)/cpu.scm \
508         $(srccgen)/mode.scm $(srccgen)/mach.scm \
509         $(srccgen)/model.scm $(srccgen)/hardware.scm \
510         $(srccgen)/ifield.scm $(srccgen)/iformat.scm \
511         $(srccgen)/operand.scm $(srccgen)/insn.scm \
512         $(srccgen)/cdl-c.scm $(srccgen)/sim.scm
513 CGEN_CPU_SCM = $(srccgen)/sim-cpu.scm $(srccgen)/sim-model.scm
514 CGEN_DECODE_SCM = $(srccgen)/sim-decode.scm
515
516 # Various choices for which cpu specific files to generate.
517 CGEN_CPU_EXTR = -E tmp-ext.c1
518 CGEN_CPU_READ = -R tmp-read.c1
519 CGEN_CPU_SEM = -S tmp-sem.c1
520 CGEN_CPU_SEMSW = -W tmp-semsw.c1
521
522 # We store the generated files in the source directory until we decide to
523 # ship a Scheme interpreter with gdb/binutils.  Maybe we never will.
524
525 cgen-arch: force
526         $(SHELL) $(srccom)/cgen.sh arch $(srcdir) \
527                 $(SCHEME) $(SCHEMEFLAGS) \
528                 $(srccgen) $(CGEN_VERBOSE) \
529                 $(arch) "$(FLAGS)" ignored ignored ignored ignored
530
531 cgen-cpu: force
532         $(SHELL) $(srccom)/cgen.sh cpu $(srcdir) \
533                 $(SCHEME) $(SCHEMEFLAGS) \
534                 $(srccgen) $(CGEN_VERBOSE) \
535                 $(arch) "$(FLAGS)" $(cpu) $(mach) "$(SUFFIX)" "$(EXTRAFILES)"
536
537 cgen-decode: force
538         $(SHELL) $(srccom)/cgen.sh decode $(srcdir) \
539                 $(SCHEME) $(SCHEMEFLAGS) \
540                 $(srccgen) $(CGEN_VERBOSE) \
541                 $(arch) "$(FLAGS)" $(cpu) $(mach) "$(SUFFIX)" ignored
542
543 # end-sanitize-cygnus
544
545 ## End COMMON_POST_CONFIG_FRAG