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 - download
Index: ┃ M T

⟦7423a44b7⟧ TextFile

    Length: 2126 (0x84e)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen
    └─ ⟦this⟧ »cph85dist/rman/client/Makefile« 

TextFile

#
#  Makefile for remote man client
#
#  21 August 1985


# define LOCAL if you still have local man pages in /usr/man
# define SERVICES if you have "man" in /etc/services
# define SETUID if the local man directory is not writable by users,
# and set mode and owner to whoever owns the dirs...
# define EXEC_ON_ERROR if this is _not_ /usr/ucb/man and you want it to
# use ucb/man whenever it can't get a server.
# define PORT={service port}  if you do not have have an /etc/services entry 

CFLAGS = -O -DSERVICES
LFLAGS = -hbxa  
MODE   = 755
OWNER  = root
LIB    = /usr/lib
BIN    = /usr/ucb

SRCS   = dolocal.c getcat.c gethost.c getmore.c response.c rman.c server.c
OBJS   = dolocal.o getcat.o gethost.o getmore.o response.o rman.o server.o
DEST   = rman


.DEFAULT:
	co $<

${DEST}:  ${OBJS}
	cc ${CFLAGS} -o ${DEST} ${OBJS}

gethost.o: gethost.c
	cc ${CFLAGS} -c -DHOSTS=\"${LIB}/man.hosts\" gethost.c

install: ${DEST} man
	install -c -m ${MODE} -o ${OWNER} ${DEST} ${BIN}/${DEST}
	install -c man.hosts ${LIB}/man.hosts

lint: ${SRCS}
	lint ${LFLAGS} ${SRCS} > lint.out

print:
	pr -f ${HDRS} ${SRCS} | ${LPR} 

tags: ${SRCS} 
	ctags -w ${SRCS} 

clean:
	rm -f ${OBJS} core

depend: ${SRCS} 
	mv Makefile makefile.old
	sed '/^# Dependencies follow/,$$d' makefile.old > Makefile
	@echo '# Dependencies follow' >> Makefile
	includes -so ${SRCS}  >> Makefile
	@echo ' ' >> Makefile
	@echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
	@echo '# see depend: above' >> Makefile

# DO NOT DELETE THE FOLLOWING LINE
# Dependencies follow

server.o: /usr/include/netdb.h

rman.o: /usr/include/signal.h

rman.o: /usr/include/sys/file.h

gethost.o: /usr/include/errno.h

gethost.o: /usr/include/netinet/in.h

gethost.o: /usr/include/time.h

gethost.o: /usr/include/sys/time.h

gethost.o: /usr/include/sys/socket.h

server.o rman.o response.o getmore.o gethost.o getcat.o dolocal.o: \
/usr/include/stdio.h

dolocal.o: /usr/include/sys/dir.h

dolocal.o: /usr/include/sys/stat.h

gethost.o dolocal.o: /usr/include/sys/types.h

dolocal.o: /usr/include/sys/wait.h
 
# IF YOU PUT STUFF HERE IT WILL GO AWAY
# see depend: above