head	1.10;
access;
symbols
	Validate1:1.10
	OdysseyMatch2:1.8;
locks; strict;
comment	@# @;


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.10
log
@*** empty log message ***
@
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.9 1999/12/22 00:50:50 amarsh Exp $
#
##########################################################################

CC	    = cc
CCPP	    = cc
LD	    = cc
AR 	    = wlib
DEPEND_TOOL = /usr/altex/bin/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

all:		crossbowServer \
		crossbow \
		crossbowTest 

crossbow:	crossbow.o $(OBJS) $(LIBS)

crossbowServer:	crossbowServer.o $(OBJS) $(LIBS)

crossbowTest:	crossbowTest.o	$(OBJS) $(LIBS)

install:
		cp -f crossbow 			$(AUV_BIN_DIR)/.
		cp -f crossbowServer 		$(AUV_BIN_DIR)/.
		cp -f crossbowTest		$(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 $@@

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

%.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.* 

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









@


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
@
