/[TIS-4000 Rel T60]/sun2.4/trn/oracle/Makefile
ViewVC logotype

Contents of /sun2.4/trn/oracle/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations)
Thu Feb 1 13:17:24 2001 UTC (23 years ago) by tis4000
Branch: MAIN
CVS Tags: Duluth_baseline, HEAD
Changes since 1.1: +1 -1 lines
Fixed copy command to copy executable from trn ../../bin. - tomalesky

1 #
2 # Makefile for TRN trend display DPA
3 # G. Tomalesky
4 # 20-Oct-1994
5 #
6 CC = gcc -DSOLARIS
7 SRC = ../../../../share/src/trn/oracle
8 CODEBASEPATH = /tools/codebase63/source
9 CFLAGS = -I$(SRC) \
10 -I../../../../share/src/dpaLibrary \
11 -I../../../../share/src/dbLibrary \
12 -I$(CODEBASEPATH) \
13 -I/usr/include \
14 -I../../../../share/epicsH -g -c
15
16 SRCS = $(SRC)/trnMain.c $(SRC)/trnUtils.c $(SRC)/trnOpen.c $(SRC)/trnWrite.c
17
18 DBOBJS = $(SRCS:.c=.o)
19
20 ORACLEHOME = /tools/oracle
21
22 ALLDEFINES = $(CPPFLAGS) $(CFLAGS)
23
24 LIB = ../../dpaLibrary/dpaLibrary.a \
25 ../../libUnix/libUnix.a \
26 ../../bin/libtis.a \
27 ../../dbLibrary/dbLibrary.a \
28 $(CODEBASEPATH)/libcb.a \
29 ../../bin/tisMsgLib.a
30
31 # ../../newtrend/archiveLib.o \
32
33 OSNAPLIB = ../../newtrend/oracleSnapLib.o \
34 ../../newtrend/trendLib.o \
35 ../../newtrend/utils.o \
36 ../../avm/catLib.o \
37 ../../dbLibrary/dbLibrary.a
38
39 ORACLETRENDLIBS = \
40 ../../newtrend/oracleSnapLib.o \
41 ../../newtrend/oracleArchiveLib.o \
42 ../../newtrend/trendLib.o \
43 ../../newtrend/utils.o \
44 ../../avm/catLib.o \
45 ../../bin/tisMsgLib.a \
46 ../../bin/libCom.a \
47 ../../bin/dbLibrary.a \
48 ../../bin/libUnix.a \
49 ../../bin/libtis.a \
50 ../../bin/tisgalaxylib.a \
51 ../../bin/tisMsgLib.a \
52 $(CODEBASEPATH)/libcb.a \
53
54 ORLIBS = -L$(ORACLEHOME)/lib -lsql $(ORACLEHOME)/lib/osntab.o -lsqlnet \
55 -lora -lsqlnet -lpls -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 \
56 -lcore3 -lsocket -lnsl -lm -ldl -laio -lsocket -lnsl -lm -ldl
57
58 all : trn
59
60 trn : trnMain.o trnOpen.o trnUtils.o trnWrite.o $(LIB) $(ORACLETRENDLIBS)
61 $(CC) -o $@ trnMain.o trnOpen.o trnUtils.o trnWrite.o $(ORACLETRENDLIBS) $(LIB) $(ORLIBS) -g
62
63 trnMain.o : $(SRC)/trnMain.c $(SRC)/trn.h
64 $(CC) -o $@ $(CFLAGS) $(SRC)/trnMain.c
65
66 trnOpen.o : $(SRC)/trnOpen.c $(SRC)/trn.h
67 $(CC) -o $@ $(CFLAGS) $(SRC)/trnOpen.c
68
69 trnWrite.o : $(SRC)/trnWrite.c $(SRC)/trn.h
70 $(CC) -o $@ $(CFLAGS) $(SRC)/trnWrite.c
71
72 trnUtils.o : $(SRC)/trnUtils.c $(SRC)/trn.h
73 $(CC) -o $@ $(CFLAGS) $(SRC)/trnUtils.c
74
75 clean::
76 rm -f trn *.o
77
78 install : trn
79 cp -p trn ../../bin

  ViewVC Help
Powered by ViewVC 1.1.30