]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - gnu/usr.bin/cc/cc_tools/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / gnu / usr.bin / cc / cc_tools / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 CFLAGS+=        -I.
6
7 .include "../Makefile.inc"
8
9 CFLAGS+=        -g
10 CFLAGS+=        -DGENERATOR_FILE -DHAVE_CONFIG_H
11
12 # Override LIBIBERTY set by Makefile.inc, We use our own for
13 # build tools.
14 LIBIBERTY=      libiberty.a
15
16 .PATH:  ${GCCDIR} ${GCCLIB}/libiberty
17
18 #-----------------------------------------------------------------------
19 # Determine content of variables used by the target/host config files
20
21 #
22 # The list of headers to go into tm.h
23 #
24 TARGET_INC+=    options.h
25 .if ${TARGET_ARCH} == "amd64"
26 TARGET_INC+=    i386/biarch64.h
27 .endif
28 .if ${TARGET_ARCH} != "arm"
29 TARGET_INC+=    ${GCC_CPU}/${GCC_CPU}.h
30 .endif
31 .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
32 TARGET_INC+=    ${GCC_CPU}/unix.h
33 TARGET_INC+=    ${GCC_CPU}/att.h
34 .endif
35 TARGET_INC+=    dbxelf.h
36 TARGET_INC+=    elfos.h
37 TARGET_INC+=    freebsd-native.h
38 TARGET_INC+=    freebsd-spec.h
39 TARGET_INC+=    freebsd.h
40 .if ${TARGET_ARCH} != "i386" && ${TARGET_ARCH} != "amd64"
41 .if exists(${GCCDIR}/config/${GCC_CPU}/sysv4.h)
42 TARGET_INC+=    ${GCC_CPU}/sysv4.h
43 .endif
44 .endif
45 .if ${TARGET_ARCH} == "amd64"
46 TARGET_INC+=    ${GCC_CPU}/x86-64.h
47 TARGET_INC+=    ${GCC_CPU}/freebsd.h
48 TARGET_INC+=    ${GCC_CPU}/freebsd64.h
49 TARGET_INC+=    freebsd64-fix.h
50 .elif ${TARGET_ARCH} == "arm"
51 TARGET_INC+=    ${GCC_CPU}/elf.h
52 TARGET_INC+=    ${GCC_CPU}/aout.h
53 TARGET_INC+=    ${GCC_CPU}/freebsd.h
54 TARGET_INC+=    ${GCC_CPU}/arm.h
55 .else
56 TARGET_INC+=    ${GCC_CPU}/freebsd.h
57 .endif
58 TARGET_INC+=    defaults.h
59
60 .for H in ${TARGET_INC}
61 .for D in ${GCCDIR}/config ${GCCDIR} ${.CURDIR}
62 .if exists($D/$H)
63 TARGET_INC_FILES+=     $D/$H
64 .endif
65 .endfor
66 .endfor
67
68 #
69 # gtyp includes.
70 #
71 srcdir=         ${GCCDIR}
72 CPPLIB_H=       ${GCCLIB}/libcpp/include/line-map.h \
73                 ${GCCLIB}/libcpp/include/cpplib.h
74 SYMTAB_H=       ${GCCLIB}/libcpp/include/symtab.h
75 CPP_ID_DATA_H=  ${CPPLIB_H} ${GCCLIB}/libcpp/include/cpp-id-data.h
76 HASHTAB_H=      ${GCCLIB}/include/hashtab.h
77 SPLAY_TREE_H=   ${GCCLIB}/include/splay-tree.h
78 out_file=       ${srcdir}/config/${GCC_CPU}/${GCC_CPU}.c
79 tm_file_list=   ${TARGET_INC_FILES}
80 host_xm_file_list= ${.CURDIR}/auto-host.h ${GCCLIB}/include/ansidecl.h
81 GTFILES_SRCDIR= ${srcdir}
82
83 # Copied unchanged from gcc/Makefile.in
84 GTFILES = $(srcdir)/input.h $(srcdir)/coretypes.h \
85   $(CPP_ID_DATA_H) $(host_xm_file_list) \
86   $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \
87   $(srcdir)/coverage.c $(srcdir)/rtl.h \
88   $(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/function.h $(srcdir)/libfuncs.h $(SYMTAB_H) \
89   $(srcdir)/real.h $(srcdir)/varray.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \
90   $(srcdir)/ipa-reference.h $(srcdir)/output.h \
91   $(srcdir)/cselib.h $(srcdir)/basic-block.h  $(srcdir)/cgraph.h \
92   $(srcdir)/c-common.h $(srcdir)/c-tree.h $(srcdir)/reload.h \
93   $(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c $(srcdir)/cgraph.c \
94   $(srcdir)/ipa-prop.c $(srcdir)/ipa-cp.c $(srcdir)/ipa-inline.c \
95   $(srcdir)/dbxout.c $(srcdir)/dwarf2out.c $(srcdir)/dwarf2asm.c \
96   $(srcdir)/dojump.c $(srcdir)/tree-profile.c \
97   $(srcdir)/emit-rtl.c $(srcdir)/except.c $(srcdir)/explow.c $(srcdir)/expr.c \
98   $(srcdir)/function.c $(srcdir)/except.h \
99   $(srcdir)/gcse.c $(srcdir)/integrate.c $(srcdir)/lists.c $(srcdir)/optabs.c \
100   $(srcdir)/profile.c $(srcdir)/regclass.c \
101   $(srcdir)/reg-stack.c $(srcdir)/cfglayout.c \
102   $(srcdir)/sdbout.c $(srcdir)/stor-layout.c \
103   $(srcdir)/stringpool.c $(srcdir)/tree.c $(srcdir)/varasm.c \
104   $(srcdir)/tree-mudflap.c $(srcdir)/tree-flow.h \
105   $(srcdir)/c-objc-common.c $(srcdir)/c-common.c $(srcdir)/c-parser.c \
106   $(srcdir)/tree-ssanames.c $(srcdir)/tree-eh.c $(srcdir)/tree-ssa-address.c \
107   $(srcdir)/tree-phinodes.c $(srcdir)/tree-cfg.c \
108   $(srcdir)/tree-dfa.c $(srcdir)/tree-ssa-propagate.c \
109   $(srcdir)/tree-iterator.c $(srcdir)/gimplify.c \
110   $(srcdir)/tree-chrec.h $(srcdir)/tree-vect-generic.c \
111   $(srcdir)/tree-ssa-operands.h $(srcdir)/tree-ssa-operands.c \
112   $(srcdir)/tree-profile.c $(srcdir)/tree-nested.c \
113   $(srcdir)/ipa-reference.c $(srcdir)/tree-ssa-structalias.h \
114   $(srcdir)/tree-ssa-structalias.c \
115   $(srcdir)/c-pragma.h $(srcdir)/omp-low.c \
116   $(srcdir)/targhooks.c $(srcdir)/cgraphunit.c $(out_file) \
117
118 # The list of frontend directories to look into
119 GTFILES_LANG_DIR_NAMES=
120
121 .if ${MK_CXX} != "no"
122 GTFILES_LANG_DIR_NAMES+=        cp
123 .endif
124
125 .if ${MK_OBJC} != "no"
126 GTFILES_LANG_DIR_NAMES+=        objc
127 .endif
128
129 # The list of language specific files for gengtype
130 .for L in ${GTFILES_LANG_DIR_NAMES} c
131 .if exists(${GCCDIR}/$L-config-lang.in)
132 # Source the language config file
133 L_GTFILES!=     sh -c '. ${GCCDIR}/$L-config-lang.in; echo $$gtfiles'
134 .else
135 L_GTFILES!=     sh -c '. ${GCCDIR}/$L/config-lang.in; echo $$gtfiles'
136 .endif
137 .for F in ${L_GTFILES}
138 GTFILES_FILES+= $F
139 GTFILES_LANGS+= $L
140 .endfor
141 .endfor
142 GTFILES+=       ${GTFILES_FILES}
143
144 #
145 # Tree definition files.
146 #
147 TREE_DEF_FILES=
148
149 .if ${MK_CXX} != "no"
150 TREE_DEF_FILES+=        cp/cp-tree.def
151 .endif
152
153 .if ${MK_OBJC} != "no"
154 TREE_DEF_FILES+=        objc/objc-tree.def
155 .endif
156
157 #
158 # Option files.
159 #
160 OPT_FILES=      c.opt common.opt
161
162 .if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.opt)
163 OPT_FILES+=     ${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}.opt
164 .endif
165
166 .if exists(${.CURDIR}/${GCC_CPU}-freebsd.opt)
167 OPT_FILES+=     ${.CURDIR}/${GCC_CPU}-freebsd.opt
168 .endif
169
170 .if ${TARGET_ARCH} == "powerpc"
171 OPT_FILES+=     ${GCCDIR}/config/${GCC_CPU}/sysv4.opt
172 .endif
173
174 .if ${TARGET_ARCH} == "sparc64"
175 OPT_FILES+=     ${GCCDIR}/config/${GCC_CPU}/long-double-switch.opt
176 .endif
177
178 .if exists(${.CURDIR}/freebsd.opt)
179 OPT_FILES+=     ${.CURDIR}/freebsd.opt
180 .endif
181
182 #-----------------------------------------------------------------------
183 # Build rules for header files and generator tools
184
185 # Host config
186 config.h:
187         TARGET_CPU_DEFAULT="${TARGET_CPU_DEFAULT}" \
188         HEADERS="auto-host.h ansidecl.h" \
189         DEFINES="" \
190         /bin/sh ${GCCDIR}/mkconfig.sh ${.TARGET}
191
192 GENSRCS+=       config.h
193 CLEANFILES+=    cs-config.h
194
195 # Build config
196 bconfig.h:
197         TARGET_CPU_DEFAULT="${TARGET_CPU_DEFAULT}" \
198         HEADERS="auto-host.h ansidecl.h" \
199         DEFINES="" \
200         /bin/sh ${GCCDIR}/mkconfig.sh ${.TARGET}
201 .if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}-modes.def)
202         echo '#define EXTRA_MODES_FILE "${GCC_CPU}/${GCC_CPU}-modes.def"' >> ${.TARGET}
203 .endif
204
205 GENSRCS+=       bconfig.h
206 CLEANFILES+=    cs-bconfig.h
207
208 # tconfig.h
209 tconfig.h:
210         TARGET_CPU_DEFAULT="${TARGET_CPU_DEFAULT}" \
211         HEADERS="auto-host.h ansidecl.h" \
212         DEFINES="USED_FOR_TARGET" \
213         /bin/sh ${GCCDIR}/mkconfig.sh ${.TARGET}
214
215 GENSRCS+=       tconfig.h
216 CLEANFILES+=    cs-tconfig.h
217 # Options
218 optionlist: ${OPT_FILES}
219         awk -f ${GCCDIR}/opt-gather.awk ${.ALLSRC} > ${.TARGET}
220
221 options.h:      optionlist
222         awk -f ${GCCDIR}/opt-functions.awk \
223             -f ${GCCDIR}/opth-gen.awk \
224                 < ${.ALLSRC} > ${.TARGET}
225
226 options.c:      optionlist
227         awk -f ${GCCDIR}/opt-functions.awk \
228             -f ${GCCDIR}/optc-gen.awk \
229                 -v header_name="config.h system.h coretypes.h tm.h" \
230                 < ${.ALLSRC} > ${.TARGET}
231 GENONLY+=       optionlist options.h options.c
232
233 # Target machine config
234 tm.h:
235         TARGET_CPU_DEFAULT="${TARGET_CPU_DEFAULT}" \
236         HEADERS="${TARGET_INC}" \
237         DEFINES="" \
238         /bin/sh ${GCCDIR}/mkconfig.sh ${.TARGET}
239 .if exists(${GCCDIR}/config/${GCC_CPU}/${GCC_CPU}-modes.def)
240         echo '#define EXTRA_MODES_FILE "${GCC_CPU}/${GCC_CPU}-modes.def"' >> ${.TARGET}
241 .endif
242
243 GENSRCS+=       tm.h
244 CLEANFILES+=    cs-tm.h
245
246 # Target machine protos/preds.
247 tm_p.h:
248         TARGET_CPU_DEFAULT="${TARGET_CPU_DEFAULT}" \
249         HEADERS="${GCC_CPU}/${GCC_CPU}-protos.h tm-preds.h" \
250         DEFINES="" \
251         /bin/sh ${GCCDIR}/mkconfig.sh tm_p.h
252
253 GENSRCS+=       tm_p.h
254 CLEANFILES+=    cs-tm_p.h
255
256 # gencheck
257 gencheck.h: ${TREE_DEF_FILES}
258 .for F in ${TREE_DEF_FILES}
259         echo "#include \"$F\""                                  >> ${.TARGET}
260 .endfor
261         touch ${.TARGET}
262
263 GENSRCS+=       gencheck.h
264
265
266 # Source header for gtyp generator.
267 gtyp-gen.h:     ${GTFILES}
268         echo "/* This file is machine generated.  Do not edit.  */" > ${.TARGET}
269         echo "static const char * const srcdir = "              >> ${.TARGET}
270         echo "\"$(GTFILES_SRCDIR)\";"                           >> ${.TARGET}
271         echo "static const char * const lang_files[] = {"       >> ${.TARGET}
272 .for F in ${GTFILES_FILES}
273         echo "\"$F\", "                                         >> ${.TARGET}
274 .endfor
275         echo "NULL};"                                           >> ${.TARGET}
276         echo "static const char * const langs_for_lang_files[] = {">> ${.TARGET}
277 .for F in ${GTFILES_LANGS}
278         echo "\"$F\", "                                         >> ${.TARGET}
279 .endfor
280         echo "NULL};"                                           >> ${.TARGET}
281         echo "static const char * const all_files[] = {"        >> ${.TARGET}
282 .for F in ${GTFILES}
283         echo "\"$F\", "                                         >> ${.TARGET}
284 .endfor
285         echo "NULL};"                                           >> ${.TARGET}
286         echo "static const char * const lang_dir_names[] = {"   >> ${.TARGET}
287 .for F in c ${GTFILES_LANG_DIR_NAMES}
288         echo "\"$F\", "                                         >> ${.TARGET}
289 .endfor
290         echo "NULL};"                                           >> ${.TARGET}
291
292 GENSRCS+=       gtyp-gen.h
293
294 # Version header for gcov
295 gcov-iov.h:
296         echo "#define GCOV_VERSION ((gcov_unsigned_t)0x34303270)" >> ${.TARGET}
297
298 GENSRCS+=       gcov-iov.h
299
300 # Multilib config file
301 multilib.h:
302         echo 'static const char *const multilib_raw[] = { \
303             ". ;", NULL };'                                     > ${.TARGET}
304         echo 'static const char *const multilib_matches_raw[] = { \
305             NULL };'                                            >> ${.TARGET}
306         echo 'static const char *multilib_extra = "";'          >> ${.TARGET}
307         echo 'static const char *multilib_options = "";'        >> ${.TARGET}
308         echo 'static const char *const multilib_exclusions_raw[] = { \
309             NULL };'                                            >> ${.TARGET}
310
311 GENSRCS+=       multilib.h
312
313 configargs.h:
314         echo 'static const char configuration_arguments[] ='    > ${.TARGET}
315         echo '  "FreeBSD/${TARGET_ARCH} system compiler";'      >> ${.TARGET}
316         echo 'static const char thread_model[] = "posix";'      >> ${.TARGET}
317         echo 'static const struct {'                            >> ${.TARGET}
318         echo '  const char *name, *value;'                      >> ${.TARGET}
319         echo '} configure_default_options[] = {'                >> ${.TARGET}
320         echo '  { "NULL", "NULL" } };'                          >> ${.TARGET}
321
322 GENSRCS+=       configargs.h
323
324 # Language spec files
325 specs.h:
326         echo '#include "cp/lang-specs.h"'                       > ${.TARGET}
327         echo '#include "objc/lang-specs.h"'                     >> ${.TARGET}
328
329 GENSRCS+=       specs.h
330
331 gstdint.h:
332         echo '#include "sys/types.h"'                           > ${.TARGET}
333         echo '#include "sys/stdint.h"'                          >> ${.TARGET}
334
335 GENSRCS+=       gstdint.h
336
337 # Linked headers
338 gthr-default.h: ${GCCDIR}/gthr-posix.h
339         ln -sf ${.ALLSRC} ${.TARGET}
340
341 GENSRCS+=       gthr-default.h
342
343 unwind.h: ${GCCDIR}/unwind-generic.h
344         ln -sf ${.ALLSRC} ${.TARGET}
345
346 GENSRCS+=       unwind.h
347
348 #
349 # gtype gunk
350 #
351 gengtype-lex.c: gengtype-lex.l
352         flex -ogengtype-lex.c ${.ALLSRC}
353
354 gengtype-yacc.h: gengtype-yacc.y
355         yacc -d -o gengtype-yacc.c ${.ALLSRC}
356
357 gengtype-yacc.c: gengtype-yacc.h
358
359 gengtype-yacc+%DIKED.c: gengtype-yacc.c
360         cat    ${.ALLSRC} > ${.TARGET}
361         sed -e "s/xmalloc/malloc/g" \
362             -e "s/xrealloc/realloc/g" \
363             -e "s/malloc/xmalloc/g" \
364             -e "s/realloc/xrealloc/g" \
365             ${.ALLSRC} > ${.TARGET}
366
367 GENSRCS+= gengtype-lex.c gengtype-yacc.h gengtype-yacc+%DIKED.c
368 CLEANFILES+= gengtype-yacc.c
369
370 gengtype: gengtype.o gengtype-yacc+%DIKED.o gengtype-lex.o errors.o \
371           ${LIBIBERTY}
372         ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
373
374 gtype-desc.h:   gengtype
375         ./gengtype
376         touch ${.TARGET}
377
378 gtype-desc.c:   gtype-desc.h
379
380 GENONLY+=       gtype-desc.c gtype-desc.h
381 CLEANFILES+=    gt-*.h gtype-*.h
382
383 #
384 # Generator tools.
385 #
386 .for F in check checksum genrtl modes
387 gen$F:  gen$F.o errors.o ${LIBIBERTY}
388         ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
389 .endfor
390
391 .for F in attr attrtab automata codes conditions config constants emit \
392         extract flags  opinit output peep preds recog
393 gen$F:  gen$F.o rtl.o read-rtl.o ggc-none.o vec.o min-insn-modes.o \
394         gensupport.o print-rtl.o errors.o ${LIBIBERTY}
395         ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC} -lm
396 .endfor
397
398 gencondmd:      gencondmd.o
399         ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
400
401 #
402 # Generated .md files.
403 #
404 insn-conditions.md:     gencondmd
405         ./gencondmd > ${.TARGET}
406 GENSRCS+=       insn-conditions.md
407
408 #
409 # Generated header files.
410 #
411
412 .for F in constants
413 insn-$F.h:      gen$F ${MD_FILE}
414         ./gen$F ${MD_FILE} > ${.TARGET}
415 GENSRCS+=       insn-$F.h
416 .endfor
417
418 .for F in attr codes config flags
419 insn-$F.h:      gen$F ${MD_FILE} insn-conditions.md
420         ./gen$F ${MD_FILE} insn-conditions.md > ${.TARGET}
421 GENSRCS+=       insn-$F.h
422 .endfor
423
424 # Header files with irregular names.
425 genrtl.h:       gengenrtl
426         ./gengenrtl -h > ${.TARGET}
427 GENSRCS+=       genrtl.h
428
429 tm-preds.h:     genpreds
430         ./genpreds -h ${MD_FILE} > ${.TARGET}
431 GENSRCS+=       tm-preds.h
432
433 tm-constrs.h:   genpreds
434         ./genpreds -c ${MD_FILE} > ${.TARGET}
435 GENSRCS+=       tm-constrs.h
436
437 tree-check.h:   gencheck
438         ./gencheck > ${.TARGET}
439 GENSRCS+=       tree-check.h
440
441 insn-modes.h:   genmodes
442         ./genmodes -h > ${.TARGET}
443 GENSRCS+=       insn-modes.h
444
445 #
446 # Generated source files.
447 #
448 .for F in attrtab automata emit extract opinit output peep preds recog
449 insn-$F.c:      gen$F ${MD_FILE} insn-conditions.md
450         ./gen$F ${MD_FILE} insn-conditions.md > ${.TARGET}
451 GENONLY+=       insn-$F.c
452 .endfor
453
454 .for F in conditions
455 insn-$F.c:      gen$F ${MD_FILE}
456         ./gen$F ${MD_FILE} > ${.TARGET}
457 GENSRCS+=       insn-$F.c
458 .endfor
459
460 # Source files with irregular names.
461 insn-modes.c:   genmodes
462         ./genmodes > ${.TARGET}
463 GENONLY+=       insn-modes.c
464
465 min-insn-modes.c:       genmodes
466         ./genmodes -m > ${.TARGET}
467 GENSRCS+=       min-insn-modes.c
468
469 genrtl.c:       gengenrtl
470         ./gengenrtl > ${.TARGET}
471 GENONLY+=       genrtl.c
472
473 gencondmd.c:    genconditions ${MD_FILE}
474         ./genconditions ${MD_FILE} > ${.TARGET}
475 GENSRCS+=       gencondmd.c
476
477 #-----------------------------------------------------------------------
478 # Build tools.
479
480 GNTOOLS+=       genattr genattrtab genautomata gencodes gencheck genchecksum \
481                 genconditions gencondmd genconfig genconstants genemit \
482                 genextract genflags gengenrtl gengtype genmodes genopinit \
483                 genoutput genpeep genpreds genrecog
484
485 all: ${GNTOOLS} ${GENSRCS} ${GENONLY}
486 beforedepend: ${GENONLY}
487
488 #
489 #-----------------------------------------------------------------------
490 # Build 'pocket' libiberty exclusively for build tools use.
491
492 LIBIBERTY_SRCS= choose-temp.c concat.c cp-demangle.c cp-demint.c cplus-dem.c \
493         dyn-string.c fibheap.c fopen_unlocked.c getpwd.c getruntime.c \
494         hashtab.c hex.c lbasename.c make-temp-file.c md5.c obstack.c \
495         partition.c pex-unix.c physmem.c safe-ctype.c splay-tree.c xexit.c \
496         xmalloc.c xmemdup.c xstrdup.c xstrerror.c
497 LIBIBERTY_OBJS= ${LIBIBERTY_SRCS:R:S/$/.o/g}
498
499 .for _src in ${LIBIBERTY_SRCS}
500 ${_src:R:S/$/.o/}: ${_src}
501         ${CC} -c -I ${.CURDIR}/../libiberty ${CFLAGS} -o ${.TARGET} ${.IMPSRC}
502 .endfor
503
504 ${LIBIBERTY}: ${LIBIBERTY_OBJS}
505         @rm -f ${.TARGET}
506         @${AR} cq ${.TARGET} `lorder ${LIBIBERTY_OBJS} | tsort -q`
507         ${RANLIB} ${.TARGET}
508 CLEANFILES+=    ${LIBIBERTY} ${LIBIBERTY_OBJS}
509
510
511 #-----------------------------------------------------------------------
512 # Fixups.
513
514 # Set OBJS the same as bsd.prog.mk would do if we defined PROG.  We can't
515 # define PROG because we have multiple programs.
516 #
517 SRCS=           errors.c genattr.c genattrtab.c \
518                 genautomata.c gencheck.c genchecksum.c gencodes.c \
519                 genconditions.c genconfig.c genconstants.c genemit.c \
520                 genextract.c genflags.c gengenrtl.c gengtype.c genmodes.c \
521                 genopinit.c genoutput.c genpeep.c genpreds.c genrecog.c \
522                 gensupport.c ggc-none.c print-rtl.c read-rtl.c rtl.c \
523                 vec.c
524
525 SRCS+=          ${GENSRCS}
526 OBJS+=          ${SRCS:N*.h:R:S/$/.o/g}
527 GENOBJS+=       ${GENSRCS:N*.h:R:S/$/.o/g}
528 CLEANFILES+=    ${GENSRCS} ${GENONLY} ${GENOBJS} ${GNTOOLS}
529
530 #-----------------------------------------------------------------------
531 # Manual dependencies.
532 .if !exists(${DEPENDFILE})
533 .include  "Makefile.dep"
534 .endif
535
536 .include <bsd.prog.mk>
537 # DO NOT DELETE