DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦6b5e99df2⟧ TextFile

    Length: 5067 (0x13cb)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦f1ce22008⟧ »EurOpenD3/news/newsxd2.5.0.tar.Z« 
        └─⟦caa165e81⟧ 
            └─⟦this⟧ »Makefile« 

TextFile

# If the compiler complains about undefined structs, try removing the
# -DBSD4_2 in CFLAGS, below.
#
# If the linker complains that it can't find 'index', change -DSTRCHR=index
# to -DSTRCHR=strchr in CFLAGS, below.

CFLAGS=-O -DBSD4_2 -DSTRCHR=index
CC=/bin/cc

# If you want newsxd to be able to transmitters processes to a negative nice,
# make owner 'root'.  Currently this opens a can of worms since newsxd
# doesn't setuid to news before EXECing the transmitter.
# OWNER=root
# GROUP=staff
OWNER=news
GROUP=news

# Where to put newsxd when it's compiled
BINDIR=/usr/local/etc

# Where to put the manpage and the manual section it's going into
MANDIR=/usr/man/manl
MANEXT=l

SRCS=	config.c log.c main.c process.c util.c version.c
OBJS=	config.o log.o main.o process.o util.o version.o

all: newsxd

newsxd: ${OBJS}
	${CC} ${CFLAGS} -o $@ ${OBJS}

clean:
	rm -f ${OBJS} newsxd core

depend: ${SRCS}
	mkdep ${CFLAGS} ${SRCS}

install: newsxd newsxd.8
	install -c -m 444 -o root -g staff newsxd.8 ${MANDIR}/newsxd.${MANEXT}
	install -s -c -m 6755 -o ${OWNER} -g ${GROUP} newsxd ${BINDIR}

shar:
	shar README Makefile *.c *.h *.conf newsxd.8 > newsxd.shar

lint: ${SRCS}
	lint ${CFLAGS} ${SRCS}

# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

config.o: config.c defs.h /usr/include/stdio.h /usr/include/signal.h
config.o: /usr/include/strings.h /usr/include/syslog.h /usr/include/nlist.h
config.o: /usr/include/errno.h /usr/include/ctype.h /usr/include/sys/param.h
config.o: /usr/include/machine/param.h /usr/include/signal.h
config.o: /usr/include/sys/types.h /usr/include/sys/errno.h
config.o: /usr/include/sys/file.h /usr/include/sys/types.h
config.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
config.o: /usr/include/sys/ttydev.h /usr/include/sys/ttyio.h
config.o: /usr/include/sgtty.h /usr/include/sys/wait.h /usr/include/sys/types.h
config.o: /usr/include/sys/stat.h newsxd.h patchlevel.h /usr/include/time.h
config.o: /usr/include/sys/resource.h /usr/include/sys/../h/fixpoint.h
log.o: log.c defs.h /usr/include/stdio.h /usr/include/signal.h
log.o: /usr/include/strings.h /usr/include/syslog.h /usr/include/nlist.h
log.o: /usr/include/errno.h /usr/include/ctype.h /usr/include/sys/param.h
log.o: /usr/include/machine/param.h /usr/include/signal.h
log.o: /usr/include/sys/types.h /usr/include/sys/errno.h
log.o: /usr/include/sys/file.h /usr/include/sys/types.h
log.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
log.o: /usr/include/sys/ttydev.h /usr/include/sys/ttyio.h /usr/include/sgtty.h
log.o: /usr/include/sys/wait.h /usr/include/sys/types.h /usr/include/sys/stat.h
log.o: newsxd.h patchlevel.h /usr/include/time.h /usr/include/sys/resource.h
log.o: /usr/include/sys/../h/fixpoint.h
main.o: main.c defs.h /usr/include/stdio.h /usr/include/signal.h
main.o: /usr/include/strings.h /usr/include/syslog.h /usr/include/nlist.h
main.o: /usr/include/errno.h /usr/include/ctype.h /usr/include/sys/param.h
main.o: /usr/include/machine/param.h /usr/include/signal.h
main.o: /usr/include/sys/types.h /usr/include/sys/errno.h
main.o: /usr/include/sys/file.h /usr/include/sys/types.h
main.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
main.o: /usr/include/sys/ttydev.h /usr/include/sys/ttyio.h /usr/include/sgtty.h
main.o: /usr/include/sys/wait.h /usr/include/sys/types.h
main.o: /usr/include/sys/stat.h newsxd.h patchlevel.h /usr/include/time.h
main.o: /usr/include/sys/resource.h /usr/include/sys/../h/fixpoint.h
process.o: process.c defs.h /usr/include/stdio.h /usr/include/signal.h
process.o: /usr/include/strings.h /usr/include/syslog.h /usr/include/nlist.h
process.o: /usr/include/errno.h /usr/include/ctype.h /usr/include/sys/param.h
process.o: /usr/include/machine/param.h /usr/include/signal.h
process.o: /usr/include/sys/types.h /usr/include/sys/errno.h
process.o: /usr/include/sys/file.h /usr/include/sys/types.h
process.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
process.o: /usr/include/sys/ttydev.h /usr/include/sys/ttyio.h
process.o: /usr/include/sgtty.h /usr/include/sys/wait.h
process.o: /usr/include/sys/types.h /usr/include/sys/stat.h newsxd.h
process.o: patchlevel.h /usr/include/time.h /usr/include/sys/resource.h
process.o: /usr/include/sys/../h/fixpoint.h
util.o: util.c defs.h /usr/include/stdio.h /usr/include/signal.h
util.o: /usr/include/strings.h /usr/include/syslog.h /usr/include/nlist.h
util.o: /usr/include/errno.h /usr/include/ctype.h /usr/include/sys/param.h
util.o: /usr/include/machine/param.h /usr/include/signal.h
util.o: /usr/include/sys/types.h /usr/include/sys/errno.h
util.o: /usr/include/sys/file.h /usr/include/sys/types.h
util.o: /usr/include/sys/ioctl.h /usr/include/sys/ttychars.h
util.o: /usr/include/sys/ttydev.h /usr/include/sys/ttyio.h /usr/include/sgtty.h
util.o: /usr/include/sys/wait.h /usr/include/sys/types.h
util.o: /usr/include/sys/stat.h newsxd.h patchlevel.h /usr/include/time.h
util.o: /usr/include/sys/resource.h /usr/include/sys/../h/fixpoint.h
version.o: version.c

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY