head	1.4;
access;
symbols
	Validate1:1.4
	OdysseyMatch2:1.3;
locks; strict;
comment	@# @;


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.4
log
@*** empty log message ***
@
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.3 1999/12/17 17:04:48 amarsh Exp $
#
##########################################################################

CC	    = cc
CCPP	    = cc
LD	    = cc
AR 	    = wlib
DEPEND_TOOL = /usr/altex/bin/makedepend

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../LayeredControl \
		-I../DataLog \
		-I../Simulator \
	      -I/usr/include  \
	      -I..           

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

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


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

all:		metrabyteServer \
		metrabyte \
		metrabyteTest		

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

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

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

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

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









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


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
@
