head	1.4;
access;
symbols
	Version_2_1:1.2;
locks; strict;
comment	@# @;


1.4
date	92.02.15.20.35.03;	author mer;	state Exp;
branches;
next	1.3;

1.3
date	92.02.15.20.32.32;	author mer;	state Exp;
branches;
next	1.2;

1.2
date	91.03.08.13.22.19;	author kemnitz;	state Exp;
branches;
next	1.1;

1.1
date	90.10.24.20.30.41;	author cimarron;	state Exp;
branches;
next	;


desc
@code contributed by Igor Metz
@


1.4
log
@fix shar botch (made a 2 lines out of 1)
@
text
@# Makefile for pgperl.
# $Header: /genome/src/postgres/src/contrib/pgperl/RCS/Makefile,v 1.2 92/02/07 16:37:46 hartzell Exp $
# Thu Aug 23 15:00:05 1990  Igor Metz <metz@@iam.unibe.ch>
# touched up to work with my configuration under postgres3.1 and perl4.x

# PERLDIR is the directory, where your uperl.o and all perl header file live
PERLDIR = ..

# GLOBINCS defines include paths, where your Postgres header files live
GLOBINCS = -I../../pg -I/usr/postgres/src/lib/H

# LIBS defines, where your libpq.a lives
LIBS = -L/usr/postgres/obj.sparc -lpq -lm

DISTFILES = README Makefile pg-mus usersub.c pg-libpq.mus testlibpq.pl

CC=cc
CFLAGS = -g -I$(PERLDIR) $(GLOBINCS)
#CC=gcc
#CFLAGS = -traditional -fpcc-struct-return -g -I$(PERLDIR) $(GLOBINCS)

all: pgperl

pgperl: $(PERLDIR)/uperl.o usersub.o pg-libpq.o
	$(CC) -g $(PERLDIR)/uperl.o usersub.o pg-libpq.o $(LIBS) -o pgperl 

pg-libpq.c: pg-libpq.mus
	pg-mus pg-libpq.mus > pg-libpq.c

usersub.o: usersub.c
pg-libpq.o: pg-libpq.c

clean:
	rm usersub.o pg-libpq.o pg-libpq.c

dist:
	shar $(DISTFILES) > dist.shar
@


1.3
log
@updated by George Hartzell of the Stanford Genome project
@
text
@d2 1
a2 2
# $Header: /genome/src/postgres/src/contrib/pgperl/RCS/Makefile,v 1.2 92/02/07
 16:37:46 hartzell Exp $
@


1.2
log
@added RCS header.
@
text
@d2 2
a3 1
# $Header: RCS/README,v 1.1 90/10/24 20:23:49 cimarron Exp $
d5 1
d11 1
a11 1
GLOBINCS = -I../../pg -I/usr/postgres/PERLDIR/lib/H
d14 1
a14 1
LIBS = -L/usr/postgres/obj.sparc -lpq
d26 1
a26 1
	$(CC) -g $(PERLDIR)/uperl.o usersub.o libpq.o $(LIBS) -o pgperl
@


1.1
log
@Initial revision
@
text
@d2 1
@
