head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	98.02.10.16.43.42;	author scrappy;	state dead;
branches;
next	1.1;

1.1
date	98.02.05.15.43.43;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Erk, the whole directory structure changed on us here...
@
text
@# Generated automatically from Makefile.in by configure.
POSTGRESTOP=@@POSTGRESERVER@@
POSTGRES_BIN=$(POSTGRESTOP)/bin
POSTGRES_LIB=$(POSTGRESTOP)/lib

CC=gcc
LEX=flex
LEXLIB=-lfl
YACC=bison -y


CFLAGS=-I../include -O2 -g -Wall

all:: ecpg

clean::
	rm -f *.o core a.out ecpg y.tab.h y.tab.c *~

install:: all
	install -c -d -m755 $(POSTGRES_LIB)/ecpg
	install -c -m555 preproc $(POSTGRES_LIB)/ecpg
	install -c -m555 ecpg $(POSTGRES_BIN)

uninstall::
	rm -f $(POSTGRES_BIN)/ecpg
	rm -f $(POSTGRES_LIB)/ecpg/preproc

# Rule that really do something.
ecpg: y.tab.o pgc.o type.o ecpg.o
	$(CC) -g -O2 -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o -L../lib -lecpg $(LEXLIB)

y.tab.h y.tab.c: preproc.y
	$(YACC) -d $<

y.tab.o : y.tab.h ../include/ecpgtype.h
type.o : ../include/ecpgtype.h
pgc.o : ../include/ecpgtype.h
@


1.1
log
@From: Michael Meskes <meskes@@topsystem.de>

Well this is not really a patch. But I mananged to get Linus' old Postgres95
precompiler to compile and work with PostgreSQL. The next step would be to
collect bug/missing feature reports and to put it into the distribution so
that it is made with the standard make procedure.

Warning! So far it is not tested much and it does not install correctly. But
I was able to create a small binary with it.
@
text
@@
