|
|
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: 1623 (0x657)
Types: TextFile
Names: »Makefile«
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
└─⟦2fafebccf⟧ »EurOpenD3/mail/smail3.1.19.tar.Z«
└─⟦bcd2bc73f⟧
└─⟦this⟧ »pd/strlib/Makefile«
#!/bin/make -f
# @(#)Makefile 1.17 3/12/89 13:59:07
# Makefile for the public domain string library for smail
SHELL=/bin/sh
MAKE=make
GET=sccs get
AR=ar
LINT=lint
CC=cc
CLEAN=sccs clean
MK=${MAKE} -${MAKEFLAGS}
SRC_PREFIX=
MKDEPEND=${ROOT}/conf/lib/mkdepend.sh
MKDEFS=${ROOT}/conf/lib/mkdefs.sh
CHECKDEFS=${ROOT}/conf/lib/checkdefs.sh
MKDIRS=${ROOT}/conf/lib/mkdirs.sh
INST=${ROOT}/conf/lib/inst.sh
INSTM=${ROOT}/conf/lib/instm.sh
DEFS_SH=defs.sh
DEFS_H=defs.h
DEFS_SED=defs.sed
CFLAGS=$$CFLAGS
ROOT=../..
OBJ=_str2set.o strpbrk.o strspn.o strcspn.o bcopy.o bzero.o bcmp.o
CSRC=_str2set.c strpbrk.c strspn.c strcspn.c bcopy.c bzero.c bcmp.c
HSRC=_str2set.h strings.h
MISCSRC=Makefile README
SRC=${CSRC} ${HSRC} ${MISCSRC}
.c.o:
. ./${DEFS_SH}; ${CC} ${CFLAGS} -c $*.c
all: libstr.a
libstr.a: ${OBJ} Makefile
${AR} cr libstr.a ${OBJ}
@. ./${DEFS_SH}; \
echo $$RANLIB libstr.a; \
$$RANLIB libstr.a
sources: ${SRC}
${SRC}:
${GET} $@
${DEFS_H} ${DEFS_SH} ${DEFS_SED}:
ROOT=${ROOT} ${SHELL} ${MKDEFS}
${OBJ}: ${DEFS_SH}
names:
@for i in ${SRC}; do echo ${SRC_PREFIX}$$i; done
lint: ${CSRC}
. ./${DEFS_SH}; ${LINT} ${LINTFLAGS} ${CSRC}
depend local_depend: check_defs
${SHELL} ${MKDEPEND} Makefile ${CSRC}; \
. ./${DEFS_SH}; echo "$$DEFS_DEPEND" >> Makefile; \
chmod -w Makefile
check_defs:
ROOT=${ROOT} ${SHELL} ${CHECKDEFS}
install:
clean:
rm -f ${DEFS_SH} ${DEFS_H} ${DEFS_SED}
rm -f .${DEFS_SH} .${DEFS_H} .${DEFS_SED} .Makefile
rm -f a.out core ${OBJ}
clobber: clean
rm -f libstr.a
nuke: clobber
-${CLEAN}
-${GET} Makefile
# DO NOT REMOVE THIS LINE OR "make depend" WILL NOT WORK