Use exec cc instead of cc (ast)

This commit is contained in:
Ben Gras 2005-09-07 08:43:25 +00:00
parent 2c34983afc
commit 5f2d97dfe6
40 changed files with 47 additions and 9 deletions

View file

@ -6,6 +6,7 @@ GZIP=gzip-1.2.4
PYTHON=python-1.5.2
BZIP2=bzip2-1.0.3
KERMIT=kermit-2.1.1
CC=exec cc
usage:
@echo "Usage: make all # Compile all commands" >&2

View file

@ -8,7 +8,7 @@ BINDIR = /usr/bin
# Flags you may want to add to CFLAGS:
# -DHAS_STDC=0 or 1 We have Standard C. Default=1 iff __STDC__ is nonzero.
CC = cc
CC = exec cc
CFLAGS = -D_POSIX_SOURCE
LDFLAGS = -i

View file

@ -19,6 +19,7 @@ OBJS= builtins.o cd.o dirent.o error.o eval.o exec.o expand.o input.o \
CPPFLAGS= -DSHELL -I. -D_MINIX -D_POSIX_SOURCE
CFLAGS= -wo -i $(CPPFLAGS)
LIBS= -ledit
CC = exec cc
CLEANFILES= $(OBJS) \
builtins.c builtins.h init.c mkinit mknodes mksignames mksyntax \

View file

@ -1,5 +1,6 @@
# Makefile for commands/autil
CC = exec cc
CFLAGS = -I. -D_MINIX -D_POSIX_SOURCE -wo
CCLD = $(CC) -i $(CFLAGS)

View file

@ -1,5 +1,6 @@
# Makefile for awk.
CC = exec cc
CFLAGS = -D_MINIX -D_POSIX_SOURCE -wo -w
LDFLAGS = -i -f

View file

@ -18,7 +18,7 @@ YACC = yacc
#YACC = bison -y
LEX = flex -I8
#LEX = lex
CC = cc
CC = exec cc
CFLAGS = -D_POSIX_SOURCE
LDFLAGS = -i
#

View file

@ -10,6 +10,8 @@ LDFLAGS = -i
LIBS =
CC = exec cc
LINKER = $(CC)
MAKEFILE = Makefile

View file

@ -2,7 +2,7 @@
SHELL=/bin/sh
# To assist in cross-compiling
CC=cc
CC=exec cc
AR=ar
ARFLAGS=cr
RANLIB=ranlib

View file

@ -34,6 +34,8 @@
#
#DEFS = -DUNIX -DMALLOCH
CC = exec cc
DEFS = -DUNIX -DUSG -DSTDLIB
CFLAGS = -i -f -wo -O ${DEFS}

View file

@ -1,6 +1,7 @@
# Makefile for cron.
CFLAGS= -D_MINIX -D_POSIX_SOURCE
CC = exec cc
LDFLAGS=
all: cron crontab

View file

@ -1,6 +1,6 @@
# Makefile for de
CC = cc
CC = exec cc
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -D_POSIX_1_SOURCE=2
all: de

View file

@ -2,6 +2,7 @@
CFLAGS = $(OPT) -D_MINIX
LDFLAGS =
CC = exec cc
all: dhcpd

View file

@ -26,6 +26,7 @@
CFLAGS =-O -wo
OBJ = disrel.o dismain.o distabs.o dishand.o disfp.o
CC=exec cc
all: dis88

View file

@ -1,5 +1,6 @@
# Makefile for elle
CC = exec cc
CFLAGS = -O -DIGN_JOB_CONTROL -D_POSIX_SOURCE -wa
LDFLAGS= -i

View file

@ -9,6 +9,7 @@
# PROGS the list of all programs
# SORT if the "tags" file must be sorted, then SORT=-DSORT
CC = exec cc
PROGS= elvis ctags ref elvrec fmt elvprsv
#---- These settings are recommended for Minix-PC ----

View file

@ -12,6 +12,8 @@ OBJS= ftp.o local.o file.o other.o net.o
all: $(PROG)
CC = exec cc
$(PROG): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS)
install -S 8kw $@

View file

@ -9,6 +9,7 @@ BINDIR= /usr/bin
PROG= in.ftpd
MANDIR= /usr/man/man8
MANPAGE=ftpd.8
CC = exec cc
OBJS= ftpd.o access.o file.o net.o

View file

@ -3,6 +3,7 @@
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
CC = exec cc
all:: acd

View file

@ -2,6 +2,7 @@
CFLAGS= $(OPT)
LDFLAGS= -i
CC = exec cc
all: asmconv

View file

@ -33,7 +33,7 @@ mandir = ${prefix}/man
infodir = ${prefix}/info
sysconfdir = /etc
CC = cc -D_MINIX
CC = exec cc -D_MINIX
CXX = @CXX@
MYCFLAGS =
MYCXXFLAGS =

View file

@ -3,6 +3,7 @@
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
CC = exec cc
all: cc

View file

