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

Contents of /sun2.4/applix/Makefile

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


Revision 1.1.1.1 - (show annotations) (vendor branch)
Tue Aug 3 17:11:04 1999 UTC (24 years, 6 months ago) by tis4000
Branch: HIA
CVS Tags: T60
Changes since 1.1: +0 -0 lines
Initial sun2.4 setup

1 CC = gcc -g -DSOLARIS -DUSECB63
2 CFLAGS = -g -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(SHAREPATH)/src
9 SRC = $(SRCPATH)/applix
10
11 ORACLEHOME = /tools/oracle
12 APPLIXHOME = /tools/applix
13 CODEBASEPATH = /tools/codebase63/source
14 DEPEND = $(SHAREPATH)/bin/sun2.4/EPICSmakedepend
15
16 SRCS = \
17 $(SRC)/apxDispatch.c \
18 $(SRC)/apxOracleDispatch.c
19
20 INCLUDES = \
21 -I$(SRC) \
22 -I$(SRCPATH)/newtrend \
23 -I$(APPLIXHOME)/include \
24 -I$(SHAREPATH)/epicsH \
25 -I/usr/include \
26 -I$(CODEBASEPATH)
27
28 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
29
30 LIBS = \
31 ../bin/libca.a \
32 ../bin/libUnix.a \
33 $(CODEBASEPATH)/libcb.a \
34 ../bin/libtis.a \
35 $(APPLIXHOME)/lib/elfapi.a \
36 -lsocket -lnsl -lm
37
38 OSNAPOBJS = \
39 ../newtrend/oracleSnapLib.o \
40 ../newtrend/oracleArchiveLib.o \
41 ../newtrend/trendLib.o \
42 ../newtrend/utils.o \
43 ../avm/catLib.o
44
45 OSNAPLIB = \
46 ../bin/dbLibrary.a \
47 ../bin/tisMsgLib.a
48
49 ORLIBS = -L$(ORACLEHOME)/lib -lsql $(ORACLEHOME)/lib/osntab.o -lsqlnet \
50 -lora -lsqlnet -lpls -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 \
51 -lcore3 -lsocket -lnsl -lm -ldl -laio -lsocket -lnsl -lm -ldl
52
53 all : apxDispatch apxOracleDispatch otest
54
55 apxDispatch : $(SRC)/apxDispatch.c $(SRC)/apxfunc.h $(SRC)/apxdefs.h
56 $(RM) apxDispatch
57 $(CC) -o apxDispatch $(CFLAGS) $(SRC)/apxDispatch.c $(INCLUDES) $(LIBS)
58
59 apxOracleDispatch : $(SRC)/apxOracleDispatch.c $(SRC)/apxfunc.h $(SRC)/apxdefs.h \
60 $(OSNAPOBJS) $(OSNAPLIB)
61 $(RM) apxOracleDispatch
62 $(CC) -o apxOracleDispatch $(CFLAGS) $(SRC)/apxOracleDispatch.c \
63 $(INCLUDES) $(OSNAPOBJS) $(OSNAPLIB) $(LIBS) $(ORLIBS)
64
65 otest : $(SRC)/otest.c
66 $(RM) otest
67 $(CC) -o otest $(CFLAGS) $(SRC)/otest.c $(INCLUDES) $(OSNAPOBJS) \
68 $(OSNAPLIB) $(LIBS) $(ORLIBS)
69
70 ../avm/catLib.o : $(SRCPATH)/avm/catLib.c
71 cd ../avm ; make catLib.o
72
73 ../newtrend/oracleSnapLib.o :
74 cd ../newtrend ; make oracleSnapLib.o
75
76 ../newtrend/oracleArchiveLib.o :
77 cd ../newtrend ; make oracleArchiveLib.o
78
79 ../newtrend/trendLib.o :
80 cd ../newtrend ; make trendLib.o
81
82 ../newtrend/utils.o :
83 cd ../newtrend ; make utils.o
84
85 install : apxDispatch apxOracleDispatch
86 cp -p apxDispatch ../bin
87 cp -p apxOracleDispatch ../bin
88 cp -p $(SRC)/report.am ../bin
89 cp -p $(SRC)/login.am ../bin
90 cp -p $(SRC)/tisMacros.am ../bin
91 cp -p $(SRC)/apxfunc.h ../bin
92
93 clean :
94 $(RM) apxDispatch
95 $(RM) apxOracleDispatch
96 $(RM) otest
97
98 #
99 # Uses EPICSmakedepend to create dependencies
100 #
101
102 depend::
103 $(DEPEND) -s "#DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS)
104
105
106 #DO NOT DELETE
107 #DO NOT DELETE
108
109 apxDispatch.o: ../../../share/src/applix/apxDispatch.c \
110 /usr/include/sys/time.h /usr/include/sys/feature_tests.h \
111 /usr/include/sys/types.h /usr/include/sys/isa_defs.h \
112 /usr/include/sys/machtypes.h /usr/include/sys/select.h /usr/include/time.h \
113 /usr/include/string.h /usr/include/stdio.h /usr/include/signal.h \
114 /usr/include/sys/signal.h /usr/include/sys/unistd.h \
115 ../../../share/src/applix/elfapi.h /usr/include/stdlib.h \
116 /usr/include/setjmp.h ../../../share/src/applix/apxfunc.h \
117 ../../../share/src/applix/apxdefs.h ../../../share/epicsH/db_access.h \
118 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
119 ../../../share/epicsH/db_addr.h ../../../share/epicsH/dbAddr.h \
120 ../../../share/epicsH/cadef.h ../../../share/epicsH/dbDefs.h \
121 ../../../share/epicsH/dataTypes.h ../../../share/epicsH/agentErrs.h \
122 ../../../share/epicsH/tisAlarm.h ../../../share/epicsH/lstLib.h \
123 ../../../share/epicsH/cb45to63.h /tools/codebase63/source/d4all.h \
124 /tools/codebase63/source/p4port.h /usr/include/unistd.h \
125 /tools/codebase63/source/d4defs.h /tools/codebase63/source/d4data.h \
126 /tools/codebase63/source/d4declar.h /tools/codebase63/source/d4inline.h \
127 /tools/codebase63/source/f4flag.h /tools/codebase63/source/e4expr.h \
128 /tools/codebase63/source/s4sort.h /tools/codebase63/source/e4string.h \
129 /tools/codebase63/source/e4error.h /tools/codebase63/source/o4opt.h \
130 /tools/codebase63/source/c4com.h /tools/codebase63/source/c4trans.h \
131 /tools/codebase63/source/r4relate.h ../../../share/epicsH/avl.h
132 apxOracleDispatch.o: ../../../share/src/applix/apxOracleDispatch.c \
133 /usr/include/sys/time.h /usr/include/sys/feature_tests.h \
134 /usr/include/sys/types.h /usr/include/sys/isa_defs.h \
135 /usr/include/sys/machtypes.h /usr/include/sys/select.h /usr/include/time.h \
136 /usr/include/string.h /usr/include/stdio.h /usr/include/signal.h \
137 /usr/include/sys/signal.h /usr/include/sys/unistd.h \
138 ../../../share/src/applix/elfapi.h /usr/include/stdlib.h \
139 /usr/include/setjmp.h ../../../share/src/applix/apxfunc.h \
140 ../../../share/src/applix/apxdefs.h ../../../share/epicsH/db_access.h \
141 ../../../share/epicsH/tsDefs.h ../../../share/epicsH/errMdef.h \
142 ../../../share/epicsH/db_addr.h ../../../share/epicsH/dbAddr.h \
143 ../../../share/epicsH/cadef.h ../../../share/epicsH/dbDefs.h \
144 ../../../share/epicsH/dataTypes.h ../../../share/epicsH/agentErrs.h \
145 ../../../share/epicsH/tisAlarm.h ../../../share/epicsH/lstLib.h \
146 ../../../share/epicsH/avl.h \
147 ../../../share/src/applix/../newtrend/trendDefs.h \
148 ../../../share/src/applix/../newtrend/mlist.h \
149 ../../../share/src/applix/../newtrend/trendLib.h /usr/include/memory.h \
150 /usr/include/sys/stat.h /usr/include/syslog.h /usr/include/sys/syslog.h \
151 /usr/include/stdarg.h ../../../share/epicsH/error.h /usr/include/sys/ipc.h \
152 /usr/include/sys/shm.h ../../../share/src/applix/../newtrend/trendSizes.h \
153 ../../../share/src/applix/../newtrend/oracleSnap.h \
154 ../../../share/src/applix/../newtrend/oracleSnapLib.h \
155 ../../../share/src/applix/../newtrend/archiveLib.h

  ViewVC Help
Powered by ViewVC 1.1.30