head	1.5;
access;
symbols
	r2_1:1.5
	r2_0:1.5
	r1_1_beta:1.5
	r0_11:1.2;
locks; strict;
comment	@# @;


1.5
date	94.07.28.17.34.08;	author thoth;	state Exp;
branches;
next	1.4;

1.4
date	94.07.28.17.33.04;	author thoth;	state Exp;
branches;
next	1.3;

1.3
date	94.05.28.14.48.28;	author thoth;	state Exp;
branches;
next	1.2;

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

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


desc
@Added Copyright message
@


1.5
log
@*** empty log message ***
@
text
@#      Copyright 1993, Center for Computer Vision and Visualization,
#      University of Florida.  All rights reserved.
#
# this is a GNUmakefile.  It must be processed with GNU make.
#

TARGET_ARCH=
TOP=../..
# You should define the make variables LOBJS and HEADERS before the
# include directive.  LOBJS is a list of Library OBJects that belong
# in ../../lib/libiac++.a.  HEADERS is a list of public header files 
# that belong in iac++/include -- they
#

LOBJS= # Cell.o Deque.o List.o

HEADERS= Cell.h Cell.c \
	Deque.h Deque.c \
	List.h List.c \
	Stack.h Stack.c

DISTFILES= GNUmakefile ${HEADERS}

XTRAFLAGS= -pg
XTRACCFLAGS= -pta -ptn


include ${TOP}/src/gnumake.templ


# The above include of gnumake.templ intoduces a few targets 
# that everyone will use
#
# all: install the header files, build the LOBJS and add them
# to the library
#
# ?? headers-force: force the header files to be copied into include
#
# headers: used by all to install the header files when changed
#
# lib: used by all to add LOBJS to ../../lib/libiac++.a.  libiac++.a is
# your own personal copy of the system libiac++.a that only contains the
# parts you are working on.  ../../librelease.a is a pointer to the
# shared version of /cis/vision/src/iac++/lib/libiac++.a -- rule of thumb:
# NEVER MODIFIY librelease.a -- modify libiac++.a instead.
#
# reallib: this puts your LOBJS into the real libiac++ so that
# everyone else can use them.  Make sure they work first.
#
# clean:: removes all .o and ~ files.  You may define additional
# clean targets to remove other files that you may have generated.
#
# spotless:: the same as clean, but more so.  It should remove
# binaries.  You should define additional spotless targets that
# remove your test binaries and other files that aren't deleted
# by clean.

##############################################################################
#	Define Utility targets
##############################################################################


##############################################################################
#	Define targets for the current implementation of Deques
##############################################################################

lib:

Cell.o:		Cell.c	Cell.h

Deque.o:	Deque.c	Deque.h Cell.o

List.o:		List.c  List.h  Deque.o

#Stack.o:	Stack.c Stack.h Deque.o

##############################################################################
#	Test program specific targets and dependency infomation
##############################################################################

IMPLEMENTATION_TESTS = \
	test-cell.c \
	test-deque.c \
	test-list.c #\
#	test-stack.c

${IMPLEMENTATION_TESTS} : Cell.h Cell.c \
	Deque.h Deque.c \
	List.h  List.c #\
#	Stack.h Stack.c

test-cell:	test-cell.c  Cell.o
test-deque:	test-deque.c Deque.o
test-list:	test-list.c  List.o
#test-stack:	test-stack.c Stack.o


test%: test%.o lib
	${LINK.cc} -o $@@ $< ${LDLIBS}

clean::
	rm -f ${TESTS} ${LOBJS}
@


1.4
log
@*** empty log message ***
@
text
@d28 1
a28 1
include /cis/research/iac++/src/gnumake.templ
@


1.3
log
@*** empty log message ***
@
text
@d22 2
d28 1
a28 1
include /cis/vision/src/iac++/src/gnumake.templ
@


1.2
log
@Commented out references to Stack.*
Tried to clean it up some, still needs work.
@
text
@d15 1
a15 1
LOBJS= Cell.o Deque.o List.o
d17 4
a20 1
HEADERS= Cell.h Deque.h List.h
d65 1
@


1.1
log
@Initial revision
@
text
@d19 1
a19 5
PRINT_H= Cell.h  Deque.h  List.h  Stack.h

PRINT_C= Cell.c  Deque.c  List.c  Stack.c

XTRAFLAGS=
a56 3
print:
	enscript -2rGPps335 $(PRINT_H) $(PRINT_C)

a60 1
../../ia.h:
a62 1
Cell.c:		Cell.h
d65 5
a69 11
Deque.h:	Cell.o
Deque.o:	Deque.c	Deque.h
Deque.c:	Deque.h

List.h:		Deque.o
List.o:		List.c  List.h
List.c:		List.h

Stack.h:	Deque.o
Stack.o:	Stack.c Stack.h
Stack.c:	Stack.h
d78 2
a79 2
	test-list.c \
	test-stack.c
d83 2
a84 2
	List.h  List.c \
	Stack.h Stack.c
d86 4
a89 4
test-cell:	test-cell.c  Cell.h
test-deque:	test-deque.c Deque.h
test-list:	test-list.c  List.h
test-stack:	test-stack.c Stack.h
@
