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


1.7
date	94.04.04.08.48.24;	author aoki;	state Exp;
branches;
next	1.6;

1.6
date	93.09.28.02.40.08;	author aoki;	state Exp;
branches;
next	1.5;

1.5
date	93.07.30.09.41.08;	author aoki;	state Exp;
branches;
next	1.4;

1.4
date	93.07.30.09.22.24;	author aoki;	state Exp;
branches;
next	1.3;

1.3
date	93.07.28.23.43.45;	author aoki;	state Exp;
branches;
next	1.2;

1.2
date	93.01.27.00.36.45;	author marc;	state Exp;
branches;
next	1.1;

1.1
date	93.01.09.01.31.19;	author aoki;	state Exp;
branches;
next	;


desc
@@


1.7
log
@get rid of extra clutter
@
text
@#
# $Header: /usr/local/devel/postgres/src/regress/video/RCS/Makefile,v 1.6 1993/09/28 02:40:08 aoki Exp aoki $
#

.include <postgres.global.mk>

.include <postgres.prog.mk>

#
# build dynamically-loaded object files
#
DLOBJS= boxarea.o overpaid.o

#
# ... plus test query inputs
#
CREATEFILES= ${DLOBJS} set-up-1.pq video.pq

#
# ... plus exports files
#
.if defined(EXPSUFF)
CREATEFILES+= ${DLOBJS:S/.o/${EXPSUFF}/g}
.endif

#
# ... plus shared libraries
#
.if defined(SLSUFF)
.  if (${SLSUFF} != ".o")
CREATEFILES+= ${DLOBJS:S/.o/${SLSUFF}/g}
.    if (${PORTNAME} == "alpha")
CLEANFILES+= so_locations
.    endif
.  endif
.endif

OUTFILES= video.out
CLEANFILES+= ${CREATEFILES} ${OUTFILES}

video.pq: ${.CURDIR}/video_order set-up-1.pq
	cat set-up-1.pq > ${.TARGET}
	C=`pwd`; cd ${.CURDIR}; cat `cat video_order` | \
	sed -e 's:\\p:\\g:g' >> $$C/${.TARGET}

video.out: ${CREATEFILES}
	${SHCMD} ${.CURDIR}/wholevideo.sh 2>&1 | tee ${.TARGET}
	@@echo "RESULTS OF DEMO ARE SAVED IN ${MAKEOBJDIR}/video.out"

#
# prepare to run the test (including clean-up after the last run)
#
all: ${CREATEFILES}
	rm -f ${OUTFILES}

#
# run the test
#
runtest: ${OUTFILES}
@


1.6
log
@aix
@
text
@d2 1
a2 1
# $Header$
d30 1
d32 4
@


1.5
log
@more shared lib changes
@
text
@d1 4
d9 3
d13 18
a30 5
CREATEFILES= ${DLOBJS} \
	set-up-1.pq video.pq
.if (${SLSUFF} != ".o")
SLOBJS= ${DLOBJS:S/.o/${SLSUFF}/g}
CREATEFILES+= ${SLOBJS}
d32 1
d45 3
d51 3
@


1.4
log
@changed for generation of shared libraries
@
text
@d8 1
a8 1
.ifdef SLSUFF
@


1.3
log
@MAKEOBJDIR changes
@
text
@d5 7
a11 1
CREATEFILES= boxarea.o overpaid.o set-up-1.pq video.pq
@


1.2
log
@use ${SHCMD} instead of sh so we can pass flags and set the PATH
@
text
@d16 1
a16 1
	@@echo "RESULTS OF DEMO ARE SAVED IN obj/video.out"
@


1.1
log
@Initial revision
@
text
@d15 1
a15 1
	sh ${.CURDIR}/wholevideo.sh 2>&1 | tee ${.TARGET}
@
