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: ┃ T m

⟦b102c5d5b⟧ TextFile

    Length: 1137 (0x471)
    Types: TextFile
    Names: »makefile«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/gprolog/makefile« 

TextFile

PLSTARTUP="Startup"
BIN="gprolog1.5"
GRIND=igrind

# Replace VAX by IEEE for IEEE floating point machines (e.g. Sun)
FLOATING=IEEE

# Replace the right-end side by the empty string to get
# -1 as end of file character

EOF=

CFLAGS=-w -O $(EOF) -D$(FLOATING) -DGRAPHICS -DSTARTUPFILE=\"$(PLSTARTUP)\"
# change define in parms.c - no mistakes then!
OBJECTS=main.o unify.o rewrite.o dbase.o sysbits.o space.o trace.o\
	parms.o arith.o compare.o auxfn.o gr1.o gr2.o gr3.o prtable.o\
	pushargs.o

CProlog : $(OBJECTS)
	$(CC) -o CProlog -s $(OBJECTS) -lg -ltermcap -lm

main.o : arithop.h evalp.h

gr1.o   : gr.h
	$(CC) $(CFLAGS) -c gr1.c
	ld -r gr1.o -lcore -lsunwindow -lpixrect
	mv a.out gr1.o
gr2.o   : gr.h
gr3.o   : gr.h

(OBJECTS) : pl.h
arith.o : arithop.h

pushargs.o : pushargs.s
	as -o pushargs.o pushargs.s

startup : CProlog pl/init.pl
	./CProlog -b pl/init.pl <bootcmd

install : CProlog startup
	mv startup $(PLSTARTUP)
	mv CProlog $(BIN)

doc :
	nroff gprolog.nr > gprolog.doc

grind:
	$(GRIND) pl.h evalp.h arithop.h main.c rewrite.c dbase.c auxfn.c \
		arith.c unify.c compare.c sysbits.c space.c parms.c
	$(GRIND) -x index