head	1.65;
access;
symbols
	OctansJune5:1.57
	Ver3-0:1.52
	Ver2-4:1.52
	Ver2-3-2:1.51
	Ver2-3:1.51
	Ver2-2:1.47
	Ver2-1:1.47
	Ver1-11:1.47
	Ver1-10:1.47
	Ver1-9:1.43
	Ver1-8:1.41
	Ver1-7:1.36
	Ver1-6:1.36
	Ver1-5:1.36
	Ver1-4-1:1.36
	Ver1-4:1.36
	Ver1-3:1.36
	Ver1-2:1.36
	Ver1-1:1.36
	Validate1:1.35
	OdysseyMatch2:1.35
	OdysseyMatch1:1.12
	Initial:1.1.1.1
	MBARI:1.1.1;
locks; strict;
comment	@# @;


1.65
date	2001.08.31.14.16.02;	author hthomas;	state Exp;
branches;
next	1.64;

1.64
date	2001.08.02.02.22.55;	author hthomas;	state Exp;
branches;
next	1.63;

1.63
date	2001.07.18.02.19.25;	author hthomas;	state Exp;
branches;
next	1.62;

1.62
date	2001.07.11.16.04.05;	author henthorn;	state Exp;
branches;
next	1.61;

1.61
date	2001.06.22.03.46.41;	author hthomas;	state Exp;
branches;
next	1.60;

1.60
date	2001.06.21.23.18.06;	author hthomas;	state Exp;
branches;
next	1.59;

1.59
date	2001.06.20.19.00.44;	author henthorn;	state Exp;
branches;
next	1.58;

1.58
date	2001.06.06.22.28.17;	author henthorn;	state Exp;
branches;
next	1.57;

1.57
date	2001.06.04.12.05.41;	author hthomas;	state Exp;
branches;
next	1.56;

1.56
date	2001.06.04.11.52.32;	author hthomas;	state Exp;
branches;
next	1.55;

1.55
date	2001.06.04.10.49.36;	author hthomas;	state Exp;
branches;
next	1.54;

1.54
date	2001.06.02.21.33.21;	author hthomas;	state Exp;
branches;
next	1.53;

1.53
date	2001.05.23.21.10.33;	author henthorn;	state Exp;
branches;
next	1.52;

1.52
date	2000.10.16.20.19.06;	author hthomas;	state Exp;
branches;
next	1.51;

1.51
date	2000.08.20.18.56.53;	author oreilly;	state Exp;
branches;
next	1.50;

1.50
date	2000.08.16.17.12.49;	author oreilly;	state Exp;
branches;
next	1.49;

1.49
date	2000.08.11.21.11.43;	author oreilly;	state Exp;
branches;
next	1.48;

1.48
date	2000.08.11.20.46.42;	author oreilly;	state Exp;
branches;
next	1.47;

1.47
date	2000.04.11.18.12.57;	author oreilly;	state Exp;
branches;
next	1.46;

1.46
date	2000.04.11.18.08.06;	author oreilly;	state Exp;
branches;
next	1.45;

1.45
date	2000.04.07.17.30.25;	author rob;	state Exp;
branches;
next	1.44;

1.44
date	2000.03.21.21.57.25;	author oreilly;	state Exp;
branches;
next	1.43;

1.43
date	2000.03.14.18.03.36;	author oreilly;	state Exp;
branches;
next	1.42;

1.42
date	2000.03.01.19.52.06;	author oreilly;	state Exp;
branches;
next	1.41;

1.41
date	2000.02.23.16.51.24;	author oreilly;	state Exp;
branches;
next	1.40;

1.40
date	2000.02.23.01.28.44;	author oreilly;	state Exp;
branches;
next	1.39;

1.39
date	2000.02.15.19.40.26;	author pean;	state Exp;
branches;
next	1.38;

1.38
date	2000.02.08.00.02.18;	author pean;	state Exp;
branches;
next	1.37;

1.37
date	2000.02.07.23.42.42;	author pean;	state Exp;
branches;
next	1.36;

1.36
date	2000.01.12.22.29.51;	author pean;	state Exp;
branches;
next	1.35;

1.35
date	99.12.15.23.20.34;	author oreilly;	state Exp;
branches;
next	1.34;

1.34
date	99.12.15.23.15.30;	author pean;	state Exp;
branches;
next	1.33;

1.33
date	99.12.15.22.22.12;	author pean;	state Exp;
branches;
next	1.32;

1.32
date	99.12.15.22.04.40;	author oreilly;	state Exp;
branches;
next	1.31;

1.31
date	99.12.15.21.33.14;	author oreilly;	state Exp;
branches;
next	1.30;

