TREE=	/usr/postgres
OD=	/usr/postgres/obj.linux
SD=	/usr/postgres/src
PORTNAME=	linux
PORTDIR=	port/linux
PORTLDFLAGS= # -static

GCFLAGS=	-O2 # -g -Wmissing-prototypes -DNO_ASSERT_CHECKING
BKIFLAGS=
LDFLAGS=	$(GCFLAGS)
CFLAGS=		$(GCFLAGS) \
		-I$(SD)/lib/H \
		-I$(SD)/lib/H/obsolete \
		-I$(OD)/lib/H \
		-I$(SD)/$(PORTDIR) \
		-D__USE_BSD_SIGNAL
DIRS=		./dirs.mk
LIBS=		-lm -lipc
DEMOCCOPTS=
#
#	Makefile.raw -- raw makefile for sample libpq programs.
#
#	In order to generate a makefile from this file, cd to the
#	newconf directory and type 'Make toptest'.
#
#	$Header: /private/postgres/test/RCS/Makefile.raw,v 1.3 1992/07/15 05:13:42 mao Exp $
#

TESTLIBS=	libpq.a
CFLAGS = -I$(SD)/lib/H

async1: async1.o
	$(CC) $(CFLAGS) -o async1 async1.o $(OD)/$(TESTLIBS) $(LIBS)

iportal1: iportal1.o
	$(CC) $(CFLAGS) -o iportal1 iportal1.o $(OD)/$(TESTLIBS) $(LIBS)