@ -5,6 +5,7 @@
CFLAGS = -D_MINIX -D_POSIX_SOURCE
CCLD = $(CC) -i $(CFLAGS)
MAKE = exec make -$(MAKEFLAGS)
CC = exec cc
ALL = \
atnormalize \

View file

@ -170,7 +170,7 @@ void stat_reset(void)
if (statusrow > STATUSROW) stat_start(0);
stat_start(0);
putstr(
"Type '+' or '-' to change, 'r' to read, '?' for more help, '!' for advice");
"Type '+' or '-' to change, 'r' to read, '?' for more help, 'q' to exit");
}
statusrow= STATUSROW;
need_help= 0;

View file

@ -1,6 +1,7 @@
# Makefile for indent
CFLAGS= -c -O -D_MINIX -D_POSIX_SOURCE -wo -m
CC = exec cc
all: indent

View file

@ -7,6 +7,7 @@
#
CFLAGS = -DEXTENDED -O -D_POSIX_SOURCE -D_MINIX
CC = exec cc
OBJ = main.o eval.o serv.o look.o misc.o expr.o
INCL = mdef.h extr.h patchlevel.h

View file

@ -1,6 +1,7 @@
# Makefile for make (!)
CFLAGS = -O -Dunix -D_MINIX -D_POSIX_SOURCE
CC = exec cc
OBJ = check.o input.o macro.o main.o make.o reader.o rules.o archive.o

View file

@ -1,5 +1,7 @@
# Makefile for mined
CC = exec cc
CFLAGS = -O -wo -D_MINIX -D_POSIX_SOURCE
OBJ = mined1.o mined2.o

View file

@ -2,6 +2,8 @@
CFLAGS= -O -DVOIDSIG -wo -D_MINIX -D_POSIX_SOURCE -DSMALL
CC = exec cc
OBJ = patch.o pch.o inp.o util.o version.o
all: patch

View file

@ -2,6 +2,7 @@
CFLAGS=$(OPT) -D_MINIX -D_POSIX_SOURCE
LDFLAGS=-i
CC=exec cc
PROGRAMS= shutdown halt tinyhalt
MANUALS= shutdown.8 halt.8 reboot.2 reboot.8

View file

@ -1,6 +1,7 @@
# Makefile for rlogind.
CFLAGS = $(OPT) -D_MINIX
CC = exec cc
LDFLAGS =
all: rlogind

View file

@ -2,6 +2,7 @@
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
LDFLAGS = -i
CC = exec cc
OBJ = sh1.o sh2.o sh3.o sh4.o sh5.o sh6.o

View file

@ -3,6 +3,7 @@
CFLAGS = -D_MINIX -D_POSIX_SOURCE
SYS = ../..
CCLD = $(CC) -i $(CFLAGS)
CC = exec cc
# This Makefile is large, but that is because it lists all actions that must
# be taken to compile and install all the simple commands. If there were only

View file

@ -122,7 +122,7 @@ Filesystem Inodes IUsed IFree %%IUsed Mounted on\n",
unitsize);
} else {
printf("%s\n", !iflag ? "\
Filesystem 1K-Blocks Free Used % Files% Mounted on" : "\
Filesystem Size (kB) Free Used % Files% Mounted on" : "\
Filesystem Files Free Used % BUsed% Mounted on"
);
}

View file

@ -7,6 +7,7 @@ CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
LDFLAGS=-i
BINDIR= /usr/bin
PROG= talk
CC = exec cc
OBJS= talk.o screen.o net.o proto.o

View file

@ -7,6 +7,7 @@ CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
LDFLAGS=-i
BINDIR= /usr/bin
PROG= talkd
CC = exec cc
OBJS= talkd.o net.o process.o finduser.o

View file

@ -2,6 +2,7 @@
CFLAGS= -D_MINIX -D_POSIX_SOURCE
LDFLAGS=-i
CC = exec cc
SRC= ttn.c ttn_conf.c

View file

@ -7,6 +7,7 @@ CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
LDFLAGS=-i
BINDIR= /usr/bin
PROG= in.telnetd
CC = exec cc
OBJS= main.o telnet.o term.o pty.o wtmp.o

View file

@ -9,6 +9,7 @@ BINDIR= /usr/bin
PROG= urlget
LINK1= httpget
LINK2= ftpget
CC=exec cc
OBJS= urlget.o net.o

View file

@ -2,6 +2,7 @@
# CFLAGS : options for the C-compiler
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
CC=exec cc
# LDFLAGS : flags for the loader
# -i for a PDP-11 with separate I/D (not necessary)

View file

@ -2,14 +2,15 @@
all: rz sz
CC = exec cc
CFLAGS= -DPOSIX -D_MINIX -D_POSIX_SOURCE -O -wo
rz: rz.c rbsb.c zm.c zmodem.h
cc $(CFLAGS) -i -o rz rz.c
$(CC) $(CFLAGS) -i -o rz rz.c
install -S 5kw $@
sz: sz.c rbsb.c zm.c zmodem.h
cc $(CFLAGS) -i -o sz sz.c
$(CC) $(CFLAGS) -i -o sz sz.c
install -S 5kw $@
install: /usr/bin/rz /usr/bin/sz