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


1.9
date	2000.01.10.22.33.34;	author oreilly;	state Exp;
branches;
next	1.8;

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

1.7
date	2000.01.07.18.25.22;	author jrieffel;	state Exp;
branches;
next	1.6;

1.6
date	2000.01.06.19.17.33;	author oreilly;	state Exp;
branches;
next	1.5;

1.5
date	99.12.27.19.51.17;	author oreilly;	state Exp;
branches;
next	1.4;

1.4
date	99.12.15.22.50.36;	author pean;	state Exp;
branches;
next	1.3;

1.3
date	99.12.15.18.45.49;	author pean;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.9
log
@install gpsDriver
@
text
@##########################################################################
# Copyright 1999 MBARI                                             
##########################################################################
# Summary  : Makefile for GPS Device 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/gps/Makefile,v 1.8 2000/01/07 21:16:33 oreilly 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.. \
	      	-I../utils \
	      	-I../framework  \
		-I../LayeredControl \
		-I../DataLog \
		-I../taskIF \
		-I../Simulator \
	      	-I/usr/include 

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

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

OBJS	    =	Gps.o \
		GpsServer.o \
		GpsOutput.o \
		GpsLog.o

all:		gpsDriver \
		gpsServer \
		gpsTest

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

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

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

install:
		cp -f gpsDriver		$(AUV_BIN_DIR)/. 
		cp -f gpsServer 	$(AUV_BIN_DIR)/. 
		cp -f gpsTest		$(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

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









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


1.8
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/gps/Makefile,v 1.6 2000/01/06 19:17:33 oreilly Exp $
d73 1
a73 1
		cp -f gps 		$(AUV_BIN_DIR)/. 
@


1.7
log
@cleaned things up
added write to shared memory that had disappeared in
PeriodicTask -> streamSerialDevice conversion.
@
text
@d57 4
a60 4
OBJS	    =	GPS.o \
		GPSLog.o \
		GPSServer.o \
		GPSOutput.o \
a61 1

a64 3

# Old driver
gps:		gps.o $(OBJS) $(LIBS)
@


1.6
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/gps/Makefile,v 1.5 1999/12/27 19:51:17 oreilly Exp $
d57 1
a57 2
OBJS	    =	Gps.o \
		GPS.o \
d61 1
a61 1
		GpsLog.o
@


1.5
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/gps/Makefile,v 1.4 1999/12/15 22:50:36 pean Exp $
d57 3
a59 1
OBJS	    =	GPS.o \
d62 1
a62 1
		GPSLog.o
d64 1
a64 1
all:		gps \
d68 2
d71 1
a71 1
gps:		gps.o $(OBJS) $(LIBS)
@


1.4
log
@Added make install
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/gps/Makefile,v 1.3 1999/12/15 18:45:49 pean Exp $
d107 1
a107 1
	rm -f core $(OBJS) $(OBJS:.o=.d) *.yy *.tab.* 
@


1.3
log
@Moved GPSIF.idl to taskIF subdirectory and update Makefile
@
text
@d4 1
a4 1
# Summary  : Makefile for KVH Compass Driver
d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/gps/Makefile,v 1.2 1999/12/15 00:56:09 amarsh Exp $
d24 2
d72 5
@


1.2
log
@Fixed up makefile to work in new directory structure
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/gps/Makefile,v 1.1 1999/12/10 22:01:29 jrieffel Exp $
d33 3
a35 3
CFLAGS	    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX  
CPPFLAGS    = -c $(DEBUG) $(MAP_OUTPUT) $(OPTIMIZE) -D_QNX -DUNIX \
	         $(EXCEPTION_HANDLING)
d37 4
a40 4
INCLUDES    = -I.  \
	      -I../utils \
	      -I../framework  \
	      -I/usr/include  \
d43 1
d45 1
a45 1
	      -I..           
d47 2
a48 2
LDFLAGS	    = -g
LIBPATH	    = /usr/lib:../lib:..
d52 1
a55 1
		GPSIF_SK.o \
a57 1
		GPSIF.o \
a62 2
#		psa916 \
#		psa916Test		
d65 5
a69 4
gps:			gps.o $(OBJS) $(LIBS)
gpsServer:		gpsServer.o $(OBJS) $(LIBS)
gpsTest:		gpsTest.o $(OBJS) $(LIBS)
#psa916Test:	psa916Test.o $(OBJS) $(LIBS)
@


1.1
log
@*** empty log message ***
@
text
@d14 1
a14 1
# $Header: /usr/local/cvs/auv/altex/onboard/psa916/Makefile,v 1.3 1999/12/10 02:34:30 jrieffel Exp $
d41 3
d49 3
a51 2
LIBS        =   ../utils/Syslog.o \
		../libAuv.lib
@
