head	1.4;
access;
symbols
	OctansJune5:1.2;
locks; strict;
comment	@# @;


1.4
date	2001.10.16.07.51.24;	author henthorn;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.06.18.02.55;	author henthorn;	state Exp;
branches;
next	1.2;

1.2
date	2001.05.23.21.20.11;	author henthorn;	state Exp;
branches;
next	1.1;

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


desc
@Ips4 Makefile
@


1.4
log
@Add Ips4Input stuff.
@
text
@##########################################################################
# Copyright 2001 MBARI                                             
##########################################################################
# Summary  : Makefile for Ips4 Driver
# Filename : Makefile
# Author   : Rich Henthorn
# Project  : 
# Version  : Version 1.0
# Created  : 04/09/01
# Modified : 04/09/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	    =	Ips4Output.o \
                Ips4Input.o \
		Ips4.o \
		Ips4Log.o \
		IceDraft.o \
		Ips4Server.o \
		pss78.o \
		sound.o \
		state.o \
		calcAvgProp.o \
		decodeIPS.o

TARGETS =	ips4 \
		ips4Server \
		ips4Test \
		ips4TestSA

all:		$(TARGETS)


ips4Server:	_ips4Server.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _ips4Server.o $(OBJS) $(LIBS) -o $@@


ips4Test:	_ips4Test.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _ips4Test.o $(OBJS) $(LIBS) -o $@@


ips4:	_ips4.o $(OBJS) $(LIBS)
	$(LD) $(LDFLAGS) _ips4.o $(OBJS) $(LIBS) -o $@@

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

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









@


1.3
log
@Add ips4TestSA, ips4Test, and ips4Server targets.
@
text
@d57 1
@


1.2
log
@Now makes ips4 app
@
text
@d60 1
d67 4
a70 2
TARGETS =	ips4
# test app	ips4TestSA
d75 2
a76 3
#ips4Server:	_ips4Server.o $(OBJS) $(LIBS)
#	$(LD) $(LDFLAGS) _ips4Server.o $(OBJS) $(LIBS) -o $@@
#
a77 3
#ips4Driver:	_ips4Driver.o $(OBJS) $(LIBS)
#	$(LD) $(LDFLAGS) _ips4Driver.o $(OBJS) $(LIBS) -o $@@
#
d79 4
d86 2
a87 2
#ips4TestSA:	_ips4TestSA.o $(OBJS) $(LIBS)
#	$(LD) $(LDFLAGS) _ips4TestSA.o $(OBJS) $(LIBS) -o $@@
@


1.1
log
@Ips4 Makefile
@
text
@d66 2
a67 3
TARGETS =	$(OBJS) \
# test app	ips4TestSA \
		ips4
d75 1
d79 1
d82 1
d88 1
a88 1
		cp -f ips4		$(AUV_BIN_DIR)/. 
@
