head	1.15;
access;
symbols
	OctansJune5:1.15
	Ver3-0:1.14
	Ver2-4:1.14
	Ver2-3-2:1.14
	Ver2-3:1.14
	Ver2-2:1.14
	Ver2-1:1.14
	Ver1-11:1.13
	Ver1-10:1.13
	Ver1-9:1.12
	Ver1-8:1.11
	Ver1-7:1.11
	Ver1-6:1.11
	Ver1-5:1.11
	Ver1-4-1:1.10
	Ver1-4:1.10
	Ver1-3:1.10
	Ver1-2:1.10
	Ver1-1:1.10
	Validate1:1.10
	OdysseyMatch2:1.8;
locks; strict;
comment	@# @;


1.15
date	2001.06.04.10.58.32;	author hthomas;	state Exp;
branches;
next	1.14;

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

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

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

1.11
date	2000.01.18.03.03.53;	author amarsh;	state Exp;
branches;
next	1.10;

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

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

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

1.7
date	99.12.15.22.48.00;	author pean;	state Exp;
branches;
next	1.6;

1.6
date	99.12.15.18.36.43;	author pean;	state Exp;
branches;
next	1.5;

1.5
date	99.12.15.00.57.34;	author amarsh;	state Exp;
branches;
next	1.4;

1.4
date	99.12.14.18.23.20;	author amarsh;	state Exp;
branches;
next	1.3;

1.3
date	99.12.13.20.05.09;	author amarsh;	state Exp;
branches;
next	1.2;

1.2
date	99.12.13.17.38.41;	author amarsh;	state Exp;
branches;
next	1.1;

1.1
date	99.12.10.02.49.43;	author amarsh;	state Exp;
branches;
next	;


desc
@@


1.15
log
@set up IF server names so you can run the octans and crossbow at the same time
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Crossbow AHRS driver, server, interface, and test
# 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/crossbow/Makefile,v 1.14 2000/05/12 15:27:21 oreilly 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.  \
	      	-I../utils \
	      	-I../framework  \
		-I../taskIF \
		-I../DataLog \
		-I../ahrs \
	      	-I/usr/include \
		-I..

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

LIBS        =   ../utils/utils.lib \
		../framework/auvFramework.lib \
		../DataLog/dataLog.lib \
		../taskIF/taskInterfaces.lib \
		../ahrs/AHRSOutput.o

OBJS	=	Crossbow.o \
		CrossbowServer.o \
		CrossbowOutput.o \
		CrossbowCommand.o \
		CrossbowLog.o

TARGETS =       crossbowServer \
		crossbow \
		crossbowTest

all:		$(TARGETS)

crossbow:	_crossbow.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _crossbow.o $(OBJS) $(LIBS) -o $@@

crossbowServer:	_crossbowServer.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _crossbowServer.o $(OBJS) $(LIBS) -o $@@

crossbowTest:	_crossbowTest.o	$(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _crossbowTest.o $(OBJS) $(LIBS) -o $@@

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

%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









@


1.14
log
@Aaron's latest
@
text
@d14 1
a14 1
# $Header: /home/cvs/auv/onboard/crossbow/Makefile,v 1.6 2000/03/24 19:24:33 marsh Exp $
d89 2
a90 2
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@

d93 2
a94 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 
@


1.13
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.12 2000/03/20 20:43:38 oreilly Exp $
d75 2
a76 1
crossbowTest:	crossbowTest.o	$(OBJS) $(LIBS)
@


1.12
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.11 2000/01/18 03:03:53 amarsh Exp $
d22 1
a22 1
DEPEND_TOOL = /usr/altex/bin/makedepend
d78 1
a78 4
		cp -f crossbow 			$(AUV_BIN_DIR)/.
		cp -f crossbowServer 		$(AUV_BIN_DIR)/.
		cp -f crossbowTest		$(AUV_BIN_DIR)/.

@


1.11
log
@Modified makefiles to also delete executables and libraries
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.10 1999/12/27 19:49:59 oreilly Exp $
d69 2
a70 1
crossbow:	crossbow.o $(OBJS) $(LIBS)
d72 2
a73 1
crossbowServer:	crossbowServer.o $(OBJS) $(LIBS)
@


1.10
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.9 1999/12/22 00:50:50 amarsh Exp $
d63 1
a63 1
all:		crossbowServer \
d65 3
a67 1
		crossbowTest 
d110 1
a110 1
	rm -f core *.o $(OBJS:.o=.d) *.yy *.tab.* 
@


1.9
log
@Removed most of the make stuff for ahrsTest, now that it's in the ahrs/ directory
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.8 1999/12/17 22:08:42 oreilly Exp $
d108 1
a108 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.yy *.tab.* 
@


1.8
log
@Fixed install target
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.7 1999/12/15 22:48:00 pean Exp $
a59 1
		CrossbowAHRSServer.o \
d65 1
a65 3
		crossbowTest \
		crossbowAHRSServer \
		ahrsTest
a66 1

a70 2
crossbowAHRSServer: crossbowAHRSServer.o $(OBJS) $(LIBS)

a72 2
ahrsTest: 	ahrsTest.o $(LIBS)

a75 1
		cp -f crossbowAHRSServer	$(AUV_BIN_DIR)/.
d77 1
a77 1
		cp -f ahrsTest			$(AUV_BIN_DIR)/.
@


1.7
log
@Added make install
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.6 1999/12/15 18:36:43 pean Exp $
d83 1
a83 1
		cp -f crossbowServerr 		$(AUV_BIN_DIR)/.
@


1.6
log
@Minor formatting changes
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.5 1999/12/15 00:57:34 amarsh Exp $
d24 2
d79 8
a86 1
ahrsTest: ahrsTest.o $(LIBS)
@


1.5
log
@Fixed up makefile to work in new directory structure
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.4 1999/12/14 18:23:20 amarsh Exp $
d37 3
a39 3
INCLUDES    = -I.  \
	      -I../utils \
	      -I../framework  \
d43 1
a43 1
	      -I/usr/include \
@


1.4
log
@Removed dependence on root directory
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.3 1999/12/13 20:05:09 amarsh Exp $
d41 2
d52 2
a53 1
		../taskIF/taskInterfaces.lib
a55 1
		CrossbowIF.o \
a58 1
		CrossbowIF_SK.o \
@


1.3
log
@Added support for AHRS IF
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.2 1999/12/13 17:38:41 amarsh Exp $
a38 1
		-I../ahrs \
d40 1
d47 1
a47 1
LIBS        =   ../utils/Syslog.o \
d49 2
a50 2
		../libAuv.lib \
		../ahrs/libAHRS.lib
@


1.2
log
@Final commitment of Crossbow Driver with CrossbowIF
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/crossbow/Makefile,v 1.1 1999/12/10 02:49:43 amarsh Exp $
d39 1
d49 2
a50 1
		../libAuv.lib
d55 2
a57 1
		CrossbowOutput.o \
d63 3
a65 1
		crossbowTest
d72 2
d75 2
@


1.1
log
@Many and various changes to make Crossbow compile.  Also added logging.
@
text
@d14 1
a14 1
# $Header:$
d47 1
@
