This commit is contained in:
seta75D
2021-10-11 18:37:13 -03:00
commit ff309bfe1c
14130 changed files with 3180272 additions and 0 deletions

38
old/Makefile Normal file
View File

@@ -0,0 +1,38 @@
#
# @(#)Makefile 1.1 94/10/31 SMI
#
DESTDIR=
CFLAGS= -O
LDFLAGS=
MAKE=/usr/bin/make
.KEEP_STATE:
# Programs that live in subdirectories, and have makefiles of their own.
#
SUBDIR= compact eyacc make filemerge
# C programs that live in the current directory and do not need
# explicit make lines.
#
STD= sun3cvt pti prmail syslog
all: ${SUBDIR} ${STD}
${SUBDIR}: FRC
cd $@ && $(MAKE) $(MFLAGS)
${STD}: $$@.c
${CC} ${CFLAGS} ${LDFLAGS} -o $@ $@.c
install:
install -d -o bin -m 755 ${DESTDIR}/usr/old
for i in ${SUBDIR}; \
do (cd $$i && $(MAKE) ${MFLAGS} DESTDIR=${DESTDIR} $@); done
install -s -o bin ${STD} ${DESTDIR}/usr/old
clean: FRC
$(RM) a.out core *.s *.o $(STD)
for i in ${SUBDIR}; do (cd $$i && $(MAKE) $(MFLAGS) $@); done
FRC: