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

⟦602ca7e37⟧ TextFile

    Length: 1933 (0x78d)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦cfd40dc56⟧ »EurOpenD3/news/nntp/nntp.1.5.8.tar.Z« 
        └─⟦2ec98eca6⟧ 
            └─⟦this⟧ »Makefile« 

TextFile

#
# Makefile for NNTP intstallation
#
# set CFLAGS to be -Ipath/to/special/includes if needed
CFLAGS= -O 
# set LIBS to be -lneededlibrary if needed
LIBS=

DISTFILES = Makefile README CHANGES rrnpatches

DISTDIRS = common doc inews server support xfer xmit

DIST = $(DISTFILES) $(DISTDIRS)

SHELL=/bin/sh

# Make this either "server" or "client" depending on whether
# you want this package compiled to be a server or a client
# (You can always say "make server" or "make client" if you want.

TYPE = 

all: make_$(TYPE)

make_:
	@ echo "If you want to make a server version or a client version,"
	@ echo "type \"make server\" or \"make client\" respectively."
	@ echo "See README for details."

make_server: /nowhere
	cd server; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"
	cd support; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"
	cd doc; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"
	cd xmit; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"
	cd xfer; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"

server: make_server

make_client: /nowhere
	cd inews; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"
	cd doc; make "LIBS=${LIBS}" "CFLAGS=${CFLAGS}"

client: make_client

install: install_$(TYPE)

install_:
	@ echo "If you want to install a server version or"
	@ echo "a client version, type \"make install_server\""
	@ echo "or \"make install_client\" respectively."
	@ echo "See README for more details."

install_server:
	cd server; make install
	cd support; make install
	cd doc; make install

install_client:
	cd inews; make install
	cd doc; make install

clean:
	rm  -f .[a-z]* ; for i in $(DISTDIRS); do cd $$i; make clean; cd ..; done

check:
	for i in $(DISTDIRS); do cd $$i; make check; cd ..; done

distrib: check
	mkdir ../nntp.dist
	cp -rp $(DIST) ../nntp.dist
	cd ../nntp.dist; for i in $(DISTDIRS); do cd $$i; make distrib; cd ..; done

rpt: /nowhere
	tar cf rrnpatches.tar rrnpatches; compress rrnpatches.tar

server: /nowhere
client: /nowhere

/nowhere: ;