1.30
date	99.12.15.20.41.16;	author pean;	state Exp;
branches;
next	1.29;

1.29
date	99.12.15.19.10.01;	author pean;	state Exp;
branches;
next	1.28;

1.28
date	99.12.15.18.49.06;	author pean;	state Exp;
branches;
next	1.27;

1.27
date	99.12.15.18.23.27;	author pean;	state Exp;
branches;
next	1.26;

1.26
date	99.12.15.00.08.50;	author pean;	state Exp;
branches;
next	1.25;

1.25
date	99.12.14.20.01.09;	author pean;	state Exp;
branches;
next	1.24;

1.24
date	99.12.13.22.52.24;	author rob;	state Exp;
branches;
next	1.23;

1.23
date	99.12.13.22.02.55;	author rob;	state Exp;
branches;
next	1.22;

1.22
date	99.12.08.20.09.50;	author oreilly;	state Exp;
branches;
next	1.21;

1.21
date	99.12.08.01.08.40;	author oreilly;	state Exp;
branches;
next	1.20;

1.20
date	99.12.03.21.37.21;	author oreilly;	state Exp;
branches;
next	1.19;

1.19
date	99.12.02.19.40.11;	author oreilly;	state Exp;
branches;
next	1.18;

1.18
date	99.12.02.19.38.06;	author oreilly;	state Exp;
branches;
next	1.17;

1.17
date	99.12.01.03.21.49;	author rob;	state Exp;
branches;
next	1.16;

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

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

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

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

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

1.11
date	99.10.26.02.02.46;	author pean;	state Exp;
branches;
next	1.10;

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

1.9
date	99.10.22.20.09.21;	author oreilly;	state Exp;
branches;
next	1.8;

1.8
date	99.10.22.17.58.36;	author oreilly;	state Exp;
branches;
next	1.7;

1.7
date	99.10.20.22.54.59;	author oreilly;	state Exp;
branches;
next	1.6;

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

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

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

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

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

1.1
date	99.06.24.20.08.57;	author oreilly;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.06.24.20.08.57;	author oreilly;	state Exp;
branches;
next	;


desc
@@


1.65
log
@added install_target method to copy from compile host to vehicle
@
text
@##########################################################################
# Copyright (c) 1999 MBARI                              
# MBARI Proprietary Information. All rights reserved.   
##########################################################################
# Summary  : Makefile for building complete vehicle code tree
# Filename : Makefile
# Author   : Andrew Pearce
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.64 2001/08/02 02:22:55 hthomas Exp $
#
##########################################################################

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

AUV_BIN_DIR = ../bin

DEBUG 	    = -g
EXCEPTION_HANDLING = -WC,-xs

## OPTIMIZE = -4 -Os
OPTIMIZE = 

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

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

INCLUDES    = -I.  \
	      -Iutils \
	      -Iframework \
	      -IDataLog \
	      -ItaskIF \
	      -I/usr/include           

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

DIRS	    =   taskIF \
		utils \
		framework \
		DataLog \
		crossbow \
		DropWeight \
		FuelCell \
		gps \
		LBL \
		manualControl \
		mbariTailcone \
		methane \
		metraByte \
		pa200LR \
		parosci \
		psa916 \
		BuoyLauncher \
		DynamicControl \
		EventLog \
		ExternalComms \
		LayeredControl \
		Navigation \
		Simulator \
		seabird \
		Supervisor \
		SystemInterfaces \
		VehicleConfiguration \
		WorkSite \
		dvl \
		isus \
		ips4 \
		kearfott \
		octans \
		apps

all:		
		for subdir in $(DIRS); do \
		  cd $$subdir; \
		  if \
		    make all; \
		  then \
		    echo "make succeeded";\
		  else \
		    echo "make failed";\
		    exit; \
		  fi; \
		  cd ..; \
		done
		@@echo "That's all folks!"

clean:
		for subdir in $(DIRS); do \
		  (cd $$subdir; make clean; echo ; cd ..); \
		done
		rm -f core $(OBJS) $(OBJS:.o=.d) *.lib *.yy *.tab.* 


update:
		for subdir in $(DIRS); do \
		  (cd $$subdir; cvs update; echo ; cd ..); \
		done

commit:
		for subdir in $(DIRS); do \
		  (cd $$subdir; cvs commit; echo ; cd ..); \
		done

install:
		for subdir in $(DIRS); do \
		  cd $$subdir; \
		  make install AUV_BIN_DIR=../bin; \
		  echo; \
		  cd ..; \
		done

