head	1.6;
access;
symbols;
locks; strict;
comment	@# @;


1.6
date	2001.08.02.02.00.14;	author hthomas;	state Exp;
branches;
next	1.5;

1.5
date	2001.07.17.22.07.18;	author hthomas;	state Exp;
branches;
next	1.4;

1.4
date	2001.07.11.17.03.13;	author hthomas;	state Exp;
branches;
next	1.3;

1.3
date	2001.07.09.15.09.26;	author hthomas;	state Exp;
branches;
next	1.2;

1.2
date	2001.07.09.14.23.14;	author hthomas;	state Exp;
branches;
next	1.1;

1.1
date	2001.07.09.12.25.49;	author hthomas;	state Exp;
branches;
next	;


desc
@@


1.6
log
@added debug printf()'s of dvl data; fixed dvl parsing
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for Kearfott
# Filename : Makefile
# Author   : Hans Thomas
# Project  : 
# Version  : Version 1.0
# Created  : 12/06/99
# Modified : 12/06/99
# Archived :
##########################################################################
# Modification History:
# $Header: /usr/local/cvs/auv/altex/onboard/kearfott/Makefile,v 1.5 2001/07/17 22:07:18 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../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 \
		/usr/local/lib/gctpc/geolib.a

OBJS	=	Kearfott.o KearfottServer.o KearfottOutput.o DvlOutput.o \
		DvlServer.o DvlLog.o KearfottLog.o

TARGETS =	kearfottTest kearfott kearfottServer kearfottDvlServer \
		kearfottPlayback
       
all:		$(TARGETS)

kearfottTest:	_kearfottTest.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _kearfottTest.o $(OBJS) $(LIBS) -o $@@

kearfottPlayback:  _kearfottPlayback.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _kearfottPlayback.o $(OBJS) $(LIBS) -o $@@

kearfottServer:	_kearfottServer.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _kearfottServer.o $(OBJS) $(LIBS) -o $@@

kearfottDvlServer:	_dvlServer.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _dvlServer.o $(OBJS) $(LIBS) -o $@@

kearfott:	_kearfott.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _kearfott.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



depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









@


1.5
log
@increased functionality of kearfottTest program
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kearfott/Makefile,v 1.4 2001/07/11 17:03:13 hthomas Exp $
d61 2
a62 1
TARGETS =	kearfottTest kearfott kearfottServer kearfottDvlServer
d68 3
@


1.4
log
@post-cruise check in
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kearfott/Makefile,v 1.3 2001/07/09 15:09:26 hthomas Exp $
d55 2
a56 1
		../ahrs/AHRSOutput.o
@


1.3
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kearfott/Makefile,v 1.2 2001/07/09 14:23:14 hthomas Exp $
d58 1
a58 1
		DvlServer.o DvlLog.o
@


1.2
log
@added a proper server
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/kearfott/Makefile,v 1.1 2001/07/09 12:25:49 hthomas Exp $
d57 2
a58 1
OBJS	=	Kearfott.o KearfottServer.o KearfottOutput.o DvlOutput.o
d60 1
a60 1
TARGETS =	kearfottTest kearfott kearfottServer
d69 3
@


1.1
log
@added kearfott driver code
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/octans/Makefile,v 1.1 2001/06/04 10:47:49 hthomas Exp $
d57 1
a57 1
OBJS	=	Kearfott.o
d59 1
a59 1
TARGETS =	kearfottTest kearfott
d65 3
@
