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


1.5
date	94.10.13.06.45.35;	author rjj;	state Exp;
branches;
next	1.4;

1.4
date	94.09.02.04.42.58;	author rjj;	state Exp;
branches;
next	1.3;

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

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

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


desc
@Initial neighborhood version of the Median-Filter.
@


1.5
log
@Added algorithm name to header.  Correct spelling errors.
Made style changes.  Added support for median-gamma<T> instantiation.
@
text
@# GNUmakefile          Chapter: 2.8  Median Filter
#      Copyright 1994, Center for Computer Vision and Visualization,
#      University of Florida.  All rights reserved.
#
# See comments in  gnumake.iah for description of symbols.

# NOTE: This is the neighborhood version of the median algorithm,
#     and should be the one placed in the library.
#     Had to add depency for ../../shaped-pointset.h

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

BLASTABLE_PTFILES = IA_
CLOSUREOBJS       = closure-median-nbhd.o

HEADERS = median.h
LOBJS   = 

SOURCES	= median.h median.c  \
	  median-gamma.h median-gamma.c \
	  test-median-nbhd.c \
	  closure-median-gamma.c  closure-median-nbhd.c
TESTS	= test-median-nbhd

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
#######################################################################

median-gamma.srcs:	median-gamma.h median-gamma.c

closure-median-gamma.o:	closure-median-gamma.c median-gamma.srcs

median.srcs:	median.h median.c

closure-median-nbhd.o: closure-median-nbhd.c median.srcs closure-median-gamma.o

ifeq (${LIBTEST},)
test-median-nbhd.o:	test-median-nbhd.c  median.srcs  median-gamma.srcs

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

else
test-median-nbhd.o:	test-median-nbhd.c

endif
@


1.4
log
@Lots of changes to reflect how the median code has to be put together
  to get the proper functions to instantiate.
@
text
@d1 1
a1 1
# GNUmakefile          Chapter: 2.8
d7 1
a7 1
# NOTE: This is the neighborhood version of the medain algorithm,
d21 4
a24 2
SOURCES	= median.h median.c  closure-median-nbhd.c  test-median-nbhd.c \
	  median-gamma.h median-gamma.c  shaped-pointset.h
d36 1
a36 1
# Make this nothing if you do not want programs striped.
d47 1
a47 2
shaped-pointset.h:
	ln ../../include/shaped-pointset.h
d49 1
a49 1
median-gamma.c:	median-gamma.h
d51 1
a51 1
median.c:	median-gamma.c
d53 1
a53 2
closure-median-nbhd.o:	closure-median-nbhd.c  median.h median.c \
			shaped-pointset.h
d55 4
a58 1
test-median-nbhd: test-median-nbhd.o median.h median.c shaped-pointset.h
d61 5
@


1.3
log
@Modified closure related files for sanity checks.
median_gamma() is no longer templatized, so median-gamma.o needs
  to be an LOBJS item.
Changed test-median-nbhd target to make with local version of .o files.
@
text
@d18 2
a19 2
HEADERS = median.h median-gamma.h
LOBJS   = median-gamma.o
d21 2
a22 3
SOURCES	= median.h median.c  median-gamma.h median-gamma.c \
	  closure-median-nbhd.c  test-median-nbhd.c \
	  shaped-pointset.h
d48 1
a48 1
median-gamma.o:	median-gamma.h median-gamma.c
d50 1
a50 1
median.o:	median.h median.c  median-gamma.o
d52 1
a52 1
closure-median-nbhd.o:	closure-median-nbhd.c median.o median-gamma.o \
d55 2
a56 2
test-median-nbhd: test-median-nbhd.o median.o  median-gamma.o
	${LINK.cc} -o $@@ $@@.o median.o median-gamma.o ${LDLIBS}
@


1.2
log
@Removed TOP, general cleanup.
@
text
@d9 1
d16 1
a16 1
CLOSUREOBJS       = closure-median-nbhd.o median-gamma.o
d19 1
a19 1
LOBJS   =
d22 2
a23 1
	  closure-median-nbhd.c  test-median-nbhd.c
a37 1

d46 3
d50 5
a54 1
median.o:	median.h median.c
d57 2
@


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

d15 1
a15 1
CLOSUREOBJS       = closure-median-nbhd
d20 3
a22 1
SIMPLETESTS =
d38 1
a38 3

include ${TOP}/gnumake.iah

a40 2


d45 2
a46 10
# 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-median-nbhd: test-median-nbhd.o median.c median.h

HANDBOOK =

TESTS = test-median-nbhd
d48 1
a48 1
tests: $(TESTS)
@
