|
|
1.1 ! root 1: # Makefile for use on MSDOG. Installed as Makefile by configure.bat. ! 2: BISON=bison ! 3: BISONFLAGS=-v ! 4: LIBDEPS= ! 5: CPPFLAGS= ! 6: CPLUS_INPUT= ! 7: ! 8: CONFIG_H= ! 9: RTL = rtl.o ! 10: RTLANAL=rtlanal.o ! 11: ! 12: # Special flags for compiling enquire. ! 13: ENQUIRE_CFLAGS = -DNO_SC -DNO_MEM -DNO_STDDEF $(GCC_CFLAGS) ! 14: ENQUIRE_LDFLAGS = $(LDFLAGS) ! 15: ! 16: ALL_CFLAGS = -O -D__MSDOS__ -D__GNUDOS__ ! 17: INCLUDES=-Iconfig -I. ! 18: LDFLAGS= ! 19: ! 20: # Always use -I$(srcdir)/config when compiling. ! 21: .c.o: ! 22: $(CC) -c $(ALL_CFLAGS) $(INCLUDES) $< ! 23: ! 24: # Language-specific object files for C. ! 25: C_OBJS = c-parse_tab.o c-decl.o c-typeck.o c-lang.o c-convert.o \ ! 26: c-aux-info.o c-common.o dbxout.o ! 27: ! 28: # Language-specific object files for Objectionable C. ! 29: OBJC_OBJS = objc-parse.o objc-actions.o \ ! 30: c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o dbxout.o ! 31: ! 32: # Language-specific object files for C++. ! 33: CPLUS_OBJS = cp-tab.o cp-decl.o cp-decl2.o \ ! 34: cp-typeck.o cp-type2.o cp-tree.o cp-ptree.o \ ! 35: cp-cvt.o cp-search.o cp-lex.o cp-gc.o cp-call.o \ ! 36: cp-class.o cp-init.o cp-method.o cp-except.o \ ! 37: cp-expr.o cp-pt.o cp-edsel.o cp-xref.o c-common.o \ ! 38: cp-dbxout.o $(CPLUS_INPUT) ! 39: ! 40: # Language-independent object files. ! 41: OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \ ! 42: function.o stmt.o expr.o calls.o expmed.o explow.o optabs.o varasm.o \ ! 43: rtl.o print-rtl.o rtlanal.o sdbout.o dwarfout.o emit-rtl.o insn-emit.o \ ! 44: integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o \ ! 45: regclass.o local-alloc.o global-alloc.o reload.o reload1.o caller-save.o \ ! 46: insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o \ ! 47: insn-recog.o insn-extract.o insn-output.o \ ! 48: insn-attrtab.o aux-output.o ! 49: ! 50: # GEN files are listed separately, so they can be built before doing parallel ! 51: # makes for cc1 or cc1plus. Otherwise sequent parallel make attempts to load ! 52: # them before rtl.o is compiled. ! 53: GEN= genemit genoutput genrecog genextract genflags gencodes genconfig genpeep ! 54: ! 55: RTL_H = rtl.h rtl.def machmode.h machmode.def ! 56: TREE_H = tree.h real.h tree.def machmode.h machmode.def ! 57: CPLUS_TREE_H = $(TREE_H) cp-tree.h cp-tree.def ! 58: ! 59: ! 60: all : cccp cc1 cc1plus cc1obj ! 61: ! 62: ! 63: # Define the names for selecting languages in LANGUAGES. ! 64: c: cc1 ! 65: c++: cc1plus ! 66: objc: cc1obj ! 67: class-c: cc1obj ! 68: objective-c: cc1obj ! 69: ! 70: compilations: ${OBJS} ! 71: ! 72: gcc: gcc.o version.o $(LIBDEPS) ! 73: gcc $(ALL_CFLAGS) $(LDFLAGS) -o gcc gcc.o version.o ! 74: # Go via `gccnew' to avoid `file busy' if gcc is `gcc'. ! 75: # mv -f gccnew gcc ! 76: # Dump a specs file to make -B./ read these specs over installed ones ! 77: # gcc -dumpspecs > specs ! 78: ! 79: cc1 : $(C_OBJS) $(OBJS) $(LIBDEPS) ! 80: >cc1.rf $(ALL_CFLAGS) $(LDFLAGS) -o cc1 $(C_OBJS) $(OBJS) $(LIBS) ! 81: gcc @cc1.rf ! 82: ! 83: cc1plus : $(CPLUS_OBJS) $(OBJS) $(LIBDEPS) ! 84: >cc1plus.rf $(ALL_CFLAGS) $(LDFLAGS) -o cc1plus $(CPLUS_OBJS) $(OBJS) $(LIBS) ! 85: gcc @cc1plus.rf ! 86: ! 87: cc1obj : $(OBJC_OBJS) $(OBJS) $(LIBDEPS) ! 88: >cc1obj.rf $(ALL_CFLAGS) $(LDFLAGS) -o cc1obj $(OBJC_OBJS) $(OBJS) $(LIBS) ! 89: gcc @cc1obj.rf ! 90: ! 91: float.h : enquire ! 92: -./enquire -f > float.h ! 93: ! 94: # Used to compile enquire with standard cc, but have forgotten why. ! 95: # Let's try with GCC. ! 96: enquire: enquire.o gnulib ! 97: $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ENQUIRE_LDFLAGS) enquire.o -o $@ ! 98: enquire.o: enquire.c cc1 cpp ! 99: -cp enquire.c . > /dev/null 2>&1 ! 100: $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CPPFLAGS) $(ENQUIRE_CFLAGS) -I. \ ! 101: -c enquire.c ! 102: ! 103: # Compiling object files from source files. ! 104: ! 105: # Note that dependencies on obstack.h are not written ! 106: # because that file is not part of GCC. ! 107: # Dependencies on gvarargs.h are not written ! 108: # because all that file does, when not compiling with GCC, ! 109: # is include the system varargs.h. ! 110: ! 111: # C language specific files. ! 112: ! 113: c-parse_tab.o : c-parse_tab.c $(TREE_H) c-parse.h c-tree.h input.h flags.h ! 114: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c c-parse_tab.c ! 115: c-parse_tab.c : c-parse.y ! 116: $(BISON) $(BISONFLAGS) c-parse.y -o $@ ! 117: ! 118: c-decl.o : c-decl.c $(CONFIG_H) $(TREE_H) c-tree.h c-parse.h flags.h ! 119: c-typeck.o : c-typeck.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h ! 120: c-lang.o : c-lang.c $(CONFIG_H) $(TREE_H) ! 121: c-aux-info.o : c-aux-info.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h ! 122: c-convert.o : c-convert.c $(CONFIG_H) $(TREE_H) ! 123: ! 124: # C++ language specific files. ! 125: ! 126: cp-tab.o : cp-tab.c $(CPLUS_TREE_H) flags.h ! 127: gcc -c $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) \ ! 128: -DPARSE_OUTPUT=\"$(PWD)/cp-tab.output\" \ ! 129: cp-tab.c ! 130: ! 131: cp-tab.c cp-tab.h : cp-parse.y ! 132: @echo expect 29 shift/reduce conflicts and 14 reduce/reduce conflicts ! 133: $(BISON) $(BISONFLAGS) -d -o cp-tab.c cp-parse.y ! 134: ! 135: cp-lex.o : cp-lex.c $(CONFIG_H) $(CPLUS_TREE_H) \ ! 136: cp-tab.h cp-input.c flags.h ! 137: cp-decl.o : cp-decl.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \ ! 138: cp-parse.h cp-decl.h stack.h ! 139: cp-decl2.o : cp-decl2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h \ ! 140: cp-parse.h cp-decl.h ! 141: cp-type2.o : cp-type2.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h ! 142: cp-typeck.o : cp-typeck.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h ! 143: cp-class.o : cp-class.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h \ ! 144: cp-class.h flags.h ! 145: cp-call.o : cp-call.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h cp-class.h \ ! 146: flags.h ! 147: cp-init.o : cp-init.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h ! 148: cp-method.o : cp-method.c $(CONFIG_H) $(CPLUS_TREE_H) ! 149: cp-cvt.o : cp-cvt.c $(CONFIG_H) $(CPLUS_TREE_H) ! 150: cp-search.o : cp-search.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h ! 151: cp-tree.o : cp-tree.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h ! 152: cp-ptree.o : cp-ptree.c $(CONFIG_H) $(CPLUS_TREE_H) ! 153: cp-gc.o : cp-gc.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h ! 154: cp-except.o : cp-except.c $(CONFIG_H) $(CPLUS_TREE_H) flags.h ! 155: cp-expr.o : cp-expr.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) flags.h \ ! 156: expr.h insn-codes.h ! 157: cp-edsel.o : cp-edsel.c $(CONFIG_H) $(CPLUS_TREE_H) stack.h flags.h ! 158: cp-xref.o : cp-xref.c $(CONFIG_H) $(CPLUS_TREE_H) ! 159: cp-pt.o : cp-pt.c $(CONFIG_H) $(CPLUS_TREE_H) cp-decl.h cp-tab.h ! 160: ! 161: # Objectionable C language specific files. ! 162: ! 163: objc-parse.o : objc-parse.c $(TREE_H) c-parse.h \ ! 164: c-tree.h input.h flags.h objc-actions.h ! 165: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c objc-parse.c ! 166: objc-parse.c : objc-parse.y ! 167: $(BISON) $(BISONFLAGS) objc-parse.y -o $@ ! 168: ! 169: objc-actions.o : objc-actions.c $(TREE_H) c-tree.h c-parse.h \ ! 170: flags.h objc-actions.h ! 171: ! 172: # A file used by all variants of C. ! 173: ! 174: c-common.o : c-common.c $(TREE_H) c-tree.h c-parse.h flags.h ! 175: ! 176: # Language-independent files. ! 177: ! 178: gcc.o: gcc.c gvarargs.h obstack.h ! 179: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) \ ! 180: -DDEFAULT_TARGET_MACHINE=\"dos\" \ ! 181: -DCPP_SPEC=\"-D__MSDOS__\040-D__GO32__\" \ ! 182: -c gcc.c ! 183: ! 184: dumpvers: dumpvers.c ! 185: ! 186: version.o: version.c ! 187: obstack.o: obstack.c ! 188: ! 189: tree.o : tree.c $(CONFIG_H) $(TREE_H) gvarargs.h flags.h function.h ! 190: print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H) ! 191: stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) function.h ! 192: fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h ! 193: toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h input.h insn-attr.h ! 194: ! 195: rtl.o : rtl.c $(CONFIG_H) $(RTL_H) ! 196: ! 197: rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H) ! 198: ! 199: varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h \ ! 200: insn-codes.h expr.h hard-reg-set.h regs.h ! 201: function.o : function.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h \ ! 202: insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \ ! 203: recog.h output.h ! 204: stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h \ ! 205: insn-flags.h insn-config.h insn-codes.h hard-reg-set.h expr.h loop.h recog.h ! 206: expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) gvarargs.h flags.h function.h \ ! 207: insn-flags.h insn-codes.h expr.h insn-config.h recog.h output.h typeclass.h ! 208: calls.o : calls.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-flags.h ! 209: expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \ ! 210: insn-flags.h insn-config.h insn-codes.h expr.h recog.h ! 211: explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h hard-reg-set.h \ ! 212: insn-config.h expr.h recog.h insn-flags.h insn-codes.h ! 213: optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \ ! 214: insn-flags.h insn-config.h insn-codes.h expr.h recog.h ! 215: # symout.o : symout.c $(CONFIG_H) $(TREE_H) $(RTL_H) symseg.h gdbfiles.h ! 216: dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h regs.h ! 217: cp-dbxout.o : cp-dbxout.c $(CONFIG_H) $(CPLUS_TREE_H) $(RTL_H) flags.h ! 218: sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) gsyms.h ! 219: dwarfout.o : dwarfout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h ! 220: ! 221: emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) gvarargs.h function.h \ ! 222: regs.h insn-config.h real.h expr.h ! 223: ! 224: integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h integrate.h \ ! 225: insn-flags.h insn-config.h expr.h real.h function.h ! 226: ! 227: jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \ ! 228: insn-config.h insn-flags.h expr.h real.h ! 229: stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h ! 230: ! 231: cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h real.h \ ! 232: insn-config.h recog.h ! 233: loop.o : loop.c $(CONFIG_H) $(RTL_H) flags.h loop.h \ ! 234: insn-config.h insn-flags.h regs.h hard-reg-set.h recog.h expr.h real.h ! 235: unroll.o : unroll.c $(CONFIG_H) $(RTL_H) insn-config.h integrate.h regs.h \ ! 236: flags.h expr.h loop.h ! 237: flow.o : flow.c $(CONFIG_H) $(RTL_H) flags.h insn-config.h \ ! 238: basic-block.h regs.h hard-reg-set.h output.h ! 239: combine.o : combine.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h \ ! 240: insn-config.h insn-flags.h insn-codes.h insn-attr.h regs.h expr.h \ ! 241: basic-block.h recog.h real.h ! 242: regclass.o : regclass.c $(CONFIG_H) $(RTL_H) hard-reg-set.h flags.h \ ! 243: basic-block.h regs.h insn-config.h recog.h ! 244: local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) flags.h basic-block.h \ ! 245: regs.h hard-reg-set.h insn-config.h recog.h output.h ! 246: global-alloc.o : global-alloc.c $(CONFIG_H) $(RTL_H) flags.h \ ! 247: basic-block.h regs.h hard-reg-set.h insn-config.h output.h ! 248: ! 249: reload.o : reload.c $(CONFIG_H) $(RTL_H) flags.h \ ! 250: reload.h recog.h hard-reg-set.h insn-config.h regs.h real.h ! 251: reload1.o : reload1.c $(CONFIG_H) $(RTL_H) flags.h \ ! 252: reload.h regs.h hard-reg-set.h insn-config.h insn-flags.h basic-block.h \ ! 253: recog.h output.h ! 254: caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \ ! 255: reload.h regs.h hard-reg-set.h insn-config.h basic-block.h recog.h ! 256: reorg.o : reorg.c $(CONFIG_H) $(RTL_H) conditions.h hard-reg-set.h \ ! 257: basic-block.h regs.h insn-config.h insn-attr.h insn-flags.h recog.h \ ! 258: flags.h output.h ! 259: sched.o : sched.c $(CONFIG_H) $(RTL_H) basic-block.h regs.h hard-reg-set.h \ ! 260: flags.h insn-config.h insn-attr.h ! 261: final.o : final.c $(CONFIG_H) $(RTL_H) gvarargs.h flags.h regs.h \ ! 262: recog.h conditions.h \ ! 263: insn-config.h insn-attr.h real.h output.h hard-reg-set.h ! 264: recog.o : recog.c $(CONFIG_H) $(RTL_H) \ ! 265: regs.h recog.h hard-reg-set.h flags.h insn-config.h insn-attr.h \ ! 266: insn-flags.h insn-codes.h real.h ! 267: reg-stack.o : reg-stack.c $(CONFIG_H) $(RTL_H) $(TREE_H) \ ! 268: regs.h hard-reg-set.h flags.h ! 269: ! 270: aux-output.o : aux-output.c $(CONFIG_H) \ ! 271: $(RTL_H) regs.h hard-reg-set.h real.h insn-config.h conditions.h \ ! 272: insn-flags.h output.h insn-attr.h ! 273: ! 274: # Remake cpp and protoize. ! 275: ! 276: # Making the preprocessor ! 277: cpp: cccp ! 278: -rm -f cpp ! 279: ln cccp cpp ! 280: cccp: cccp.o cexp.o version.o $(LIBDEPS) ! 281: gcc $(ALL_CFLAGS) $(LDFLAGS) -o cccp cccp.o cexp.o version.o $(LIBS) ! 282: cexp.o: cexp.c ! 283: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c cexp.c ! 284: cexp.c: cexp.y ! 285: $(BISON) -o cexp.c cexp.y ! 286: cccp.o: cccp.c pcp.h version.c ! 287: >cccp.rf $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) \ ! 288: -DGPLUSPLUS_INCLUDE_DIR="/usr/include" \ ! 289: -DGCC_INCLUDE_DIR="/usr/include" \ ! 290: -c cccp.c ! 291: gcc @cccp.rf ! 292: ! 293: proto: config.status protoize unprotoize SYSCALLS.c.X protoize.1 unprotoize.1 ! 294: ! 295: protoize: protoize.o getopt.o getopt1.o $(MALLOC) ! 296: gcc -B./ $(GCC_CFLAGS) $(LDFLAGS) protoize.o getopt.o getopt1.o \ ! 297: $(MALLOC) -o $@ ! 298: protoize.o: protoize.c cc1 cpp getopt.h ! 299: gcc -B./ -c $(GCC_CFLAGS) $(CPPFLAGS) $(INCLUDES) \ ! 300: -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \ ! 301: -DGPLUSPLUS_INCLUDE_DIR=\"$(libsubdir)/g++-include\" \ ! 302: -DCROSS_INCLUDE_DIR=\"$(libsubdir)/sys-include\" \ ! 303: -DSTD_PROTO_DIR=\"$(libsubdir)\" \ ! 304: protoize.c -I$(srcdir) ! 305: ! 306: unprotoize: unprotoize.o getopt.o getopt1.o $(MALLOC) ! 307: gcc -B./ $(GCC_CFLAGS) $(LDFLAGS) unprotoize.o getopt.o getopt1.o \ ! 308: $(MALLOC) -o $@ ! 309: unprotoize.o: protoize.c cc1 cpp getopt.h ! 310: gcc -B./ -c $(GCC_CFLAGS) $(CPPFLAGS) $(INCLUDES) \ ! 311: -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \ ! 312: -DGPLUSPLUS_INCLUDE_DIR=\"$(libsubdir)/g++-include\" \ ! 313: -DCROSS_INCLUDE_DIR=\"$(libsubdir)/sys-include\" \ ! 314: -DSTD_PROTO_DIR=\"$(libsubdir)\" \ ! 315: -DUNPROTOIZE protoize.c -I$(srcdir) -o $@ ! 316: ! 317: getopt.o: getopt.c getopt.h cc1 cpp ! 318: gcc -B./ -c $(GCC_CFLAGS) $(CPPFLAGS) $(INCLUDES) getopt.c ! 319: getopt1.o: getopt1.c getopt.h cc1 cpp ! 320: gcc -B./ -c $(GCC_CFLAGS) $(CPPFLAGS) $(INCLUDES) getopt1.c ! 321: ! 322: protoize.1: proto-man ./cpp ! 323: ./cpp -traditional proto-man \ ! 324: | grep -v '^#' \ ! 325: | awk 'NF > 0 {print}' > protoize.1 ! 326: ! 327: unprotoize.1: proto-man ./cpp ! 328: ./cpp -traditional -DUNPRO proto-man \ ! 329: | grep -v '^#' \ ! 330: | awk 'NF > 0 {print}' > unprotoize.1 ! 331: ! 332: SYSCALLS.c.X: SYSCALLS.c gcc ./cc1 ./cpp ! 333: gcc -B./ $(GCC_CFLAGS) $(CPPFLAGS) $(INCLUDES) -fgen-aux-info \ ! 334: -S -o /dev/null SYSCALLS.c ! 335: ! 336: test-protoize: ! 337: -rm -f tmp-protoize.* ! 338: cp protoize.c tmp-protoize.c ! 339: chmod u+w tmp-protoize.c ! 340: ./unprotoize -N -c "-B./ -Wall -Wwrite-strings $(CFLAGS)" tmp-protoize.c ! 341: ./protoize -N -B ./ -c "-B./ -Wall -Wwrite-strings $(CFLAGS)" tmp-protoize.c ! 342: @echo Expect exactly one one line difference for visit_each_hash_node. ! 343: -diff protoize.c tmp-protoize.c ! 344: -rm -f tmp-protoize.* ! 345: ! 346: force: ! 347: ! 348: ! 349: # The following pair of rules has this effect: ! 350: # genconfig is run only if the md has changed since genconfig was last run; ! 351: # but the file insn-config.h is touched only when its contents actually change. ! 352: ! 353: # Each of the other insn-* files is handled by a similar pair of rules. ! 354: ! 355: # Each of the insn-*.[ch] rules has a semicolon at the end, ! 356: # for otherwise the system Make on SunOS 4.1 never tries ! 357: # to recompile insn-*.o. ! 358: ! 359: insn-config.h: md genconfig ! 360: go32 genconfig md > tmp-config.h ! 361: update tmp-config.h insn-config.h ! 362: ! 363: insn-flags.h: md genflags ! 364: go32 genflags md > tmp-flags.h ! 365: update tmp-flags.h insn-flags.h ! 366: ! 367: insn-codes.h: md gencodes ! 368: go32 gencodes md > tmp-codes.h ! 369: update tmp-codes.h insn-codes.h ! 370: ! 371: insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h real.h output.h \ ! 372: insn-config.h insn-flags.h insn-codes.h ! 373: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c insn-emit.c ! 374: ! 375: insn-emit.c: md genemit ! 376: go32 genemit md > tmp-emit.c ! 377: update tmp-emit.c insn-emit.c ! 378: ! 379: insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h recog.h \ ! 380: real.h output.h flags.h ! 381: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c insn-recog.c ! 382: ! 383: insn-recog.c: md genrecog ! 384: go32 genrecog md > tmp-recog.c ! 385: update tmp-recog.c insn-recog.c ! 386: ! 387: insn-extract.o : insn-extract.c $(CONFIG_H) $(RTL_H) ! 388: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c insn-extract.c ! 389: ! 390: insn-extract.c: md genextract ! 391: go32 genextract md > tmp-extract.c ! 392: update tmp-extract.c insn-extract.c ! 393: ! 394: insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h output.h real.h ! 395: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c insn-peep.c ! 396: ! 397: insn-peep.c: md genpeep ! 398: go32 genpeep md > tmp-peep.c ! 399: update tmp-peep.c insn-peep.c ! 400: ! 401: insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(RTL_H) regs.h real.h output.h \ ! 402: insn-attr.h insn-config.h ! 403: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c insn-attrtab.c ! 404: ! 405: insn-attr.h: md genattr ! 406: go32 genattr md > tmp-attr.h ! 407: update tmp-attr.h insn-attr.h ! 408: ! 409: insn-attrtab.c: md genattrtab ! 410: go32 genattrtab md > tmp-attrtab.c ! 411: update tmp-attrtab.c insn-attrtab.c ! 412: ! 413: insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h real.h conditions.h \ ! 414: hard-reg-set.h insn-config.h insn-flags.h insn-attr.h output.h recog.h \ ! 415: insn-codes.h ! 416: gcc $(ALL_CFLAGS) $(CPPFLAGS) $(INCLUDES) -c insn-output.c ! 417: ! 418: insn-output.c: md genoutput ! 419: go32 genoutput md > tmp-output.c ! 420: update tmp-output.c insn-output.c ! 421: ! 422: # Compile the programs that generate insn-* from the machine description. ! 423: # They are compiled with $(CC), and associated libraries, ! 424: # since they need to run on this machine ! 425: # even if GCC is being compiled to run on some other machine. ! 426: ! 427: # $(CONFIG_H) is omitted from the deps of the gen*.o ! 428: # because these programs don't really depend on anything ! 429: # about the target machine. They do depend on config.h itself, ! 430: # since that describes the host machine. ! 431: ! 432: genconfig : genconfig.o $(RTL) $(LIBDEPS) ! 433: gcc $(CFLAGS) $(LDFLAGS) -o genconfig \ ! 434: genconfig.o $(RTL) $(LIBS) ! 435: ! 436: genconfig.o : genconfig.c $(RTL_H) config.h ! 437: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genconfig.c ! 438: ! 439: genflags : genflags.o $(RTL) $(LIBDEPS) ! 440: gcc $(CFLAGS) $(LDFLAGS) -o genflags \ ! 441: genflags.o $(RTL) $(LIBS) ! 442: ! 443: genflags.o : genflags.c $(RTL_H) config.h ! 444: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genflags.c ! 445: ! 446: gencodes : gencodes.o $(RTL) $(LIBDEPS) ! 447: gcc $(CFLAGS) $(LDFLAGS) -o gencodes \ ! 448: gencodes.o $(RTL) $(LIBS) ! 449: ! 450: gencodes.o : gencodes.c $(RTL_H) config.h ! 451: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) gencodes.c ! 452: ! 453: genemit : genemit.o $(RTL) $(LIBDEPS) ! 454: gcc $(CFLAGS) $(LDFLAGS) -o genemit \ ! 455: genemit.o $(RTL) $(LIBS) ! 456: ! 457: genemit.o : genemit.c $(RTL_H) config.h ! 458: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genemit.c ! 459: ! 460: genrecog : genrecog.o $(RTL) $(LIBDEPS) ! 461: gcc $(CFLAGS) $(LDFLAGS) -o genrecog \ ! 462: genrecog.o $(RTL) $(LIBS) ! 463: ! 464: genrecog.o : genrecog.c $(RTL_H) config.h ! 465: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genrecog.c ! 466: ! 467: genextract : genextract.o $(RTL) $(LIBDEPS) ! 468: gcc $(CFLAGS) $(LDFLAGS) -o genextract \ ! 469: genextract.o $(RTL) $(LIBS) ! 470: ! 471: genextract.o : genextract.c $(RTL_H) config.h ! 472: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genextract.c ! 473: ! 474: genpeep : genpeep.o $(RTL) $(LIBDEPS) ! 475: gcc $(CFLAGS) $(LDFLAGS) -o genpeep \ ! 476: genpeep.o $(RTL) $(LIBS) ! 477: ! 478: genpeep.o : genpeep.c $(RTL_H) config.h ! 479: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genpeep.c ! 480: ! 481: genattr : genattr.o $(RTL) $(LIBDEPS) ! 482: gcc $(CFLAGS) $(LDFLAGS) -o genattr \ ! 483: genattr.o $(RTL) $(LIBS) ! 484: ! 485: genattr.o : genattr.c $(RTL_H) config.h ! 486: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genattr.c ! 487: ! 488: genattrtab : genattrtab.o $(RTL) $(RTLANAL) $(LIBDEPS) ! 489: gcc $(CFLAGS) $(LDFLAGS) -o genattrtab \ ! 490: genattrtab.o $(RTL) $(RTLANAL) $(LIBS) ! 491: ! 492: genattrtab.o : genattrtab.c $(RTL_H) config.h insn-config.h ! 493: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genattrtab.c ! 494: ! 495: genoutput : genoutput.o $(RTL) $(LIBDEPS) ! 496: gcc $(CFLAGS) $(LDFLAGS) -o genoutput \ ! 497: genoutput.o $(RTL) $(LIBS) ! 498: ! 499: genoutput.o : genoutput.c $(RTL_H) config.h ! 500: gcc -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) genoutput.c ! 501:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.