install_target:
		cp bin/* //1/home/dorado1/auv/altex/onboard/bin

release:
		for subdir in $(DIRS); do \
		  cd $$subdir; \
		  make install AUV_BIN_DIR=$(AUV_BIN_DIR); \
		  echo; \
		  cd ..; \
		done

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

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

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

DEST	    = .

MAKEFILE    = Makefile

depend:	

##########################################################################
@


1.64
log
@added octans to Makefile
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.63 2001/07/18 02:19:25 hthomas Exp $
d123 3
@


1.63
log
@added kearfott
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.62 2001/07/11 16:04:05 henthorn Exp $
d81 1
@


1.62
log
@Add pa200LR to directory list.
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.61 2001/06/22 03:46:41 hthomas Exp $
d80 1
@


1.61
log
@added ips4 and isus to Makefile
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.60 2001/06/21 23:18:06 hthomas Exp $
d62 1
@


1.60
log
@added ips4 and isus to Makefile
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.59 2001/06/20 19:00:44 henthorn Exp $
d77 2
@


1.59
log
@Added BuoyLauncher directory.
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.58 2001/06/06 22:28:17 henthorn Exp $
a57 2
		ips4 \
		isus \
@


1.58
log
@Added the isus directory to the directory list.
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.57 2001/06/04 12:05:41 hthomas Exp $
d66 1
@


1.57
log
@added dvl to makefile
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.56 2001/06/04 11:52:32 hthomas Exp $
d57 1
d59 1
a59 1
		LBL \
@


1.56
log
@added in dropweight
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.55 2001/06/04 10:49:36 hthomas Exp $
d76 1
@


1.55
log
@fixed up Makefile to work with Samba
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.54 2001/06/02 21:33:21 hthomas Exp $
d54 1
@


1.54
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
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.53 2001/05/23 21:10:33 henthorn Exp $
a148 2

include       $(OBJS:.o=.d)
@


1.53
log
@Added "ips4" to list of directories.
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.52 2000/10/16 20:19:06 hthomas Exp $
a52 3
		odyssey \
		acousticModem \
		biolume \
a53 1
		DropWeight \
a57 1
		kvh \
a61 1
		OdysseyTailcone \
a63 1
		powerSystem \
@


1.52
log
@changed deadman from long to short and adjusted manual control, taskIF, OdysseyTailCone, and mbariTailcone
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.51 2000/08/20 18:56:53 oreilly Exp $
d60 1
@


1.51
log
@Added biolume
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.50 2000/08/16 17:12:49 oreilly Exp $
a54 1
		BuoyLauncher \
@


1.50
log
@Added methane
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.49 2000/08/11 21:11:43 oreilly Exp $
d56 1
@


1.49
log
@Added acousticModem directory to targets
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.48 2000/08/11 20:46:42 oreilly Exp $
d64 1
@


1.48
log
@Added manualControl
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.47 2000/04/11 18:12:57 oreilly Exp $
d54 1
@


1.47
log
@Added metraByte
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.46 2000/04/11 18:08:06 oreilly Exp $
d61 1
@


1.46
log
@*** empty log message ***
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.44 2000/03/21 21:57:25 oreilly Exp $
d62 1
@


1.45
log
@Commented out the Metrabyte stuff - it doesn't yet compile.
@
text
@d61 1
a77 1
#		metraByte \
@


1.44
log
@*** empty log message ***
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.43 2000/03/14 18:03:36 oreilly Exp $
a60 1
		MetraByte \
d77 1
@


1.43
log
@*** empty log message ***
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.42 2000/03/01 19:52:06 oreilly Exp $
d23 1
a23 1
DEPEND_TOOL = /usr/auv/bin/makedepend
@


1.42
log
@Make taskIF before framework
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.41 2000/02/23 16:51:24 oreilly Exp $
d49 2
a50 2
DIRS	    =   utils \
		taskIF \
a53 1
		ahrs \
@


1.41
log
@*** empty log message ***
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.40 2000/02/23 01:28:44 oreilly Exp $
d50 1
a51 1
		taskIF \
@


1.40
log
@Replaced ctd with seabird
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.39 2000/02/15 19:40:26 pean Exp $
a53 1
		adv \
a54 1
		altimeter \
a55 1
		compass \
a66 1
		DepthSensor \
@


1.39
log
@Added apps directory to master makefile
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.38 2000/02/08 00:02:18 pean Exp $
a59 1
		ctd \
d77 1
@


1.38
log
@Removed extra banner
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.37 2000/02/07 23:42:42 pean Exp $
d81 2
a82 1
		WorkSite
@


1.37
log
@Added revised banner to include MBARI Proprietary Information
@
text
@d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.36 2000/01/12 22:29:51 pean Exp $
a17 13

/****************************************************************************/
/* Summary  :                                                               */
/* Filename : Syslog.cc                                                     */
/* Author   :                                                               */
/* Project  :                                                               */
/* Version  : 1.0                                                           */
/* Created  : 02/07/2000                                                    */
/* Modified :                                                               */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/****************************************************************************/
@


