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

⟦c961d4acd⟧ TextFile

    Length: 1734 (0x6c6)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦f91e15335⟧ »EurOpenD3/news/nntp/nntplink2.0.0.tar.Z« 
        └─⟦2c70c5e6b⟧ 
            └─⟦this⟧ »Makefile« 

TextFile

# -lresolv needed below for pyramids
# LIBS= -lresolv
# CFLAGS= -g ${DEFS}
CFAGS= -O
MANDIR=/usr/man/manl
MANEXT=l
DESTDIR=/usr/lib/news
OWNER=news
GROUP=news
# Comment this out if you don't want to do a parallel make
# PARALLEL=&
# Change this if you don't have gcc
CC=cc

HFILES=get_tcp_conn.h sysexits.h nntp.h conf.h global.h
SRC=nntplink.c remote.c get_tcp_conn.c vrfy.c queue.c misc.c xfer.c\
	stats.c vers.c
OBJ=nntplink.o remote.o get_tcp_conn.o vrfy.o queue.o misc.o xfer.o\
	stats.o vers.o
FILES=Makefile ${SRC} ${HFILES} nntplinks nntplink-kill README nntplink.8 newrev Wishlist version

all: nntplink

nntplink:${PARALLEL} ${OBJ} 
	./newrev
	${CC} -c -O compiled.c
	${CC} -o $@ ${OBJ} compiled.o ${LIBS}
	@ls -las $@ ; size $@

update: ${FILES}
	./newvers
	make nntplink
	tar cvf /usr/local/ftp/pub/nntplink/nntplink`cat version`.tar ${FILES}
	compress /usr/local/ftp/pub/nntplink/nntpllink`cat version`.tar
	makekit -t'Congrats!  Make sure config.h is up-to-date.' -n../Link`cat version`. ${FILES}
	touch update

tarfile: ${FILES}
	tar cvf /usr/local/ftp/pub/nntplink/nntplink`cat version`.tar ${FILES}
	compress /usr/local/ftp/pub/nntplink/nntplink`cat version`.tar
	touch update

nntplink.o: nntplink.c conf.h

get_tcp_conn.o: get_tcp_conn.c get_tcp_conn.h

remote.o: remote.c conf.h get_tcp_conn.h

install: nntplink nntplink.8
	install -c -m 444 -o root -g staff nntplink.8 ${MANDIR}/nntplink.${MANEXT}
	install -s -c -m 555 -o ${OWNER} -g ${GROUP} nntplink ${DESTDIR}

lint:
	lint -hbx ${DEFS} ${SRC} ${LIBS}

clean:
	rm -f nntplink ${OBJ} update NNTPlink.??

nntplink.c: conf.h nntp.h Makefile
vrfy.c: conf.h global.h
queue.c: global.h conf.h
misc.c: global.h conf.h
xfer.c: global.h conf.h
stat.c: global.h conf.h