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


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

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

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

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

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


desc
@fft was developed using a Makefile, but it is now using a GNUmakefile.
Process this file with gnumake.
@


1.5
log
@Added algorithm to header.
Added support for testlib target.
@
text
@# GNUmakefile          Section: 8.3  Fast Fourier Transform
#      Copyright 1994, Center for Computer Vision and Visualization,
#      University of Florida.  All rights reserved.
#
# See comments in  gnumake.iah for description of symbols.

# NOTE: There are two verison of the FFT algorithm, an interative and
#     a non-interative.   Only the iterative version should be placed
#     in the IAH library.
#######################################################################
# Modify the following symbols to control compilation
#######################################################################

BLASTABLE_PTFILES =
CLOSUREOBJS =

# Only will put the iter version of the fft in the library, its faster...
HEADERS	= fft.h
LOBJS	= fft-nd-iter.o

SOURCES	= fft.h  fft-nd.c  fft-nd-iter.c test-fft.c test-fft-all.c
TESTS	= test-fft  test-fft-all  test-fft-iter  test-fft-all-iter

ARL =

EXTRAINCLUDES =
CPPFLAGS =
OTHERLIBS =

TARGET_ARCH =
XTRAFLAGS =
XTRACCFLAGS =

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

#######################################################################
include	../../gnumake.iah
#######################################################################

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

ifeq (${LIBTEST},)

#### The iterative versions of the fft code & tests

fft-nd-iter.o:	fft.h	fft-nd-iter.c

test-fft.o:	test-fft.c	fft.h

test-fft-all.o:	test-fft-all.c	fft.h

test-fft-iter:		 test-fft.o     fft-nd-iter.o
	$(LINK.cc) -o $@@ test-fft.o     fft-nd-iter.o $(LDLIBS)
	strip $@@

test-fft-all-iter:	 test-fft-all.o fft-nd-iter.o
	$(LINK.cc) -o $@@ test-fft-all.o fft-nd-iter.o $(LDLIBS)
	strip $@@

#### The template versions of the fft code & tests

fft-nd.o:	fft.h	fft-nd.c

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

test-fft-all:  test-fft-all.o	fft-nd.o
	$(LINK.cc) -o $@@ $@@.o	fft-nd.o $(LDLIBS)
	strip $@@

else
#### The iterative versions of the fft code & tests

#fft-nd-iter.o:	should be in the library

test-fft.o:	test-fft.c

test-fft-all.o:	test-fft-all.c

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

test-fft-all-iter:	 test-fft-all.o
	$(LINK.cc) -o $@@ test-fft-all.o $(LDLIBS)
	strip $@@

#### No template versions of FFT in library

endif
@


1.4
log
@Added files to SOURCES definition.
@
text
@d1 1
a1 1
# GNUmakefile          Section: 8.3
d21 1
a21 2
SOURCES	= fft.h  fft-nd.c  fft-nd-iter.c test-fft.c test-fft-all.c \
	  test-fft-all-iter.c
d45 1
a45 1
fft-nd-iter.o:	fft.h  fft-nd-iter.c
d47 1
a47 1
test-fft.o:	test-fft.c  fft.h
d49 1
a49 1
test-fft-all.o:	test-fft-all.c  fft.h
d51 1
a51 2
#### The iter versions of the fft code & tests
####
d53 3
a55 1
test-fft-iter:  test-fft.o fft-nd-iter.o
d59 1
a59 1
test-fft-all-iter:  test-fft-all.o fft-nd-iter.o
d63 14
d78 1
d80 1
a80 2
#### The template versions of the fft code & tests
####
d82 1
a82 1
fft-nd.o:	fft.h  fft-nd.c
d84 2
a85 2
test-fft:  test-fft.o fft-nd.o
	$(LINK.cc) -o $@@ $@@.o fft-nd.o $(LDLIBS)
d88 2
a89 2
test-fft-all:  test-fft-all.o fft-nd.o
	$(LINK.cc) -o $@@ $@@.o fft-nd.o $(LDLIBS)
d91 4
@


1.3
log
@Added additional dependencis for test-fft*.o.
@
text
@d21 2
a22 1
SOURCES	=
@


1.2
log
@Removed TOP, general cleanup.
Modified test-* targets so they make from local version rather than
  using .o files from the iah library.
@
text
@d47 1
a47 1
test-fft.o:	test-fft.c
d49 1
a49 1
test-fft-all.o:	test-fft-all.c
a52 2

fft-nd-iter.o:	fft-nd-iter.c
@


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 4
TOP = ${HOME}/iacc/iah-src

IACCVERSION = bleeding

a16 2
HEADERS = fft.h

d18 2
a19 1
LOBJS =   fft-nd-iter.o
d21 2
a22 1
SIMPLETESTS = 
d37 3
d42 1
a42 3

include ${TOP}/gnumake.iah

d45 1
d47 1
d49 1
a49 3
#######################################################################
#####	User program dependencies and rules follow
#######################################################################
d53 3
d57 2
a58 2
	$(LINK.cc) -o test-fft-iter test-fft.o $(LDLIBS)

d61 2
a62 1
	$(LINK.cc) -o test-fft-all-iter test-fft-all.o $(LDLIBS)
d68 3
d72 2
a73 1
	$(LINK.cc) -o test-fft test-fft.o fft-nd.o $(LDLIBS)
d76 2
a77 11
	$(LINK.cc) -o test-fft-all test-fft-all.o fft-nd.o $(LDLIBS)



HANDBOOK =

TESTS = 


tests: $(TESTS)

@