1.36
log
@Added release target to Makefile
@
text
@d2 2
a3 1
# Copyright 1999 MBARI                                             
d15 1
a15 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.35 1999/12/15 23:20:34 oreilly Exp $
d18 13
@


1.35
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.34 1999/12/15 23:15:30 pean Exp $
d115 8
@


1.34
log
@Added make install
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.33 1999/12/15 22:22:12 pean Exp $
d24 1
a24 1
AUV_BIN_DIR = /usr/auv/dorado/bin
d60 1
@


1.33
log
@Added make install
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.30 1999/12/15 20:41:16 pean Exp $
d24 1
a24 1
AUV_BIN_DIR = "/usr/auv/dorado/bin"
d115 4
a118 1
		  (cd $$subdir; make install; echo ; cd ..); \
@


1.32
log
@Make stuff in Odyssey
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.31 1999/12/15 21:33:14 oreilly Exp $
d24 2
d114 3
@


1.31
log
@Must make DataLog stuff before apps
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.30 1999/12/15 20:41:16 pean Exp $
d50 1
a61 1
		mbariTailcone \
@


1.30
log
@Make now exits if an rror occurs
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.29 1999/12/15 19:10:01 pean Exp $
d49 1
a66 1
		DataLog \
@


1.29
log
@Added All done
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.28 1999/12/15 18:49:06 pean Exp $
d81 10
a90 1
		  (cd $$subdir; make all; echo; cd ..); \
d92 1
a92 1
		echo "That's all folks!"
@


1.28
log
@Added gps, kvh, ahrs to Makefile
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.27 1999/12/15 18:23:27 pean Exp $
d83 1
d90 1
@


1.27
log
@Added kvh and ahrs directories, removed kvhCompass and kvhInclinometer
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.26 1999/12/15 00:08:50 pean Exp $
d54 2
a55 1
		Ctd \
d57 1
d63 2
a64 2
		Parosci \
		PSA916 \
@


1.26
log
@Merged in Rob's simulator and Navigation changes
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/Makefile,v 1.25 1999/12/14 20:01:09 pean Exp $
d50 1
d57 1
a57 2
		kvhCompass \
		kvhInclinometer \
@


1.25
log
@Modified to build all spource files
@
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 $
d75 1
a75 2
		WorkSite \
		tests 
@


1.24
log
@Added simPSA916 to "all:"
@
text
@d1 16
a16 4
.SUFFIXES:
.SUFFIXES:	.o .c .cc .idl
# 
CC = cc
d18 5
a22 1
AR = wlib
d24 2
a25 2
TOP_DIR = /usr/tiburon
XPLATFORM = $(TOP_DIR)/xPlatform
d27 2
a28 1
ODYSSEY_DIR = odysseyLib/
a29 2
DEBUG = -g

d33 3
a35 2
## OPTIMIZE = -4 -Os
OPTIMIZE = 
d37 6
a42 1
EXCEPTION_HANDLING = -WC,-xs
d46 31
d78 4
a81 2
INCLUDES = \
	-I. 
d83 5
d89 4
a92 2
##INCLUDES = \
##	-I. 
d94 4
d99 1
a99 2
.c.o :
	$(CC) $(CPPFLAGS) $(INCLUDES) -c $<
d101 2
a102 2
.cc.o :
	$(CC) $(CPPFLAGS) $(INCLUDES) -c $<
d104 2
d107 3
d111 3
a113 4
# Stuff generated by Lex-Yacc 
missionPlan.tab.cc:	missionPlan.y
	yacc -b missionPlan -d -v missionPlan.y
	mv missionPlan.tab.c missionPlan.tab.cc
d115 6
a120 3
missionPlan.yy.cc: 	missionPlan.l
		lex missionPlan.l
		mv lex.yy.c missionPlan.yy.cc
d122 1
d124 1
a124 3
workSite.tab.cc:	workSite.y
	yacc -b workSite -d -v workSite.y
	mv workSite.tab.c workSite.tab.cc
d126 1
a126 3
workSite.yy.cc: 	workSite.l
		lex workSite.l
		mv lex.yy.c workSite.yy.cc
d128 1
a128 3
parseAttributes.tab.cc:	parseAttributes.y
	yacc -b parseAttributes -d -v parseAttributes.y
	mv parseAttributes.tab.c parseAttributes.tab.cc
