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

⟦58fa16d50⟧ TextFile

    Length: 2476 (0x9ac)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Abermud/Makefile« 

TextFile

##  Abermud.
##  $Header: Makefile,v 1.1 89/03/13 09:39:21 rsalz Exp $
#

# Game owner and group.
#
USER=mud
GROUP=mud

# don't use -O with gcc 1.35
CC= gcc
CFLAGS= -fwritable-strings -traditional 
LDFLAGS	= $(DEFS) -a -b -h

HEADERS	= \
	kernel.h condact.h

SRC_PROG= \
	action.c blib.c blood.c bootstrap.c bprintf.c condition.c \
	database.c debug.c exec.c extra.c frob.c key.c locdir.c loctable.c \
	magic.c mobile.c mudprog.c new1.c newuaf.c objsys.c opensys.c \
	parse.c parser.c showpriv.c support.c tk.c weather.c zones.c
OBJ_PROG= \
	action.o blib.o blood.o bootstrap.o bprintf.o condition.o \
	database.o debug.o exec.o extra.o frob.o key.o locdir.o loctable.o \
	magic.o mobile.o mudprog.o new1.o newuaf.o objsys.o opensys.o \
	parse.o parser.o showpriv.o support.o tk.o weather.o zones.o

SRC_DRIVER= \
	mud.c blib.c
OBJ_DRIVER= \
	mud.o blib.o

SRC_GEN	= \
	generate.c blib.c
OBJ_GEN	= \
	generate.o blib.o

##  These are the two programs that are built.
PROGRAMS= \
	mud mudprog generate

##  Data files.  If you change the pathnames, edit kernel.h and rebuild
##  the world.
DATA	= \
	DATAFILES/reset_data DATAFILES/world_file DATAFILES/uaf.rand \
	DATAFILES/user_file

##
all:			$(PROGRAMS)

install:                $(DATA)
	chown $(USER).$(GROUP) mud mudprog DATAFILES/*
	chmod 4700 mudprog
	chmod 4711 mud

tar: clean
	tar cvf ../abermud.new.tar .
	compress ../abermud.new.tar

clean:
	rm -f $(PROGRAMS) $(DATA) mud_syslog *.o
	rm -f a.out foo core tags lint* MANIFEST.BAK

lint:			lint.mud lint.prog lint.gen

tags:			FORCE
	ctags -t *.[ch]

FORCE:


##
lint.mud:		mud
	lint $(LDEFS) $(SRC_DRIVER) | sed -f Fluff.sed >lint.mud
lint.prog:		mudprog
	lint $(LDEFS) $(SRC_PROG) | sed -f Fluff.sed >lint.prog
lint.gen:		generate
	lint $(LDEFS) $(SRC_GEN) >lint.gen


##
mudprog:		$(OBJ_PROG)
	@rm -f mudprog
	$(CC) -o mudprog $(OBJ_PROG)

mud:			$(OBJ_DRIVER)
	@rm -f mud
	$(CC) -o mud $(OBJ_DRIVER)

generate:		$(OBJ_GEN)
	@rm -f generate
	$(CC) -o generate $(OBJ_GEN)


##  Header file dependencies.
#$(OBJ_DRIVER):		kernel.h
#$(OBJ_PROG):		kernel.h
action.o condition.o database.o debug.o exec.o:	condact.h


##  Data files built by the tools
DATAFILES/reset_data:	generate DATAFILES/reset.txt
	./generate reset DATAFILES/reset.txt DATAFILES/reset_data
DATAFILES/world_file:	generate
	./generate world DATAFILES/world_file
DATAFILES/uaf.rand:	generate
	./generate uaf DATAFILES/uaf.rand
DATAFILES/user_file:	generate
	./generate userfile DATAFILES/user_file