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


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

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

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


desc
@Make file for the histogram-iter program suite
@


1.3
log
@Added standard header.
Realized that the histogram.* files are templatized and hence the .o
  files should NOT be included in the link targets.
Added support for LIBTEST.
@
text
@# GNUmakefile          Section: 9.3 Histogram & 9.4 Cumulative Histogram
#      Copyright 1994, Center for Computer Vision and Visualization,
#      University of Florida.  All rights reserved.
# See comments in  gnumake.iah for description of symbols.

#######################################################################
# Modify the following symbols to control compilation
#######################################################################

BLASTABLE_PTFILES = IA_
CLOSUREOBJS       = closure-histogram.o


HEADERS = histogram.h
LOBJS   =

SOURCES	= closure-histogram.c  histogram.h  histogram.c \
	  test-histogram-iter.c  test-cumulative-histogram-iter.c
TESTS	= test-histogram-iter  test-cumulative-histogram-iter

ARL =
EXTRAINCLUDES =
CPPFLAGS      =

OUTPUT_OPTION =
TARGET_ARCH   =
XTRAFLAGS     =
XTRACCFLAGS   =

# Make this nothing if you do not want programs stripped.
STRIPPROGRAMS = anystring-means-strip--no-string-means-do-not-strip


#######################################################################

include ../../gnumake.iah

#######################################################################


#######################################################################
#####	User program dependencies and rules follow
#######################################################################

ifeq (${LIBTEST},)

histogram.srcs:		histogram.h  histogram.c

test-histogram-iter.o: test-histogram-iter.c	  histogram.srcs

test-histogram-iter:	test-histogram-iter.o
	${LINK.cc} -o $@@ $@@.o  ${LDLIBS}
	strip $@@

test-cumulative-histogram-iter.o: \
		test-cumulative-histogram-iter.c  histogram.srcs

test-cumulative-histogram-iter:		test-cumulative-histogram-iter.o
	${LINK.cc} -o $@@ $@@.o  ${LDLIBS}
	strip $@@


closure-histogram.o:	closure-histogram.c  histogram.srcs

closure-histogram:	closure-histogram.o
	${LINK.cc} -o $@@ $@@.o ${LDLIBS}
	strip $@@

else

test-histogram-iter.o:	test-histogram-iter.c

test-cumulative-histogram-iter.o:	test-cumulative-histogram-iter.c

endif
@


1.2
log
@Removed TOP, fixed dependencies so source files are co'ed correctly,
  worked on closure related stuff to make it work correctly.
@
text
@d1 1
a1 1
# GNUmakefile          Section: 9.3 & 9.4
d11 1
a11 1
CLOSUREOBJS       = closure-histogram.o histogram.o
d18 1
a18 1
		test-histogram-iter.c  test-cumulative-histogram-iter.c
d30 1
a30 1
# Make this nothing if you do not want programs striped.
d45 1
a45 1
histogram.o:	histogram.h histogram.c
d47 1
a47 1
closure-histogrm.o: closure-histogram.c  histogram.o
d49 1
a49 1
test-histogram-iter: test-histogram-iter.c histogram.o
d51 3
a53 1
test-cumulative-histogram-iter: test-cumulative-histogram-iter.c histogram.o
d55 2
d58 3
d62 14
@


1.1
log
@Initial revision
@
text
@d1 3
a3 2
# Sample GNUMakefile to be used to compile the IAH algorithms.
# Initial revision
a9 3
TOP = /cis/homes/rjj/iacc/iah-src
IACCVERSION = iac++

d11 1
a11 2
CLOSUREOBJS       = closure.o
#CLOSUREARGS = ${LDCLOSUREFLAGS}
a14 1
# There are not library LOBJS, since this is a template function
d17 4
d36 1
a36 1
include ${TOP}/gnumake.iah
a40 1

d45 3
d49 1
a49 1
HANDBOOK =
d51 1
a51 1
TESTS = test-histogram-iter  test-cumulative-histogram-iter
a53 1
tests: $(TESTS)
@