d130 1
a130 317
attributes.yy.cc:	attributes.l
	lex attributes.l
	mv lex.yy.c attributes.yy.cc


LIB_OBJECTS = \
	AdvIF.o \
	AdvIF_SK.o \
	AdvServer.o \
	AltimeterIF.o \
	AltimeterIF_SK.o \
	AltimeterServer.o \
	AngleAttribute.o \
	AngleData.o \
	AsciiFile.o \
	Attribute.o \
	Attributes.o \
	Ascend.o \
	BatteryIF.o \
	BatteryIF_SK.o \
	BatteryServer.o \
	Behavior.o \
	BehaviorFactory.o \
	BinaryFile.o \
	BooleanAttribute.o \
	BuoyLauncherIF.o \
	BuoyLauncherIF_SK.o \
	BuoyLauncherServer.o \
	CharData.o \
	ChirpFin.o \
	Compass.o \
	CompassIF.o \
	CompassIF_SK.o \
	CompassServer.o \
	CtdIF.o \
	CtdIF_SK.o \
	CtdServer.o \
	DataField.o \
	DataFieldFactory.o \
	DataLog.o \
	DataLogReader.o \
	DataLogWriter.o \
	DepthEnvelope.o \
	DepthSensorIF.o \
	DepthSensorIF_SK.o \
	DepthSensorServer.o \
	Descend.o \
	DeviceInterface.o \
	DoubleData.o \
	DropWeightIF.o \
	DropWeightIF_SK.o \
	DropWeight.o \
	DynamicControl.o \
	DynamicControlIF.o \
	DynamicControlIF_SK.o \
	DynamicControlInput.o \
	DynamicControlLog.o \
	DynamicControlOutput.o \
	DynamicControlServer.o \
	EventLogIF.o \
	EventLogIF_SK.o \
	EventLogServer.o \
	EventService.o \
	EventTriggers.o \
	ExternalComms.o \
	ExternalMessage.o \
	FileData.o \
	FloatAttribute.o \
	FloatData.o \
	FuelCellIF.o \
	FuelCellIF_SK.o \
	FuelCellServer.o \
	HorizontalModeAttribute.o \
	InclinometerIF.o \
	InclinometerIF_SK.o \
	InclinometerServer.o \
	IntegerAttribute.o \
	IntegerData.o \
	Launch.o \
	LayeredControl.o \
	LayeredControlIF.o \
	LayeredControlIF_SK.o \
	LayeredControlServer.o \
	LayeredControlOutput.o \
	LblIF.o \
	LblIF_SK.o \
	LblServer.o \
	LogFile.o \
	Math.o \
	MissionClock.o \
	MissionPlan.o \
	MissionPlanIF.o \
	MissionPlanIF_SK.o \
	MissionPlanServer.o \
	MissionTimeAttribute.o \
	MissionTimer.o \
	Navigation.o \
	NavigationIF.o \
	NavigationIF_SK.o \
	NavigationLog.o \
	NavigationOutput.o \
	NavigationServer.o \
	OffboardMessage.o \
	PeriodicTask.o \
	PowerSystemIF.o \
	PowerSystemIF_SK.o \
	PowerSystemServer.o \
	SailDevice.o \
	SerialDevice.o \
	Semaphore.o \
	SetElevator.o \
	Setpoint.o \
	SetRudder.o \
	SharedData.o \
	SharedObject.o \
	SharedObjectClient.o \
	SharedObjectServer.o \
	ShortData.o \
	SimulatedCompass.o \
	SimulatedCtd.o \
	SimulatedInclinometer.o \
	SimulatedTailCone.o \
	Simulator.o \
	Simulator2.o \
        SimulationLog.o \
	SimulatorIF.o \
	SimulatorIF_SK.o \
	StringAttribute.o \
	StringConverter.o \
	Supervisor.o \
	Syslog.o \
	SyslogUtils.o \
	SystemInterfaces.o \
	TailCone.o \
	TailConeIF.o \
	TailConeIF_SK.o \
	TailConeServer.o \
	Task.o \
	TaskInterface.o \
	TaskServer.o \
	Time.o \
	TimeTag.o \
	VehicleConfigurationIF.o \
	VehicleConfigurationIF_SK.o \
	VehicleConfigurationServer.o \
	VerticalModeAttribute.o \
	WorkSiteIF.o \
	WorkSiteIF_SK.o \
	WorkSite.o \
	Yoyo.o \
	select_receive.o\
	PSA916IF.o \
	PSA916IF_SK.o \
	SimulatedPSA916.o 




