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


1.1
date	2001.06.06.22.25.46;	author henthorn;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Makefile for Isus driver stuff.
@
text
@##########################################################################
# Copyright 2001 MBARI                                             
##########################################################################
# Summary  : Makefile for Isus Driver
# Filename : Makefile
# Author   : Rich Henthorn
# Project  : 
# Version  : Version 1.0
# Created  : 06/01/01
# Archived :
##########################################################################
# Modification History:
#
##########################################################################

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

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

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

OBJS	    =	IsusOutput.o \
		Isus.o \
		IsusLog.o 

TARGETS =	isus \
		isusTestSA

all:		$(TARGETS)


#isusServer:	_isusServer.o $(OBJS) $(LIBS)
#	$(LD) $(LDFLAGS) _isusServer.o $(OBJS) $(LIBS) -o $@@
#

#isusDriver:	_isusDriver.o $(OBJS) $(LIBS)
#	$(LD) $(LDFLAGS) _isusDriver.o $(OBJS) $(LIBS) -o $@@
#

isus:	_isus.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _isus.o $(OBJS) $(LIBS) -o $@@

isusTestSA:	_isusTestSA.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _isusTestSA.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 $@@

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

%.o: %.c 
	    $(CC) $(CFLAGS) $(INCLUDES) $< -o $@@	
	    @@echo
%.o: %.cc
	    $(CCPP) $(CPPFLAGS) $(INCLUDES) $< -o $@@
	    @@echo

DEST	    = .

MAKEFILE    = Makefile

include       $(OBJS:.o=.d)

depend:	

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

update:
	cvs update $(CC_SRCS) $MAKEFILE

commit:
	cvs commit $(CC_SRCS) $MAKEFILE

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









@
