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


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

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

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


desc
@Make file for the Hough line detection algorithm.
Still has some problems with checking out everything when RCS'd.
@


1.3
log
@Complete the plotting parts of the Hough transform, and added
  appropriate support for them.  Added support for LIBTEST.
@
text
@# GNUmakefile          Section: 10.3, Line Detection using the Hough Transform
#      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	=
CLOSUREOBJS		=

HEADERS	= hough.h  find-max-points.h find-max-points.c
LOBJS	= hough.o

SOURCES	= hough.h hough.c \
	  find-max-points.h find-max-points.c \
	  test-hough.c  plot-lines.c  hough-inverse.c
TESTS	= test-hough    plot-lines    hough-inverse

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},)

hough.o: hough.h hough.c

test-hough.o:	test-hough.c  hough.h

test-hough: test-hough.o hough.o
	$(LINK.cc) -o $@@ $@@.o hough.o $(LDLIBS)
	strip $@@


find-max-points.srcs:	find-max-points.h find-max-points.c

hough-inverse: hough-inverse.o find-max-points.srcs hough.o
	$(LINK.cc) -o $@@ $@@.o  hough.o $(LDLIBS)
	strip $@@

hough-line.o:	hough-line.h hough-line.c

plot-lines.o:	plot-lines.c hough.h find-max-points.srcs hough-line.h

plot-lines:	plot-lines.o hough.o find-max-points.srcs hough-line.o
	${LINK.cc} -o $@@ $@@.o hough.o hough-line.o ${LDLIBS}
	strip $@@

else

test-hough.o:	test-hough.c

hough-inverse.o:	hough-inverse.c

plot-lines.o:	plot-lines.c
endif

@


1.2
log
@Removed TOP, added SORUCES, redefined TESTS, and modified test programs
  so they make with local version, rather than the library versions.
@
text
@d1 1
a1 1
# GNUmakefile          Section: 10.3, Hough
d14 1
a14 1
HEADERS	= hough.h
d17 4
a20 3
SOURCES	= hough.h hough.c  test-hough.c \
	  find-max-points.h find-max-points.c  find-lines.c
TESTS	= test-hough  find-lines
d31 1
a31 1
# Make this nothing if you do not want programs striped.
d42 2
d46 2
d52 8
a59 1
find-max-points.o:	find-max-points.h find-max-points.c
d61 4
a64 2
find-lines: find-lines.o find-max-points.o hough.o
	$(LINK.cc) -o $@@ $@@.o find-max-points.o hough.o $(LDLIBS)
d66 10
@


1.1
log
@Initial revision
@
text
@d1 4
a4 2
# Sample GNUMakefile to be used to compile the IAH algorithms.
# Initial revision
d11 2
a12 2
TOP = /cis/homes/rjj/iacc/iah-src
IACCVERSION = iac++
d14 2
a15 2
BLASTABLE_PTFILES =
CLOSUREOBJS       =
d17 12
a28 2
HEADERS = hough.h
LOBJS   = hough.o
a29 11
SIMPLETESTS =

ARL =
EXTRAINCLUDES =
CPPFLAGS =

OUTPUT_OPTION =
TARGET_ARCH   =
XTRAFLAGS     =
XTRACCFLAGS   =

a32 1

d34 1
a34 3

include ${TOP}/gnumake.iah

a36 2


a40 1

d47 1
a47 1
HANDBOOK =
d49 3
a51 4
TESTS = test-hough


tests: $(TESTS)
@