libAuv.lib: $(LIB_OBJECTS)
	$(AR) -n libAuv.lib $(LIB_OBJECTS)

AUV_LIB = libAuv.lib

### LDFLAGS = -M 
LDFLAGS = -g


Objs:	$(LIB_OBJECTS)

all:	simCompass \
	simCtd \
	simPSA916 \
	dropWeight \
	dynamicControl dynamicControlServer \
	eventLogServer \
	simInclinometer \
	layeredControl layeredControlServer \
	navigation navigationServer \
	odyTailCone \
	simulator \
	supervisor \
	simTailCone \
	vehicleConfigurationServer \
	workSite


simCompass:   simCompass.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simCompass.o $(AUV_LIB) -o simCompass

simCtd:   simCtd.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simCtd.o $(AUV_LIB) -o simCtd

simPSA916:   simPSA916.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS)  simPSA916.o $(AUV_LIB) -o simPSA916

dropWeight:   dropWeight.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) dropWeight.o $(AUV_LIB) -o dropWeight

dynamicControl:   dynamicControl.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) dynamicControl.o $(AUV_LIB) -o dynamicControl

dynamicControlServer:   dynamicControlServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) dynamicControlServer.o $(AUV_LIB) -o dynamicControlServer

externalComms:   externalComms.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) externalComms.o $(AUV_LIB) -o externalComms

externalCommsServer:   externalCommsServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) externalCommsServer.o $(AUV_LIB) -o externalCommsServer

eventLogServer:   eventLogServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) eventLogServer.o $(AUV_LIB) -o eventLogServer

simInclinometer:   simInclinometer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simInclinometer.o $(AUV_LIB) -o simInclinometer

layeredControl:   layeredControl.o missionPlan.tab.o missionPlan.yy.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) layeredControl.o missionPlan.tab.o missionPlan.yy.o \
	$(AUV_LIB) -o layeredControl

layeredControlServer:   layeredControlServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) layeredControlServer.o $(AUV_LIB) -o layeredControlServer

navigation:   navigation.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) navigation.o $(AUV_LIB) -o navigation

navigationServer:   navigationServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) navigationServer.o $(AUV_LIB) -o navigationServer

simulator:   simulator.o parseAttributes.tab.o attributes.yy.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simulator.o parseAttributes.tab.o attributes.yy.o $(AUV_LIB) -o simulator

supervisor:   supervisor.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) supervisor.o $(AUV_LIB) -o supervisor

tailCone:   tailCone.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) tailCone.o $(AUV_LIB) -o tailCone

simTailCone:   simTailCone.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simTailCone.o $(AUV_LIB) -o simTailCone

odyTailCone:   odyTailCone.o OdysseyTailCone.o OdysseyFin.o OdysseyThruster.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) odyTailCone.o OdysseyTailCone.o OdysseyFin.o OdysseyThruster.o $(AUV_LIB) -o odyTailCone

# Test program
tcone:   tcone.o OdysseyTailCone.o OdysseyFin.o OdysseyThruster.o $(AUV_LIB) $(ODYSSEY_LIB) Makefile
	$(LD) $(LDFLAGS) tcone.o OdysseyTailCone.o OdysseyFin.o OdysseyThruster.o $(AUV_LIB) $(ODYSSEY_LIB) -o tcone


vehicleConfigurationServer:   vehicleConfigurationServer.o  \
	parseAttributes.tab.o attributes.yy.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) vehicleConfigurationServer.o \
	parseAttributes.tab.o attributes.yy.o \
	$(AUV_LIB) -o vehicleConfigurationServer

workSite:   workSite.o  \
	workSite.tab.o workSite.yy.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) workSite.o \
	workSite.tab.o workSite.yy.o \
	$(AUV_LIB) -o workSite


readlog:   readlog.o  $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) readlog.o \
	$(AUV_LIB) -o readlog

tailConeTest:   tailConeTest.o  $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) tailConeTest.o \
	$(AUV_LIB) -o tailConeTest


logToMatlab:   logToMatlab.o  $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) logToMatlab.o \
	$(AUV_LIB) -o logToMatlab


shmtest:   shmtest.o Makefile
	$(LD) $(LDFLAGS) shmtest.o -o shmtest


shmtest2:   shmtest2.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) shmtest2.o $(AUV_LIB) -o shmtest2

attrTest:   attrTest.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) attrTest.o $(AUV_LIB) -o attrTest

simTest:   simTest.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simTest.o parseAttributes.tab.o attributes.yy.o \
	$(AUV_LIB) -o simTest


eventLogTest:   eventLogTest.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) eventLogTest.o $(AUV_LIB) -o eventLogTest


