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


1.10
date	2001.06.03.00.14.53;	author hthomas;	state Exp;
branches;
next	1.9;

1.9
date	2001.06.02.21.33.47;	author hthomas;	state Exp;
branches;
next	1.8;

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

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

1.6
date	2000.03.03.22.12.31;	author jrieffel;	state Exp;
branches;
next	1.5;

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

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

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

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

1.1
date	99.12.13.21.39.02;	author jrieffel;	state Exp;
branches;
next	;


desc
@@


1.10
log
@fixed makedepend rule
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for KVH Compass Driver
# 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/metraByte/Makefile,v 1.9 2001/06/02 21:33:47 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.  \
	        -I.. \
	      	-I../utils \
	      	-I../framework  \
		-I../LayeredControl \
		-I../taskIF \
		-I../Simulator \
		-I../DataLog 

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

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

OBJS	    =	MetraByte.o \
		MetraByteServer.o \
		MetraByteOutput.o \
		MetraByteLog.o

TARGETS =	metrabyteServer \
		metrabyteDriver \
		metrabyteTest		

all:		$(TARGETS)

metrabyteDriver:	_metrabyteDriver.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _metrabyteDriver.o $(OBJS) $(LIBS) -o $@@

metrabyteServer:	_metrabyteServer.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _metrabyteServer.o $(OBJS) $(LIBS) -o $@@

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

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

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









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


1.9
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/metraByte/Makefile,v 1.8 2000/03/21 21:58:49 oreilly Exp $
d91 1
a91 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $.tmp
@


1.8
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/metraByte/Makefile,v 1.7 2000/03/20 20:43:53 oreilly Exp $
d86 2
a87 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@
d91 2
a92 1
	    @@$(DEPEND_TOOL) $(INCLUDES) $? -f $@@ 
@


1.7
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/metraByte/Makefile,v 1.6 2000/03/03 22:12:31 jrieffel Exp $
d22 1
a22 1
DEPEND_TOOL = /usr/altex/bin/makedepend
d76 1
a76 3
		cp -f metrabyteDriver 		$(AUV_BIN_DIR)/. 
		cp -f metrabyteServer 	$(AUV_BIN_DIR)/. 
		cp -f metrabyteTest	$(AUV_BIN_DIR)/.
@


1.6
log
@tested.
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/psa916/Makefile,v 1.10 2000/01/18 22:27:00 altex Exp $
d67 2
a68 1
metrabyteDriver:	metrabyteDriver.o $(OBJS) $(LIBS)
d70 2
a71 1
metrabyteServer:	metrabyteServer.o $(OBJS) $(LIBS)
@


1.5
log
@Modified makefiles to also delete executables and libraries
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/metraByte/Makefile,v 1.4 1999/12/27 19:51:19 oreilly Exp $
d24 2
d39 4
a42 3
INCLUDES    = -I.  \
	      -I../utils \
	      -I../framework  \
d44 1
a44 1
		-I../DataLog \
d46 1
a46 2
	      -I/usr/include  \
	      -I..           
d48 2
a49 2
LDFLAGS	    = -g -lm
LIBPATH	    = /usr/lib:../lib:..
d53 2
a54 1
		../DataLog/dataLog.lib 
a55 1

a56 1
		MetraByteIF_SK.o \
a58 1
		MetraByteIF.o \
d62 1
a62 1
		metrabyte \
d67 1
a67 1
metrabyte:		metrabyte.o $(OBJS) $(LIBS)
d72 5
@


1.4
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/metraByte/Makefile,v 1.3 1999/12/17 17:04:48 amarsh Exp $
d61 1
a61 1
all:		metrabyteServer \
d65 2
d102 1
a102 1
	rm -f core *.o $(OBJS:.o=.d) *.yy *.tab.* 
@


1.3
log
@Patched up to work in the new directory structure
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/metraByte/Makefile,v 1.2 1999/12/16 00:37:25 amarsh Exp $
d100 1
a100 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.yy *.tab.* 
@


1.2
log
@A few patches to the makefile
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/metraByte/Makefile,v 1.1 1999/12/13 21:39:02 jrieffel Exp $
d40 3
@


1.1
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/ctd/Makefile,v 1.1 1999/12/10 22:02:14 jrieffel Exp $
d46 4
a49 2
LIBS        =   ../utils/Syslog.o \
		../libAuv.lib
@
