/[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.3 - (show annotations)
Wed Sep 29 17:45:54 1999 UTC (23 years, 2 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +3 -1 lines
Steel
added save-report2.am and convert2excel.am to install target

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
15 SRCS = \
16 $(SRC)/apxDispatch.c \
17 $(SRC)/apxOracleDispatch.c
18
19 INCLUDES = \
20 -I$(SRC) \
21 -I$(SRCPATH)/newtrend \
22 -I$(APPLIXHOME)/include \
23 -I$(SHAREPATH)/epicsH \
24 -I/usr/include \
25 -I$(CODEBASEPATH)
26
27 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
28
29 LIBS = \
30 ../bin/libca.a \
31 ../bin/libUnix.a \
32 $(CODEBASEPATH)/libcb.a \
33 ../bin/libtis.a \
34 $(APPLIXHOME)/lib/elfapi.a \
35 -lsocket -lnsl -lm
36
37 OSNAPOBJS = \
38 ../newtrend/oracleSnapLib.o \
39 ../newtrend/oracleArchiveLib.o \
40 ../newtrend/trendLib.o \
41 ../newtrend/utils.o \
42 ../avm/catLib.o
43
44 OSNAPLIB = \
45 ../bin/dbLibrary.a \
46 ../bin/tisMsgLib.a
47
48 ORLIBS = -L$(ORACLEHOME)/lib -lsql $(ORACLEHOME)/lib/osntab.o -lsqlnet \
49 -lora -lsqlnet -lpls -lora -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 \
50 -lcore3 -lsocket -lnsl -lm -ldl -laio -lsocket -lnsl -lm -ldl
51
52 all : depend apxDispatch apxOracleDispatch otest
53
54 apxDispatch : $(SRC)/apxDispatch.c $(SRC)/apxfunc.h $(SRC)/apxdefs.h
55 $(RM) apxDispatch
56 $(CC) -o apxDispatch $(CFLAGS) $(SRC)/apxDispatch.c $(INCLUDES) $(LIBS)
57
58 apxOracleDispatch : $(SRC)/apxOracleDispatch.c $(SRC)/apxfunc.h $(SRC)/apxdefs.h \
59 $(OSNAPOBJS) $(OSNAPLIB)
60 $(RM) apxOracleDispatch
61 $(CC) -o apxOracleDispatch $(CFLAGS) $(SRC)/apxOracleDispatch.c \
62 $(INCLUDES) $(OSNAPOBJS) $(OSNAPLIB) $(LIBS) $(ORLIBS)
63
64 otest : $(SRC)/otest.c
65 $(RM) otest
66 $(CC) -o otest $(CFLAGS) $(SRC)/otest.c $(INCLUDES) $(OSNAPOBJS) \
67 $(OSNAPLIB) $(LIBS) $(ORLIBS)
68
69 ../avm/catLib.o : $(SRCPATH)/avm/catLib.c
70 cd ../avm ; make catLib.o
71
72 ../newtrend/oracleSnapLib.o :
73 cd ../newtrend ; make oracleSnapLib.o
74
75 ../newtrend/oracleArchiveLib.o :
76 cd ../newtrend ; make oracleArchiveLib.o
77
78 ../newtrend/trendLib.o :
79 cd ../newtrend ; make trendLib.o
80
81 ../newtrend/utils.o :
82 cd ../newtrend ; make utils.o
83
84 install : apxDispatch apxOracleDispatch
85 cp -p apxDispatch ../bin
86 cp -p apxOracleDispatch ../bin
87 cp -p $(SRC)/convert2excel.am ../bin
88 cp -p $(SRC)/login.am ../bin
89 cp -p $(SRC)/report.am ../bin
90 cp -p $(SRC)/save_report2.am ../bin
91 cp -p $(SRC)/tisMacros.am ../bin
92 cp -p $(SRC)/apxfunc.h ../bin
93
94 clean :
95 $(RM) apxDispatch
96 $(RM) apxOracleDispatch
97 $(RM) otest
98
99 depend: Makefile.depend
100
101 Makefile.depend : $(SRCS) Makefile
102 $(RM) Makefile.depend
103 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
104
105 include Makefile.depend

  ViewVC Help
Powered by ViewVC 1.1.28