mtest:   mtest.o $(AUV_LIB) Makefile missionPlan.tab.o missionPlan.yy.o 
	$(LD) $(LDFLAGS) mtest.o missionPlan.tab.o missionPlan.yy.o $(AUV_LIB) -o mtest

logReadTest:   logReadTest.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) logReadTest.o $(AUV_LIB) -o logReadTest

### CLIB = /usr/lib/clib3r.lib


mplanTest:   mplanTest.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) mplanTest.o missionPlan.tab.o missionPlan.yy.o \
	$(AUV_LIB) -o mplanTest


# DO NOT DELETE THIS LINE -- make depend depends on it.


clean:
	rm -f $(AUV_LIB) core *.o *.yy.* *.tab.*

update:
	cvs update 
@


1.23
log
@Added SimulatedPSA916 files.  NOTE:  This makefile doesn't work, at
this point, unless the .cc and .h files from the new subdirectories
are copied up to the main level.
@
text
@d235 1
@


1.22
log
@*** empty log message ***
@
text
@d214 4
a217 1
	select_receive.o
d220 2
d254 3
@


1.21
log
@*** empty log message ***
@
text
@a11 1
ODYSSEY_LIB = odysseyLib/libody_dev.a
d23 1
a23 1
CPPFLAGS = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) $(EXCEPTION_HANDLING) -D_QNX -DOddorado
d27 1
a27 1
	-I. -I$(ODYSSEY_DIR)
d296 2
a297 2
odyTailCone:   odyTailCone.o OdysseyTailCone.o OdysseyFin.o OdysseyThruster.o $(AUV_LIB) $(ODYSSEY_LIB) Makefile
	$(LD) $(LDFLAGS) odyTailCone.o OdysseyTailCone.o OdysseyFin.o OdysseyThruster.o $(AUV_LIB) $(ODYSSEY_LIB) -o odyTailCone
@


1.20
log
@*** empty log message ***
@
text
@d11 2
a12 1
ODYSSEY_DIR = $(HOME)/ocean/auv/odyssey/main
d24 1
a24 1
CPPFLAGS = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) $(EXCEPTION_HANDLING) -DUNIX
a129 3
	ExternalCommsIF.o \
	ExternalCommsIF_SK.o \
	ExternalCommsServer.o \
d167 1
d172 2
a233 1
	externalComms externalCommsServer \
d237 1
d297 7
a303 2
odyTailCone:   odyTailCone.o DummyTailCone.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) odyTailCone.o DummyTailCone.o $(AUV_LIB) -o odyTailCone
@


1.19
log
@*** empty log message ***
@
text
@d92 1
@


1.18
log
@*** empty log message ***
@
text
@a167 3
	OdysseyFin.o \
	OdysseyTailCone.o \
	OdysseyThruster.o \
@


1.17
log
@Added SimulationLog.o to the list.
@
text
@d26 2
a27 2
## INCLUDES = \
##	-I. -I$(ODYSSEY_DIR)
d30 2
a31 2
INCLUDES = \
	-I. 
d168 3
d230 2
a231 2
all:	compassServer \
	ctdServer \
d236 1
a236 1
	inclinometerServer \
d241 1
a241 1
	tailConeServer \
d246 2
a247 2
compassServer:   compassServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) compassServer.o $(AUV_LIB) -o compassServer
d249 2
a250 2
ctdServer:   ctdServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) ctdServer.o $(AUV_LIB) -o ctdServer
d270 2
a271 2
inclinometerServer:   inclinometerServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) inclinometerServer.o $(AUV_LIB) -o inclinometerServer
d295 2
a296 2
tailConeServer:   tailConeServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) tailConeServer.o $(AUV_LIB) -o tailConeServer
d298 3
d317 4
@


1.16
log
@*** empty log message ***
@
text
@d187 1
@


1.15
log
@*** empty log message ***
@
text
@d120 1
d180 1
a347 4


dtest:   dtest.o Makefile
	$(LD) $(LDFLAGS) dtest.o -o dtest
@


1.14
log
@*** empty log message ***
@
text
@d77 2
d87 1
d100 5
d111 1
d119 1
d131 1
d133 1
d142 1
d164 1
d200 2
d305 3
d309 6
d337 2
d347 3
@


1.13
log
@*** empty log message ***
@
text
@d159 1
d189 1
@


1.12
log
@*** empty log message ***
@
text
@d319 1
@


1.11
log
@Tested and verified that all functions are working.
@
text
@d139 1
a157 1
	SerialDevice.o \
d175 1
a176 1
	Syslog.o \
a316 8


