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


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

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

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


desc
@Process this file with gnumake.
@


1.3
log
@Added standard header, support for LIBTEST.
Added comments noting that this verion of the histogram should
   never be included in the library, and hence the LIBTEST=1
   area should have no targets.
@
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.

# This make file only supports the creation of the test program
#      test-histogram, it does NOT create a closure, or
#      defined anything files for the headers or lib targets.
# This is because this is the IA template version of the histogram
#      function.  It works, but is much to slow to include in
#      a library built for sequential machines.


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

BLASTABLE_PTFILES =
CLOSUREOBJS       =

# This is for the  template version of histogram.
# We do not want it in the iah library
HEADERS =
LOBJS   =

SOURCES	= histogram.h histogram.c  test-histogram.c
TESTS	= test-histogram  test-cumulative-histogram

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},)
# This is the only section that should have targets,
#    because only local version of this program should be built.

histogram.srcs:	histogram.h histogram.c

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

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

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

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

else
# No targets should exist here, because only the iterative
#   version of the histogram algorithm should be in the library.
# Hence it does not make sense to build the test programs,
#   because they would be using the library (iterative) versions
#   of histogram.o, which is NOT what should be done here.

endif
@


1.2
log
@Removed TOP, and general cleanup.
Note that this version only makes the test programs, it
  does not define symbols for the closure, headers, or lib targets.
@
text
@d1 1
a1 1
# GNUmakefile          Section: 9.3 & 9.4
d38 1
a38 1
# Make this nothing if you do not want programs striped.
d49 3
a51 1
histogram.o:	histogram.h histogram.c
d53 1
a53 1
test-histogram:	histogram.o test-histogram.c
d55 20
a74 1
test-cumulative-histogram: histogram.o test-cumulative-histogram.c
@


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

d26 2
a27 1
SIMPLETESTS =
a40 1

d42 1
a42 3

include ${TOP}/gnumake.iah

a44 2


d49 1
a49 11
# Use the following approach when you need to specify the .o files for a target

# sobel_edge: sobel_edge1.o sobel_edge2.o
#	$(LINK.cc) -o sobel_edge sobel_edge.o sobel_edge2.o $(LDLIBS)

#test-histogram:	test-histogram.o
#	$(LINK.cc) -o $@@ $@@.o

HANDBOOK =

TESTS = test-histogram  test-cumulative-histogram
d51 1
d53 1
a53 1
tests: $(TESTS)
@
