summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/Hardpack/IDL_Cubit/Makefile
blob: a9713cf80833803070d9351155dd6b4b2865268d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/* $Id$ */
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.72 92/09/14 11:44:22 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space.  Imake tries to compensate
# for this, but is not always successful.
#

CCC=CC
CC=cc

CFLAGS=-g -D_DEBUG=3 -DDSI_DEBUG=3   $(INC) -xs -DBSD_COMP
CCFLAGS=-g -D_DEBUG=3 -DDSI_DEBUG=3   -D_IR_hh $(INC) -xs -DBSD_COMP -i
OSLIBS=-lthread -lposix4 -lsocket -lnsl -lm

# @(#) (C) Copyright Lockheed Martin 1996, 1997, 1998 (Unpublished). All rights reserved. Imakefile 1.3 changed 5/22/98 13:34:14

BUILD=/project/doc/pkg/Hardpack/dsi_5.1/SunOS_5.5.1
PREPRO  = $(BUILD)/bin/idlpp_cc

CCFLAGS += -mt -xildoff

INC=-I$(BUILD)/include -I$(ACE_ROOT) -I/usr/include -I/usr/include/sys
LIBS=$(BUILD)/Templates.DB/$()*.o -L$(BUILD)/lib -lORB++ -lORB -lES -L$(ACE_ROOT)/ace -lACE

all:	cubit.hh client server

client:  client.cpp client_i.cpp  cubit_c.cc cubit.hh
	       $(CCC) $(CCFLAGS) $(INC) -o client \
	cubit_c.cc client_i.cpp client.cpp \
	$(LIBS) $(OSLIBS)

server:  server.cpp server_i.cpp cubit_impl.cc cubit_s.cc cubit_c.cc cubit.hh
	       $(CCC) $(CCFLAGS) $(INC) -o server \
	server.cpp server_i.cpp cubit_s.cc cubit_c.cc cubit_impl.cc  \
	$(LIBS) $(OSLIBS)

cubit.hh:      cubit.idl
	       $(PREPRO) cubit.idl

clean:
	       rm -f client server cubit.hh *_s.cc *_c.cc *.o;
	rm -rf Templates.DB; rm -f *~

.SUFFIXES: .cc

.cc.a:
	       $(CCC) -c $(CCFLAGS) $<
	       $(AR) $(ARFLAGS) $@ $*.o
	       rm -f $*.o

.cc:
	       $(CCC) $(CCFLAGS) $(LDFLAGS) $< -o $@