SyslogTest:   SyslogTest.o Makefile
	$(LD) $(LDFLAGS) SyslogTest.o -o $@@

SerialDeviceTest:   SerialDeviceTest.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) SerialDeviceTest.o $(AUV_LIB) -o $@@

@


1.10
log
@*** empty log message ***
@
text
@d157 1
d175 1
a176 1
	SyslogUtils.o \
d317 8
@


1.9
log
@*** empty log message ***
@
text
@d190 1
@


1.8
log
@Use Syslog to print messages
@
text
@d175 1
@


1.7
log
@*** empty log message ***
@
text
@a138 1
	mplan.o \
a162 1
	SimConfiguration.o \
a170 2
	SimulatorInput.o \
	SimulatorOutput.o \
d174 1
@


1.6
log
@*** empty log message ***
@
text
@d26 4
d31 1
a31 1
	-I. -I$(ODYSSEY_DIR)
d323 1
a323 1
	rm -f $(AUV_LIB) core *.o
@


1.5
log
@*** empty log message ***
@
text
@d3 1
a3 1

d126 1
@


1.4
log
@*** empty log message ***
@
text
@d11 1
a11 2
## DEBUG = -g
DEBUG = 
d13 2
d27 1
a27 1
	-I. 
d29 1
d48 8
d101 1
a101 1
	DropWeightServer.o \
d107 3
d162 1
d164 2
a169 1
	SimulatorServer.o \
d186 1
a186 1
	WorkSiteServer.o \
d196 1
a196 1
LDFLAGS = 
d203 1
d205 1
d207 1
d210 1
a210 1
	simulatorServer \
d213 2
a214 1
	vehicleConfigurationServer 
d223 3
d238 6
d257 2
a258 2
simulatorServer:   simulatorServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) simulatorServer.o $(AUV_LIB) -o simulatorServer
d269 1
a269 1
vehicleConfigurationServer:   vehicleConfigurationServer.o \
d275 5
d282 1
d293 3
d297 9
d308 4
a311 2
mplanTest: mplanTest.o missionPlan.tab.o lex.yy.o $(AUV_LIB)
	$(LD) $(LDFLAGS) mplanTest.o missionPlan.tab.o lex.yy.o $(AUV_LIB) $(CLIB) -o mplanTest
@


1.3
log
@*** empty log message ***
@
text
@d1 3
d35 20
d62 2
d70 2
d104 1
d108 1
d112 1
d121 1
d124 1
d128 1
d146 10
a155 2
	SimulationServer.o \
	SimulatedDevice.o \
d186 2
a187 1
all:	compass compassServer \
d192 1
d194 2
a195 1
	tailCone tailConeServer 
a197 3
compass:   compass.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) compass.o $(AUV_LIB) -o compass

d201 3
d216 3
a218 2
layeredControl:   layeredControl.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) layeredControl.o $(AUV_LIB) -o layeredControl
d229 3
a237 1

d241 5
d248 1
d260 1
a260 2
missionPlan.tab.c:	missionPlan.y
	yacc -b missionPlan -d -v missionPlan.y
d262 2
a263 2
lex.yy.c: 	missionPlan.l
		lex missionPlan.l
a265 6
CLIB = /usr/lib/clib3r.lib

mplanTest: mplanTest.o missionPlan.o missionPlan.tab.o lex.yy.o 
	$(LD) $(LDFLAGS) mplanTest.o missionPlan.o missionPlan.tab.o lex.yy.o $(CLIB) -o mplanTest


d272 2
@


1.2
log
@*** empty log message ***
@
text
@d2 1
d11 4
d19 1
a19 1
CPPFLAGS = -c $(DEBUG) $(OPTIMIZE) $(EXCEPTION_HANDLING) -DUNIX
d25 3
a31 1

d39 2
d44 1
d48 1
d56 1
d60 1
d91 2
d96 1
d107 2
d113 1
d115 1
d139 2
a140 1
LDFLAGS = -g
a142 1

d203 17
d224 1
a224 1
	rm -f $(AUV_LIB) core
@


1.1
log
@Initial revision
@
text
@d38 1
d48 1
d52 1
d55 1
d81 1
d84 1
d90 1
d95 1
d98 1
a104 1
	TaskServerCreate.o \
d125 7
a131 1
all:	externalComms layeredControl supervisor taskServer 
d134 12
d149 3
d155 9
d167 2
a168 2
taskServer:   taskServer.o $(AUV_LIB) Makefile
	$(LD) $(LDFLAGS) taskServer.o $(AUV_LIB) -o taskServer
d171 2
d175 7
@


1.1.1.1
log
@
@
text
@@
