SAMPLES=open phrase getfile LQ=/usr/src/cmd/lq-text/src CFLAGS_LOCAL= -Wall -Wshadow -Wpointer-arith -Wcast-qual -fstrength-reduce -fomit-frame-pointer -finline-functions -fdelayed-branch DBDIR=$(LQ)/PORT/sunos.4.1.1 DB=-D"bsddb" -I$(DBDIR)/PORT/sunos.4.1.1 -I$(DBDIR)/PORT/sunos.4.1.1/include LD=gcc $(CFLAGS_LOCAL) LDFLAGS=-L$(LQ)/lib -L$(DBDIR) CC=gcc CFLAGS=-I$(LQ)/h -g $(DB) $(CFLAGS_LOCAL) all: $(SAMPLES) getfile: getfile.o $(LD) $(LDFLAGS) -o getfile getfile.o -llqtext -llqutil -llqerror -ldb open: open.o $(LD) $(LDFLAGS) -o open open.o -llqtext -llqutil -llqerror -ldb phrase: phrase.o $(LD) $(LDFLAGS) -o phrase phrase.o -llqtext -llqutil -llqerror -ldb clean: /bin/rm -f $(SAMPLES) *.o core