| 1 | # Host: Intel 386 running SVR4. |
| 2 | |
| 3 | # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc. |
| 4 | # This compiler not only emits obnoxious copyright messages every time |
| 5 | # you run it, but it chokes and dies on a whole bunch of GNU source |
| 6 | # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc. |
| 7 | # Unfortunately though, the AT&T compiler sometimes generates code that |
| 8 | # the assembler barfs on if -g is used, so disable it by default as well. |
| 9 | CC = /usr/ccs/ATT/cc |
| 10 | CFLAGS = |
| 11 | |
| 12 | SYSV_DEFINE=-DSYSV |
| 13 | REGEX=regex.o |
| 14 | REGEX1=regex.o |
| 15 | |
| 16 | # Need to compile and link in support for SVR4's /proc and i386 host dependent |
| 17 | # routines. |
| 18 | XDEPFILES= procfs.o fork-child.o i386-xdep.o |
| 19 | |
| 20 | # Use the i386 SVR4 host configuration file. |
| 21 | XM_FILE= xm-i386v4.h |
| 22 | |
| 23 | # We need to find alloca() somewhere. Gcc has one built in, but most other |
| 24 | # compilers don't. Using the one in /usr/ucblib/libucb.a is tricky because |
| 25 | # we have to be careful not to pull in anything else from the library (lots |
| 26 | # of things are broken in most SVR4 versions). The best solution is to just |
| 27 | # compile alloca.c and link it into the executable. If we end up not needing |
| 28 | # it, then the code is just dead. Once alloca.c moves to libiberty, then we |
| 29 | # can eliminate this semi-kludge. |
| 30 | ALLOCA=alloca.o |
| 31 | ALLOCA1=alloca.o |
| 32 | |
| 33 | # SVR4 comes standard with terminfo, and in some implementations, the |
| 34 | # old termcap descriptions are incomplete. So ensure that we use the |
| 35 | # new terminfo interface and latest terminal descriptions. |
| 36 | TERMCAP=-ltermlib |
| 37 | |
| 38 | # The /usr/ucb/install program is incompatible (complains about unknown |
| 39 | # group staff). Use good old cp... |
| 40 | INSTALL = cp |