head	1.7;
access;
symbols
	REL6_5_PATCHES:1.6.0.4
	REL6_5:1.6
	REL6_4:1.6.0.2
	release-6-3:1.3
	SUPPORT:1.1.1.1
	PG95-DIST:1.1.1;
locks; strict;
comment	@# @;


1.7
date	99.10.11.17.46.56;	author momjian;	state dead;
branches;
next	1.6;

1.6
date	98.04.23.17.25.27;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	98.04.22.04.15.05;	author scrappy;	state Exp;
branches;
next	1.4;

1.4
date	98.03.14.21.57.00;	author momjian;	state Exp;
branches;
next	1.3;

1.3
date	96.09.19.20.18.55;	author scrappy;	state Exp;
branches;
next	1.2;

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

1.1
date	96.08.18.22.14.31;	author scrappy;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.08.18.22.14.31;	author scrappy;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Add pginterface into main tree, called pgeasy.
@
text
@#
# Makefile
#
#
PGINTERFACE = pginterface.o halt.o 
TARGET = pginsert pgwordcount pgnulltest
CFLAGS = -g -Wall -I. -I../../src/interfaces/libpq  -I/usr/local/pgsql/include
LDFLAGS = -L/usr/local/pgsql/lib -lpq

all : $(TARGET)

pginsert:	$(PGINTERFACE) pginsert.c
	gcc -o $@@ $(CFLAGS) $@@.c $(PGINTERFACE) $(LDFLAGS)

pgwordcount:	$(PGINTERFACE) pgwordcount.c
	gcc -o $@@ $(CFLAGS) $@@.c $(PGINTERFACE) $(LDFLAGS)

pgnulltest:	$(PGINTERFACE) pgnulltest.c
	gcc -o $@@ $(CFLAGS) $@@.c $(PGINTERFACE) $(LDFLAGS)

pginterface.o:	pginterface.c
	gcc -c $(CFLAGS) pginterface.c

halt.o:	halt.c
	gcc -c $(CFLAGS) halt.c

clean:
	rm -f *.o $(TARGET) log core

install:
	install -s -o bin -g bin $(TARGET) /usr/local/pgsql/bin

@


1.6
log
@pginterface cleanup
@
text
@@


1.5
log
@From: Jun Kuwamura <juk@@rccm.co.jp>

  This patch fix the Makefiles in contrib/{pginterface, spi,
miscutil, int8, ip_and_mac, sequence, soundex, string, userlock,
array, datetime} to install their modules in one directory(lib/modules/).
@
text
@d7 1
a7 1
CFLAGS = -g -fpic -Wall -I. -I../../src/interfaces/libpq  -I/usr/local/pgsql/include
@


1.4
log
@Change Postgres95 to PostgreSQL.  Update CLUSTER manual page.
@
text
@d7 1
a7 1
CFLAGS = -g -Wall -I/usr/local/pgsql/include 
d12 14
a25 2
$(TARGET):	$(PGINTERFACE) $*.c
	cc -o $* $(CFLAGS) $*.c $(PGINTERFACE) $(LDFLAGS)
a26 3
$(PGINTERFACE):	pginterface.c halt.c
	cc -c $(CFLAGS) pginterface.c halt.c
	
d31 2
a32 3
	make clean
	make CFLAGS=-O
	install -s -o bin -g bin $(TARGET) /usr/local/bin
@


1.3
log
@Newer version of Bruce's pginterface library...
@
text
@d7 2
a8 2
CFLAGS = -g -Wall -I/u/postgres95/include 
LDFLAGS = -L/u/postgres95/lib -lpq
@


1.2
log
@Clean out the old...
@
text
@d5 4
a8 3
TARGET = pginsert
CFLAGS = -g -Wall -I/u/postgres95/include
LIBS = -L/u/postgres95/lib -lpq
d10 1
a10 3
$(TARGET) : pginsert.o pginterface.o halt.o
	$(CC) -o $(TARGET) $(XFLAGS) $(CFLAGS) \
		 pginsert.o pginterface.o halt.o $(LIBS)
d12 6
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Support Docs & Contrib
@
text
@@
