head	1.25;
access;
symbols
	OctansJune5:1.17
	Ver3-0:1.16
	Ver2-4:1.16
	Ver2-3-2:1.15
	Ver2-3:1.15
	Ver2-2:1.13
	Ver2-1:1.13
	Ver1-11:1.13
	Ver1-10:1.13
	Ver1-9:1.10
	Ver1-8:1.9
	Ver1-7:1.9
	Ver1-6:1.9
	Ver1-5:1.8
	Ver1-4-1:1.7
	Ver1-4:1.7
	Ver1-3:1.7
	Ver1-2:1.7
	Ver1-1:1.7
	Validate1:1.7
	OdysseyMatch2:1.3;
locks; strict;
comment	@# @;


1.25
date	2001.10.26.21.43.10;	author sib;	state Exp;
branches;
next	1.24;

1.24
date	2001.10.18.12.41.18;	author henthorn;	state Exp;
branches;
next	1.23;

1.23
date	2001.08.31.19.48.48;	author hthomas;	state Exp;
branches;
next	1.22;

1.22
date	2001.08.16.20.19.05;	author henthorn;	state Exp;
branches;
next	1.21;

1.21
date	2001.08.15.18.29.30;	author henthorn;	state Exp;
branches;
next	1.20;

1.20
date	2001.06.23.05.41.48;	author rob;	state Exp;
branches;
next	1.19;

1.19
date	2001.06.22.22.22.18;	author henthorn;	state Exp;
branches;
next	1.18;

1.18
date	2001.06.21.03.05.45;	author rob;	state Exp;
branches;
next	1.17;

1.17
date	2001.06.02.21.33.25;	author hthomas;	state Exp;
branches;
next	1.16;

1.16
date	2000.12.27.00.55.14;	author oreilly;	state Exp;
branches;
next	1.15;

1.15
date	2000.08.11.17.36.21;	author oreilly;	state Exp;
branches;
next	1.14;

1.14
date	2000.07.19.18.55.53;	author oreilly;	state Exp;
branches;
next	1.13;

1.13
date	2000.04.11.22.31.34;	author oreilly;	state Exp;
branches;
next	1.12;

1.12
date	2000.03.30.22.09.09;	author oreilly;	state Exp;
branches;
next	1.11;

1.11
date	2000.03.21.21.57.30;	author oreilly;	state Exp;
branches;
next	1.10;

1.10
date	2000.03.20.19.36.24;	author oreilly;	state Exp;
branches;
next	1.9;

1.9
date	2000.01.19.05.33.41;	author amarsh;	state Exp;
branches;
next	1.8;

1.8
date	2000.01.18.03.03.51;	author amarsh;	state Exp;
branches;
next	1.7;

1.7
date	2000.01.10.21.32.35;	author amarsh;	state Exp;
branches;
next	1.6;

1.6
date	2000.01.05.23.01.16;	author oreilly;	state Exp;
branches;
next	1.5;

1.5
date	99.12.28.22.34.01;	author oreilly;	state Exp;
branches;
next	1.4;

1.4
date	99.12.27.19.48.23;	author oreilly;	state Exp;
branches;
next	1.3;

1.3
date	99.12.15.22.54.23;	author oreilly;	state Exp;
branches;
next	1.2;

1.2
date	99.12.15.20.16.55;	author oreilly;	state Exp;
branches;
next	1.1;

1.1
date	99.12.14.00.19.46;	author pean;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Added in edgetechTest as a program to check the status of the acoustic abort input on the parallel port.
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Layered Control and Behaviors
# Filename : Makefile
# Author   : Andrew Pearce
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /home/dorado/Master/auv/altex/onboard/LayeredControl/Makefile,v 1.24 2001/10/18 12:41:18 henthorn Exp $
#
##########################################################################

CC	    = cc
CCPP	    = cc
LD	    = cc
AR 	    = wlib
DEPEND_TOOL = makedepend

DEBUG 	    = -g
EXCEPTION_HANDLING = -WC,-xs

## OPTIMIZE = -4 -Os
OPTIMIZE = 

## MAP_OUTPUT = -S -ms -M
MAP_OUTPUT =

AUV_BIN_DIR = ../bin

CFLAGS	    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX  
CPPFLAGS    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX \
	         $(EXCEPTION_HANDLING)

INCLUDES    = -I.  \
	      -I.. \
	      -I../utils \
	      -I../framework \
	      -I../DataLog \
	      -I../Navigation \
	      -I../taskIF \
	      -I/usr/include           

LDFLAGS	    = -g
LIBPATH	    = /usr/lib:../lib

