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

Annotation of /sun2.4/avm/Makefile

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


Revision 1.3 - (hide annotations)
Wed Sep 29 17:54:04 1999 UTC (24 years ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +10 -207 lines
iniital baseline - Steel

1 tis4000 1.1 CC = gcc -g -I/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.6.3/include -I/usr/include \
2     -DSOLARIS -DUSE_PROTOTYPES -DUSECB63
3     CFLAGS = -g -c -Wunused
4    
5     RM = rm -f
6    
7     MOTIF_HOME = /usr/dt
8     X11HOME = /usr/openwin
9     ORACLEHOME = /tools/oracle
10     CODEBASEPATH = /tools/codebase63/source
11    
12     TOP = ../../..
13     SHAREPATH = $(TOP)/share
14     SRCPATH = $(SHAREPATH)/src
15     SRC = $(SRCPATH)/avm
16    
17     INCLUDES = \
18     -I$(SRC) \
19     -I$(SHAREPATH)/epicsH \
20     -I$(CODEBASEPATH) \
21     -I/usr/include \
22     -I/usr/include/sys \
23     -I$(X11HOME)/include \
24     -I$(MOTIF_HOME)/include
25    
26     ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
27    
28     LIBDIRS = -L$(MOTIF_HOME)/lib -L$(X11HOME)/lib
29     SYSLIBS = -lXm -lMrm -lXmu -lXt -lXext -lX11 -lX -lgen
30    
31     LIBS = $(LIBDIRS) $(SYSLIBS)
32    
33     TISLIBS = \
34     ../bin/libtis.a \
35     ../bin/libUnix.a \
36     $(CODEBASEPATH)/libcb.a \
37     ../bin/libtlm.a \
38     ../bin/tisMsgLib.a
39    
40     OSNAPLIB = \
41     ../newtrend/oracleSnapLib.o \
42     ../newtrend/oracleArchiveLib.o \
43     ../newtrend/trendLib.o \
44     ../newtrend/utils.o \
45     catLib.o \
46     ../bin/dbLibrary.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     SRCS = \
53     $(SRC)/aimMain.c \
54     $(SRC)/aimUtils.c \
55     $(SRC)/aimEdit.c \
56     $(SRC)/archiveMountRequest.c \
57     $(SRC)/avmMain.c \
58     $(SRC)/avmUtils.c \
59     $(SRC)/avmEdit.c \
60     $(SRC)/catLib.c
61    
62     AVMOBJS = \
63     avmMain.o \
64     avmUtils.o \
65     avmEdit.o
66    
67     AIMOBJS = \
68     aimMain.o \
69     aimUtils.o \
70     aimEdit.o
71    
72     OBJS = $(AVMOBJS) $(AIMOBJS) catLib.o archiveMountRequest.o
73    
74 tis4000 1.3 all:: depend catLib.o avm archConfig archiveMountRequest
75 tis4000 1.1
76     ######### TARGETS ###########################################################
77    
78     avm: $(AVMOBJS) $(TISLIBS) $(OSNAPLIB)
79     $(RM) avm
80     $(CC) -o avm -g $(AVMOBJS) $(OSNAPLIB) $(LIBS) $(TISLIBS) $(ORLIBS) -lm
81    
82     archConfig: $(AIMOBJS) $(TISLIBS)
83     $(RM) archConfig
84     $(CC) -o archConfig -g $(AIMOBJS) $(LIBS) $(TISLIBS) -lm
85    
86     archiveMountRequest: archiveMountRequest.o
87     $(CC) -o archiveMountRequest -g archiveMountRequest.o $(LIBS) -lm
88    
89     ######### OBJECTS ###########################################################
90    
91     archiveMountRequest.o: $(SRC)/archiveMountRequest.c
92     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/archiveMountRequest.c
93    
94     aimMain.o: $(SRC)/aimMain.c
95     $(RM) aimMain.o
96     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/aimMain.c
97    
98     aimUtils.o: $(SRC)/aimUtils.c
99     $(RM) aimUtils.o
100     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/aimUtils.c
101    
102     aimEdit.o: $(SRC)/aimEdit.c
103     $(RM) aimEdit.o
104     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/aimEdit.c
105    
106     avmMain.o: $(SRC)/avmMain.c
107     $(RM) avmMain.o
108     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/avmMain.c
109    
110     avmUtils.o: $(SRC)/avmUtils.c
111     $(RM) avmUtils.o
112     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/avmUtils.c
113    
114     avmEdit.o: $(SRC)/avmEdit.c
115     $(RM) avmEdit.o
116     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/avmEdit.c
117    
118     catLib.o: $(SRC)/catLib.c
119     $(RM) catLib.o
120     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/catLib.c
121    
122     ../newtrend/oracleSnapLib.o :
123     cd ../newtrend ; make oracleSnapLib.o
124    
125     ../newtrend/oracleArchiveLib.o :
126     cd ../newtrend ; make archiveLib.o
127    
128     ../newtrend/trendLib.o :
129     cd ../newtrend ; make trendLib.o
130    
131     ../newtrend/utils.o :
132     cd ../newtrend ; make utils.o
133    
134     install : avm archiveMountRequest archConfig
135     cp -p avm ../bin
136     cp -p $(SRC)/*_archive ../bin
137     chmod 777 ../bin/*_archive
138     cp -p archiveMountRequest ../bin
139     cp -p archConfig ../bin
140    
141     clean::
142     $(RM) $(OBJS)
143     $(RM) avm
144     $(RM) archConfig
145     $(RM) archiveMountRequest
146 tis4000 1.3 $(RM) Makefile.depend
147    
148     depend: Makefile.depend
149    
150     Makefile.depend : $(SRCS) Makefile
151     $(RM) Makefile.depend
152     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
153    
154     include Makefile.depend
155 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.30