1 |
################################################################# |
2 |
# # |
3 |
# This software is the proprietary property of Tate # |
4 |
# Integrated Systems, L.P. Patents and copyrights are # |
5 |
# pending. # |
6 |
# # |
7 |
# This software is furnished under a license and may # |
8 |
# be used and copied only in accordance with the terms # |
9 |
# of such license and with the inclusion of the above # |
10 |
# notice. This software or any other copies thereof # |
11 |
# may not be provided or otherwise made available to # |
12 |
# any other person. No title to and ownership of the # |
13 |
# software is hereby transferred. # |
14 |
# # |
15 |
# The information in this software is subject to # |
16 |
# change without notice and should not be construed # |
17 |
# as a commitment by Tate Integrated Systems L.P. or # |
18 |
# its third party suppliers. # |
19 |
# # |
20 |
# Tate Integrated Systems, L.P. (TIS) and its third # |
21 |
# party suppliers assume no responsibility for the # |
22 |
# use or inability to use any of its software. TIS # |
23 |
# software is provided "as is" without warranty of # |
24 |
# any kind and TIS expressly disclaims all implied # |
25 |
# warranties, including but not limited to the implied # |
26 |
# warranties of merchantability and fitness for a # |
27 |
# particular purpose. # |
28 |
# # |
29 |
# Notice: Notwithstanding any other lease or license # |
30 |
# that may pertain to or accompany the delivery of this # |
31 |
# computer software, the rights of the Government # |
32 |
# regarding its use, reproduction, and disclosure are # |
33 |
# as set forth in Section 52.227-19 of the FARS # |
34 |
# Computer Software-Restricted Rights clause. # |
35 |
# # |
36 |
################################################################# |
37 |
# |
38 |
# Makefile for odss program |
39 |
# G. Tomalesky |
40 |
# 14-Jan-1993 |
41 |
# |
42 |
CC = gcc -DSOLARIS -DTREND -DORACLESNAP -DUSECB63 |
43 |
LIBS = ../dbLibrary/dbLibrary.a ../bin/libcb.a ../bin/libCom.a ../bin/libUnix.a ../ca/libca.a ../msgMon/tisMsgLib.a |
44 |
CFLAGS = -I../../../share/epicsH \ |
45 |
-I/usr/include \ |
46 |
-I../../../share/src/ca \ |
47 |
-I../../../share/src/newtrend \ |
48 |
-I../../../share/src/avm \ |
49 |
-I/tools/codebase63/source -g -c |
50 |
CPPFLAGS = |
51 |
DBSRCS = odssMain.c odssApp.c |
52 |
DBOBJS = $(DBSRCS:.c=.o) |
53 |
|
54 |
ALLDEFINES = $(CPPFLAGS) $(CFLAGS) |
55 |
SRC = ../../../share/src/newodss |
56 |
SRCS = $(SRC)/odssMain.c $(SRC)/odssApp.c |
57 |
# Oracle stuff for odss |
58 |
ORACLEHOME = /tools/oracle |
59 |
OSNAPLIB = ../newtrend/oracleSnapLib.o \ |
60 |
../newtrend/archiveLib.o \ |
61 |
../newtrend/trendLib.o \ |
62 |
../newtrend/utils.o \ |
63 |
../avm/catLib.o \ |
64 |
../dbLibrary/dbLibrary.a |
65 |
|
66 |
ORLIBS = -L$(ORACLEHOME)/lib -lsql $(ORACLEHOME)/lib/osntab.o -lsqlnet \ |
67 |
-lora -lsqlnet -lpls -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 \ |
68 |
-lcore3 -lsocket -lnsl -lm -ldl -laio -lsocket -lnsl -lm -ldl |
69 |
|
70 |
all : odss |
71 |
|
72 |
install : odss |
73 |
cp -p odss ../bin |
74 |
|
75 |
odss : $(DBOBJS) $(LIBS) $(OSNAPLIB) |
76 |
$(CC) -o [email protected] $(DBOBJS) ../ca/libca.a $(OSNAPLIB) ../bin/libUnix.a ../bin/libcb.a ../bin/libtis.a ../bin/tisMsgLib.a $(ORLIBS) -lm -lnsl -lsocket |
77 |
# $(OSNAPLIB) $(LIBS) -lm -lnsl -lsocket |
78 |
|
79 |
odssMain.o : $(SRC)/odssMain.c $(SRC)/odssapp.h $(SRC)/odss.h |
80 |
$(CC) -o [email protected] $(CFLAGS) $(CPPFLAGS) $(SRC)/odssMain.c |
81 |
odssApp.o : $(SRC)/odssApp.c $(SRC)/odssapp.h $(SRC)/odss.h |
82 |
$(CC) -o [email protected] $(CFLAGS) $(CPPFLAGS) $(SRC)/odssApp.c |
83 |
|