LIBS        =   ../utils/utils.lib \
		../framework/auvFramework.lib \
		../taskIF/taskInterfaces.lib \
		/usr/local/lib/gctpc/geolib.a



OBJS	    =	Ascend.o \
		ChirpFin.o \
		DepthEnvelope.o \
		Descend.o \
		Behavior.o \
		BehaviorFactory.o \
		BuoyLaunch.o \
		CurrentBuoy.o \
		DownloadData.o \
		GetGPS.o \
		HorizontalModeAttribute.o \
                IpsStartProfile.o \
                IpsStopProfile.o \
		VerticalModeAttribute.o \
		Launch.o \
		LayeredControl.o \
		LayeredControlInput.o \
		LayeredControlOutput.o \
		LayeredControlServer.o \
		MissionClock.o \
		MissionPlan.o \
		MissionPlanServer.o \
		MissionTimeAttribute.o \
		MissionTimer.o \
		RotateBuoy.o \
		RotateCarousel.o \
		RotateToLaunchPosition.o \
		SetElevator.o \
		SetRudder.o \
		Setpoint.o \
		SetDepth.o \
		Waypoint.o \
		Yoyo.o \
		Zigzag.o \
		AcousticAbort.o


TARGETS =	layeredControl \
		layeredControlServer \
		abortTest \
		bdoc \
		checkplan \
		edgetechTest

all:		$(TARGETS)

layeredControl:	_layeredControl.o \
			missionPlan.tab.o \
			missionPlan.yy.o \
			$(OBJS) $(LIBS)
	 	$(LD) $(LDFLAGS) _layeredControl.o \
		    missionPlan.tab.o missionPlan.yy.o $(OBJS) $(LIBS) -o $@@

layeredControlServer:	_layeredControlServer.o \
			missionPlan.tab.o \
			missionPlan.yy.o \
			$(OBJS) $(LIBS)
	 	$(LD) $(LDFLAGS) _layeredControlServer.o \
		    missionPlan.tab.o missionPlan.yy.o $(OBJS) $(LIBS) -o $@@


bdoc:	bdoc.o missionPlan.tab.o	missionPlan.yy.o \
		    $(OBJS) $(LIBS)

	 	$(LD) $(LDFLAGS) bdoc.o \
		    missionPlan.tab.o missionPlan.yy.o $(OBJS) $(LIBS) -o $@@


abortTest:	abortTest.o $(LIBS)

edgetechTest:	edgetechTest.o

parseTest:	parseTest.o missionPlan.tab.o missionPlan.yy.o $(OBJS) $(LIBS)

checkplan:	checkplan.o missionPlan.tab.o missionPlan.yy.o $(OBJS) $(LIBS)


# Stuff generated by Lex-Yacc 
missionPlan.tab.cc:	missionPlan.y
	yacc -b missionPlan -d -v missionPlan.y
	mv missionPlan.tab.c missionPlan.tab.cc

missionPlan.yy.cc: 	missionPlan.l
	lex missionPlan.l
	mv lex.yy.c missionPlan.yy.cc

workSite.tab.cc:	workSite.y
	yacc -b workSite -d -v workSite.y
	mv workSite.tab.c workSite.tab.cc

workSite.yy.cc: 	workSite.l
	lex workSite.l
	mv lex.yy.c workSite.yy.cc

parseAttributes.tab.cc:	parseAttributes.y
	yacc -b parseAttributes -d -v parseAttributes.y
	mv parseAttributes.tab.c parseAttributes.tab.cc

attributes.yy.cc:	attributes.l
	lex attributes.l
	mv lex.yy.c attributes.yy.cc


install:
		cp -f $(TARGETS)	$(AUV_BIN_DIR)/. 

##########################################################################
# Do not modify anything below this line unless absolutely necessary

.SUFFIXES:
.SUFFIXES:	.o .c .cc .d .idl

%.d: %.c
	    @@echo Generating dependencies for $?
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    mv $@@.tmp $@@
%.d: %.cc
	    @@echo Generating dependencies for $?
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@.tmp
	    mv $@@.tmp $@@

%.o: %.c 
	    $(CC) $(CFLAGS) $(INCLUDES) $< -o $@@	
	    @@echo
%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@
	    @@echo

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

clean:
	rm -f core *.o $(OBJS:.o=.d) *.lib *.yy *.tab.*  $(TARGETS)

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

##########################################################################









@


1.24
log
@New behaviors IpsStartProfile, IpsStopProfile, CurrentBuoy.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.23 2001/08/31 19:48:48 hthomas Exp $
d99 2
a100 1
		checkplan
d127 2
@


1.23
log
@added acoustic abort behavior
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.22 2001/08/16 20:19:05 henthorn Exp $
d65 1
d69 2
@


