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

⟦17f4b3528⟧ TextFile

    Length: 2410 (0x96a)
    Types: TextFile
    Names: »Makefile.BSD«

Derivation

└─⟦a05ed705a⟧ Bits:30007078 DKUUG GNU 2/12/89
    └─⟦847972ed9⟧ »./gdbm0.9.tar.Z« 
        └─⟦e41d67701⟧ 
            └─⟦this⟧ »gdbm/Makefile.BSD« 

TextFile

# Makefile for dbm.  (BSD)
#
# CC = gcc

CFLAGS = -g
LINTFLAGS =

CFILES = bucket.c dbminit.c delete.c falloc.c fetch.c findkey.c global.c \
	hash.c seq.c store.c gdbmopen.c gdbmdelete.c gdbmfetch.c gdbmseq.c \
	gdbmstore.c update.c gdbmclose.c gdbmreorg.c version.c

HFILES = gdbmdefs.h extern.h gdbmerrno.h systems.h

OFILES = bucket.o dbminit.o delete.o falloc.o fetch.o findkey.o global.o \
	hash.o seq.o store.o gdbmopen.o gdbmdelete.o gdbmfetch.o gdbmseq.o \
	gdbmstore.o update.o gdbmclose.o gdbmreorg.o version.o

LIBDIR = /usr/lib
INCLUDE = /usr/include

default:	
	@echo "\"make gdbm.a\" to make the library"
	@echo "\"make testgdbm\" to make the gdbm test program"
	@echo "\"make testdbm\" to make the dbm compatability test program"
	@echo "\"make testndbm\" to make the ndbm compatability test program"
	@echo "\"make all\" to make all of the above "
	@echo "\"make install\" to install the library"

all:	gdbm.a testgdbm testdbm testndbm

gdbm.a:	$(OFILES) gdbm.h
	rm -f gdbm.a
	ar q gdbm.a $(OFILES)
	ranlib gdbm.a

gdbm.h:	gdbm.proto gdbmerrno.h
	cp gdbm.proto gdbm.h
	grep _ gdbmerrno.h >> gdbm.h

install: gdbm.a gdbm.h
	install -c -m 644 gdbm.a $(LIBDIR)/libgdbm.a
	install -c -m 644 gdbm.h $(INCLUDE)/gdbm.h

testgdbm: testgdbm.o $(OFILES) gdbm.a
	$(CC) -g -o testgdbm testgdbm.o gdbm.a

testdbm: testdbm.o $(OFILES) gdbm.a
	$(CC) -g -o testdbm testdbm.o gdbm.a

testndbm.o: testndbm.c
	$(CC) -c $(CFLAGS) -DGNU testndbm.c

testndbm: testndbm.o $(OFILES) gdbm.a
	$(CC) -g -o testndbm testndbm.o gdbm.a

lintgdbm: 
	lint $(LFLAGS) $(CFILES) testgdbm.c

clean:
	rm -f $(OFILES) gdbm.h testdbm testndbm testgdbm gdbm.a

gdbm.o:	gdbmdefs.h

bucket.o:	gdbmdefs.h systems.h
dbminit.o:	gdbmdefs.h extern.h gdbmerrno.h
delete.o:	gdbmdefs.h extern.h
falloc.o:	gdbmdefs.h systems.h
fetch.o:	gdbmdefs.h extern.h
findkey.o:	gdbmdefs.h systems.h
gdbmclose.o:	gdbmdefs.h systems.h systems.h
gdbmdelete.o:	gdbmdefs.h gdbmerrno.h systems.h
gdbmfetch.o:	gdbmdefs.h gdbmerrno.h systems.h
gdbmopen.o:	gdbmdefs.h gdbmerrno.h systems.h 
gdbmreorg.o:	gdbmdefs.h gdbmerrno.h systems.h
gdbmseq.o:	gdbmdefs.h systems.h
gdbmstore.o:	gdbmdefs.h gdbmerrno.h systems.h
global.o:	gdbmdefs.h gdbmerrno.h 
hash.o:		gdbmdefs.h extern.h 
seq.o:		gdbmdefs.h extern.h
store.o:	gdbmdefs.h extern.h
update.o:	gdbmdefs.h
version.o:
extern.h:	

testgdbm.o:	gdbmdefs.h extern.h gdbmerrno.h systems.h
testdbm.o:
testndbm.o:	gndbm.h