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


1.3
date	94.09.02.03.01.08;	author rjj;	state Exp;
branches;
next	1.2;

1.2
date	94.09.02.02.39.08;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.09.01.00.16.12;	author rjj;	state Exp;
branches;
next	;


desc
@Placing under RCS.  This should be the source corresponding to UM 1.0
Actually, it has been modified to point to iac++ v2.0.
@


1.3
log
@Added valueset_example.0?.c definitions, but removed
  ${VALUESET_TESTS} from TESTS.
@
text
@# GNUmakefile  for IAC++ User Manual examples
#

POINT_TESTS = point_example.01 \
	point_example.02 \
	point_example.03 \
	point_example.04 \
	point_example.05

POINTSET_TESTS = pointset_example.01 \
	pointset_example.02 \
	pointset_example.03 \
	pointset_example.04 \
	pointset_example.05

VALUESET_TESTS = valueset_example.01 \
	valueset_example.02 \
	valueset_example.03

IMAGE_TESTS = image_example.01 \
	image_example.02 \
	image_example.03 \
	image_example.04 \
	image_example.05


NEIGHBORHOOD_TESTS = neighborhood_example.01 \
	neighborhood_example.02

TEMPLATE_TESTS = template_example.01 \
	template_example.02 \
	template_example.03 \
	template_example.04


TESTS	=  ${POINT_TESTS} \
	${POINTSET_TESTS} \
	${IMAGE_TESTS} \
	${NEIGHBORHOOD_TESTS} \
	${TEMPLATE_TESTS}


#########################################################################
#
# Make a ln -s link to the gnumake.iah file that you want included..
#
#include /cis/homes/rjj/iacc/iah-src/gnumake.iah
#include /cis/research/iac++/handbook-src/gnumake.iah
#
include gnumake.iah
#
#########################################################################

# Define soure file dependencies.  The source files are directly
#   included, so it is not necessary to specify a full ${LINK.cc} line

pointset_example.01:	printIPS.c

pointset_example.02:	printIPS.c

pointset_example.03:	printIPS.c

image_example.04:	BLInterp.h

image_example.05:	BLInterp.h

template_example.04:	histogram.c
@


1.2
log
@Substantial changes so this will actually compile the test programs.
NOTE: It depends on the existence of a file  gnumake.iah  which
  should be  ln -s  to an appropriate file.  Two example sources
  are listed in comments.
@
text
@d16 3
a18 1
VALUESET_TESTS = 
a37 1
	${VALUESET_TESTS} \
@


1.1
log
@Initial revision
@
text
@d1 1
d3 24
a26 2
# this is a GNUmakefile.  It must be processed with GNU make.
#
d28 4
a31 2
TARGET_ARCH=
TOP=../..
a32 5
# You should define the make variables LOBJS and HEADERS before the
# include directive.  LOBJS is a list of Library OBJects that belong
# in ../../lib/libiac++.a.  HEADERS is a list of public header files 
# that belong in iac++/include -- they
#
d34 6
a39 2
LOBJS= 
HEADERS=
a40 1
include $(TOP)/depot/src/gnumake.templ
d42 1
a42 2
# The above include of gnumake.templ intoduces a few targets 
# that everyone will use
d44 1
a44 2
# clean:: removes all .o and ~ files.  You may define additional
# clean targets to remove other files that you may have generated.
d46 6
a51 13
# spotless:: the same as clean, but more so.  It should remove
# binaries.  You should define additional spotless targets that
# remove your test binaries and other files that aren't deleted
# by clean.

TESTS= 	${POINT_TESTS POINTSET_TESTS VALUESET_TESTS IMAGE_TESTS TEMPLATE_TESTS}


POINT_TESTS = point_example.01\
	point_example.02\
	point_example.03\
	point_example.04\
	point_example.05
d53 2
a54 17
point_example.01: point_example.01.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
point_example.02: point_example.02.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
point_example.03: point_example.03.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
point_example.04: point_example.04.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
point_example.05: point_example.05.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}


POINTSET_TESTS = point_example.01\
	point_example.02\
	point_example.03\
	point_example.04\
	point_example.05
d56 1
a56 17
pointset_example.01: pointset_example.01.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
pointset_example.02: pointset_example.02.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
pointset_example.03: pointset_example.03.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
pointset_example.04: pointset_example.04.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
pointset_example.05: pointset_example.05.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}


VALUE_TESTS = point_example.01\
	point_example.02\
	point_example.03\
	point_example.04\
	point_example.05
d58 1
a58 4
valueset_example.01: valueset_example.01.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
valueset_example.02: valueset_example.02.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
d60 1
d62 1
a62 5
IMAGE_TESTS = point_example.01\
	point_example.02\
	point_example.03\
	point_example.04\
	point_example.05
d64 1
a64 25
image_example.01: image_example.01.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
image_example.02: image_example.02.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
image_example.03: image_example.03.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}


TEMPLATE_TESTS = template_example.01\
	template_example.02\
	template_example.03

template_example.01: template_example.01.o display.o
	${LINK.cc} -o $@@ $@@.o display.o ${LDLIBS}
template_example.02: template_example.02.o display.o
	${LINK.cc} -o $@@ $@@.o display.o ${LDLIBS}
template_example.03: template_example.03.o display.o
	${LINK.cc} -o $@@ $@@.o display.o ${LDLIBS}


all: TESTS

    
clean::
	rm -f ${TESTS} *.o *.expand
d66 1
@