1.22
log
@Remove EjectBuoy from targets.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.21 2001/08/15 18:29:30 henthorn Exp $
d88 2
a89 1
		Zigzag.o
@


1.21
log
@Add RotateToLaunchPosition.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.20 2001/06/23 05:41:48 rob Exp $
a65 1
		EjectBuoy.o \
@


1.20
log
@Added a new behavior, Zigzag.  It holds a fixed rudder until the
heading deviates by a specified amount, then flips the rudder the
other way, etc.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.19 2001/06/22 22:22:18 henthorn Exp $
d66 1
d82 1
@


1.19
log
@Add RotateBuoy RotateCarousel and DownloadData behaviors.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.18 2001/06/21 03:05:45 rob Exp $
d86 2
a87 1
		Yoyo.o 
@


1.18
log
@Added the launch behavior.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.17 2001/06/02 21:33:25 hthomas Exp $
d64 2
d79 2
a83 1
		BuoyLaunch.o \
@


1.17
log
@various changes; remove stale entries in root makefile, fixed file naming to allow for serving from windows, and fixed makefiles to avoid file linking/unlinking problem in makedepend when talking through samba to windows boxes
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.16 2000/12/27 00:55:14 oreilly Exp $
d80 1
@


1.16
log
@Added checkplan
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.15 2000/08/11 17:36:21 oreilly Exp $
d159 2
a160 2
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@

d163 2
a164 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 
@


1.15
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.14 2000/07/19 18:55:53 oreilly Exp $
d88 2
a89 1
		bdoc
d118 2
@


1.14
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.13 2000/04/11 22:31:34 oreilly Exp $
d115 2
@


1.13
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.12 2000/03/30 22:09:09 oreilly Exp $
d69 1
d87 1
d112 3
@


1.12
log
@Added Waypoint
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.11 2000/03/21 21:57:30 oreilly Exp $
d53 2
a54 1
		../taskIF/taskInterfaces.lib
@


1.11
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.10 2000/03/20 19:36:24 oreilly Exp $
d79 1
@


1.10
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.5 2000/03/01 19:01:26 marsh Exp $
d137 1
a137 3
		cp -f layeredControl 		$(AUV_BIN_DIR)/. 
		cp -f layeredControlServer	$(AUV_BIN_DIR)/. 
		cp -f bdoc			/usr/auv/bin/.
@


1.9
log
@Added behavior GetGPS to wait for GPS hits
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.8 2000/01/18 03:03:51 amarsh Exp $
d22 1
a22 1
DEPEND_TOOL = /usr/altex/bin/makedepend
d88 1
a88 1
layeredControl:		layeredControl.o \
d92 1
a92 2

	 	$(LD) $(LDFLAGS) layeredControl.o \
d95 1
a95 1
layeredControlServer:	layeredControlServer.o \
d99 1
a99 2

	 	$(LD) $(LDFLAGS) layeredControlServer.o \
@


1.8
log
@Modified makefiles to also delete executables and libraries
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.7 2000/01/10 21:32:35 amarsh Exp $
a60 2
		Launch.o \
		Yoyo.o \
d63 1
d66 1
d78 3
a80 1
		SetDepth.o
@


1.7
log
@Added behavior Setdepth
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.6 2000/01/05 23:01:16 oreilly Exp $
d80 1
a80 1
all:		layeredControl \
d84 2
d171 1
a171 1
	rm -f core *.o $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.6
log
@install bdoc in /usr/auv/bin
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.5 1999/12/28 22:34:01 oreilly Exp $
d77 2
a78 1
		Setpoint.o
@


1.5
log
@Added bdoc
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.4 1999/12/27 19:48:23 oreilly Exp $
d136 1
a136 1
		cp -f bdoc			$(AUV_BIN_DIR)/. 
@


1.4
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.3 1999/12/15 22:54:23 oreilly Exp $
d56 1
d80 2
a81 1
		layeredControlServer
d100 7
d136 1
@


1.3
log
@Added target 'install'
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.2 1999/12/15 20:16:55 oreilly Exp $
d158 1
a158 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.lib *.yy *.tab.* 
@


1.2
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/LayeredControl/Makefile,v 1.1 1999/12/14 00:19:46 pean Exp $
d33 2
d122 5
@


1.1
log
@Moved files to LayeredControl subdirectory
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kvhCompass/Makefile,v 1.1 1999/12/08 16:56:23 pean Exp $
a63 1
		layeredControl.o \
d76 2
a77 1
all:		layeredControl
d79 4
a82 1
layeredControl:  $(OBJS) missionPlan.tab.o missionPlan.yy.o $(LIBS) 
d84 12
a103 1

@
