|
|
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: 2762 (0xaca)
Types: TextFile
Names: »Makefile«
└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
└─⟦this⟧ »EUUGD18/General/Search/Makefile«
#
# makefile for intermachine search
#
# if you don't have AF_INET sockets available on your machine
# (i.e. no network stuff) then take out the flag -DINET
#
# If you don't want the following changes, take out the flag -DHACK
# 1) either hack/rogue direction keys or keypad may be used
# 2) 'h' (homing cmd) replaced by 'H' or 'p'
# 3) Either '.' or '0' will phaser
# 4) 'b' (broadcast) replaced by 'B'
# 5) 'j' (join group) replaced by 'J'
# 6) 'l' (list players in group) replaced by 'L'
# 7) 'n' (nuke) replaced by ' ' (spacebar)
# 8) upward velocity (and position) is positive instead of negative.
#
# run "make install" as ${ROOT}
#
OWNER= dealer
ROOT= root
#ROOT= ${OWNER}
GROUP= daemon
ETCDIR= /etc
OBJDIR= /usr/games
LIBDIR= /usr/games/lib/search
OPTIONS=-DINET -DHACK -DLIBDIR=\"${LIBDIR}
CFLAGS= -O ${OPTIONS}
HEADS= defines.h structs.h
CFILES= aliens.c bursts.c cmds1.c cmds2.c groups.c init.c\
io.c lists.c main.c planet.c playmap.c scab.c tgoto.c\
util.c score.c signal.c ipc.c
OBJECTS=aliens.o bursts.o cmds1.o cmds2.o groups.o init.o\
io.o lists.o main.o planet.o playmap.o scab.o tgoto.o\
util.o score.o signal.o ipc.o
all: search searchwho sscore searchd
search: search.c ${HEADS}
cc ${CFLAGS} search.c -ltermcap -o search
searchwho: searchwho.c ${HEADS}
cc ${CFLAGS} searchwho.c -o searchwho
sscore: sscore.c ${HEADS}
cc ${CFLAGS} sscore.c -o sscore
searchd: ${OBJECTS}
cc ${CFLAGS} ${OBJECTS} -o searchd
${OBJECTS}: ${HEADS}
install: searchd search sscore searchwho
install -s -o ${ROOT} -g ${GROUP} -m 6751 searchd ${ETCDIR}/searchd
install -s -o ${OWNER} -g ${GROUP} -m 751 sscore ${OBJDIR}/sscore
install -s -o ${OWNER} -g ${GROUP} -m 751 search ${OBJDIR}/search
install -s -o ${OWNER} -g ${GROUP} -m 751 searchwho ${OBJDIR}/searchwho
-mkdir ${LIBDIR}
chmod 775 ${LIBDIR}
touch ${LIBDIR}/points
touch ${LIBDIR}/errlog
chown ${OWNER} ${LIBDIR} ${LIBDIR}/points ${LIBDIR}/errlog
chgrp ${GROUP} ${LIBDIR} ${LIBDIR}/points ${LIBDIR}/errlog
chmod 664 ${LIBDIR}/points ${LIBDIR}/errlog
lint:
lint -hxa ${OPTIONS} aliens.c bursts.c cmds1.c cmds2.c \
groups.c init.c io.c lists.c main.c planet.c playmap.c \
scab.c tgoto.c util.c score.c signal.c ipc.c
profile:
cc -pg -o searchd.pro ${OBJECTS}
clean:
rm -f *.o searchd sscore search searchwho core a.out ERRS errs
tags: ${CFILES}
ctags ${CFILES}
distrib: ${CFILES} ${HEADS} Rules.ms README Makefile search.6
shar search.c sscore.c searchwho.c README >search1.shar
shar Rules.ms Makefile search.6 >search2.shar
shar main.c ipc.c >search3.shar
shar defines.h structs.h cmds1.c cmds2.c >search4.shar
shar init.c util.c io.c tgoto.c score.c >search5.shar
shar playmap.c scab.c signal.c groups.c planet.c \
aliens.c bursts.c lists.c >search6.shar