|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: M T
Length: 5336 (0x14d8)
Types: TextFile
Names: »Makefile«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦bfebc70e2⟧ »EurOpenD3/mail/sendmail-5.65b+IDA-1.4.3.tar.Z«
└─⟦f9e35cd84⟧
└─⟦this⟧ »sendmail/uiuc/Makefile«
# Makefile written by Paul Pomes, University of Illinois,
# Computing Services Office
#
# Copyright (C) 1988 by Paul Pomes and the University of Illinois Board
# of Trustees
#
# This Makefile is distributed in the hope that it will be useful,
# but without any warranty. No author or distributor accepts
# responsibility to anyone for the consequences of using it or for
# whether it serves any particular purpose or works at all, unless
# s/he says so in writing.
#
# Everyone is granted permission to copy, modify and redistribute
# this Makefile under the following conditions:
#
# Permission is granted to anyone to make or distribute copies
# of Makefile source code, either as received or modified, in any
# medium, provided that all copyright notices, permission and
# nonwarranty notices are preserved, and that the distributor
# grants the recipient permission for further redistribution as
# permitted by this document, and gives him and points out to
# him an exact copy of this document to inform him of his rights.
#
# Permission is granted to distribute this Makefile in compiled
# or executable form under the same conditions applying for
# source code, provided that either
# A. it is accompanied by the corresponding machine-readable
# source code, or
# B. it is accompanied by a written offer, with no time limit,
# to give anyone a machine-readable copy of the corresponding
# source code in return for reimbursement of the cost of
# distribution. This written offer must permit verbatim
# duplication by anyone.
# C. it is distributed by someone who received only the
# executable form, and is accompanied by a copy of the
# written offer of source code which he received along with it.
#
# In other words, you are welcome to use, share and improve this
# Makefile. You are forbidden to forbid anyone else to use, share
# and improve what you give them. Help stamp out software-hoarding!
#
# UUCP: {uunet,convex}!uiucuxc!paul
# Internet, BITNET, CSNET: paul@uxc.cso.uiuc.edu
# US Mail: UofIllinois, CSO, 1304 W Springfield Ave, Urbana, IL 61801
# .PREFIXES: ./RCS
.SUFFIXES: .0 .8
# QI_HOST The fully qualified domain name of the local qi/ph server
# QI_ALT The fully qualified domain name of the backup qi/ph server
# DOMAIN The domain name to append to Reply-To: aliases. This must
# be the same as DOMAINMASTER in sendmail.cf
# SYSLOG Syslog logging facility.
#CC = cc -Dconst=
CC = gcc -ansi -fpcc-struct-return -fstrength-reduce
DEFS = -DQI_HOST=\"ns.uiuc.edu\" \
-DQI_ALT=\"ns1.uiuc.edu\" \
-DDOMAIN=\"uiuc.edu\" \
-DSYSLOG=LOG_MAIL
CFLAGS = ${DEFS} -O
FFLAGS = ${DEFS}
PFLAGS = ${DEFS}
LFLAGS =
YFLAGS =
LDFLAGS=
LIBS =
DESTBIN= /bin
DESTETC= /usr/local/etc
DESTLIB= /usr/lib/mail
CAT8DIR = /usr/local/man/cat8
DOCDIR = /usr/local/doc
HDRS =
SRCS = uucp-queue.c getpath.c misc.c phquery.c
OBJS = uucp-queue.o getpath.o misc.o phquery.o
OTHERS = Makefile README uucp-queue.8 phquery.8
VERS =
.8.0:
/usr/man/manroff $*.8 > $*.0
all: phquery # uucp-queue
uucp-queue: uucp-queue.o getpath.o misc.o
${CC} -o uucp-queue ${LDFLAGS} uucp-queue.o getpath.o misc.o -ldbm
# If your /lib/libc.a doesn't have mkstemp(), copy ../support/mktemp.c to this
# directory and insert into the SRCS/OBJS list above. Also add mktemp.o below.
phquery: phquery.o
$(CC) -o phquery ${LDFLAGS} phquery.o $(LIBS)
install: uucp-queue phquery uucp-queue.0 phquery.0
install -s uucp-queue ${DESTLIB}
install -s -o daemon -m 4511 phquery {DESTLIB}/phquery
install -c -m 444 uucp-queue.0 ${CAT8DIR}/uucp-queue.0
install -c -m 444 phquery.0 ${CAT8DIR}/phquery.0
uninstall: /tmp
rm -f ${DESTLIB}/uucp-queue ${DESTLIB}/phquery \
${CAT8DIR}/uucp-queue.0 ${CAT8DIR}/phquery.0
lint: ${HDRS} ${SRCS}
lint -chpb ${DEFS} phquery.c
# lint -habx ${DEFS} uucp-queue.c getpath.c misc.c
shar: ${HDRS} ${SRCS} ${OTHERS}
shar ${HDRS} ${SRCS} ${OTHERS} > uucp-queue.shar
tags: ${HDRS} ${SRCS}
ctags ${HDRS} ${SRCS}
clean:
@echo "Removing object and junk files."
rm -f uucp-queue phquery *.o core a.out make.log lint.out \
Makefile.bak uucp-queue.shar
clobber:
@echo "Removing read-only source files that have RCS parents."
@echo "Error code 1 indicates last file in SRCS list was not removed."
@echo "(Which is OK)"
make clean
-if [ `whoami` != root ]; then \
for i in ${HDRS} ${SRCS}; do \
if [ ! -w $$i ]; then \
( if [ -f $$i,v ]; then rm -f $$i; \
elif [ -f RCS/$$i,v ]; then rm -f $$i; \
fi ); \
else echo $$i "writeable, not removed"; \
fi; \
done; \
else echo "Running \"make clobber\" as root will zap ALL SRCS,\
RCS'ed or not (not done)."; \
fi
compress:
make clean
@echo "Compressing source and RCS files."
find . -size +2 \( -name \*.h -o -name \*.c -o -name \*.f \
-o -name \*.p -o -name \*.l -o -name \*.y -o -name \*,v \) \
-exec compress {} \;
uncompress:
uncompressdir .
# RCS stuff
ci: ${HDRS} ${SRCS}
-ci $?
@touch ci
coall:
co -l ${HDRS} ${SRCS}
update:
ci -sDist -u -f${VERS} ${HDRS} ${SRCS}
@touch ci
depend:
mkdep ${DEFS} ${SRCS}
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY