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

Contents of /sun2.4/tagvuCC/Makefile

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


Revision 1.4 - (show annotations)
Thu Aug 26 21:21:00 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline
Changes since 1.3: +1 -1 lines
made Makefile.depend dependant on Makefile

1 CC = CC -g -DSOLARIS -DUSECB63
2 ALTCC = gcc -g -DSOLARIS -DUSECB63
3 ALTCCFLAGS = -Wunused
4 RM = rm -f
5
6 CODEBASEPATH = /tools/codebase63/source
7 TOP = ../../..
8 SHAREPATH = $(TOP)/share
9 SRCPATH = $(SHAREPATH)/src
10 SRC = $(SRCPATH)/tagvuCC
11 INCLUDES = \
12 -I$(SRC) \
13 -I$(GALAXYHOME)/include \
14 -I/usr/openwin/include \
15 -I$(TOP)/share/epicsH \
16 -I$(SRCPATH)/libtis \
17 -I$(CODEBASEPATH) \
18 -I/usr/include \
19 -I$(SRCPATH)/dataVuCC \
20 -I$(SRCPATH)/tisgalaxylib \
21 -I$(SRCPATH)/servers
22
23 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
24
25 STDLIBS = -lsocket -lnsl -lm
26
27 TAGVULIBS = \
28 ../bin/libCom.a \
29 ../bin/libTisClient.a \
30 $(CODEBASEPATH)/libcb.a \
31 ../bin/libca.a \
32 ../bin/tisMsgLib.a
33
34 SERVERLIBS = \
35 ../bin/libCom.a \
36 ../bin/libtis.a \
37 $(CODEBASEPATH)/libcb.a \
38 ../bin/libca.a \
39 ../bin/tisMsgLib.a
40
41 EXTRA_LIBS = \
42 ../bin/tisgalaxylib.a
43
44 TAGVUSRCS = \
45 $(SRC)/tagvuentrydialogclass.cpp \
46 $(SRC)/tagvufilterdialogclass.cpp \
47 $(SRC)/tagvumain.cpp \
48 $(SRC)/tagvumaindialogclass.cpp \
49 $(SRC)/tagvunames.cpp \
50 $(SRC)/tagvuremovedialogclass.cpp
51
52 TAGVUOBJS = \
53 tagvuentrydialogclass.o \
54 tagvufilterdialogclass.o \
55 tagvumain.o \
56 tagvumaindialogclass.o \
57 tagvunames.o \
58 tagvuremovedialogclass.o
59
60 SERVERSRCS = \
61 $(SRC)/tagvuserverapp.cpp \
62 $(SRC)/tagvuservermain.cpp
63
64 SERVEROBJS = \
65 tagvuserverapp.o \
66 tagvuservermain.o
67
68 SRCS = \
69 $(TAGVUSRCS) \
70 $(SERVERSRCS) \
71 $(SRCPATH)/servers/client.c \
72 $(SRCPATH)/servers/server.c
73
74 all: depend tagvu tagvuServer tagvu.vr
75
76 #-----------------------------------------------------------------------------
77 # tagvu program
78
79 tagvu: $(TAGVUOBJS) ../servers/client.o $(TAGVULIBS) $(EXTRA_LIBS)
80 $(RM) tagvu
81 $(CC) -o tagvu $(TAGVUOBJS) ../servers/client.o $(TAGVULIBS) $(EXTRA_LIBS) \
82 -L$(GALAXYHOME)/lib -L/usr/openwin/lib \
83 -lvgalaxy++-debug -lXext -lX11 $(STDLIBS)
84
85 #-----------------------------------------------------------------------------
86 # tagvu galaxy resource file
87 tagvu.vr: $(SRC)/tagvu.vrx
88 $(RM) tagvu.vr
89 vrx2vr -force $(SRC)/tagvu.vrx
90
91 #-------------------------------------------------------------------------------
92 # tagvu server program
93
94 tagvuServer: $(SERVEROBJS) ../servers/server.o $(SERVERLIBS)
95 $(RM) tagvuServer
96 $(ALTCC) -o tagvuServer $(SERVEROBJS) ../servers/server.o $(SERVERLIBS) $(STDLIBS)
97
98 #-------------------------------------------------------------------------------
99 # obj targets
100
101 tagvuentrydialogclass.o: $(SRC)/tagvuentrydialogclass.cpp
102 $(RM) tagvuentrydialogclass.o
103 $(CC) -c $(INCLUDES) $(SRC)/tagvuentrydialogclass.cpp
104
105 tagvufilterdialogclass.o: $(SRC)/tagvufilterdialogclass.cpp
106 $(RM) tagvufilterdialogclass.o
107 $(CC) -c $(INCLUDES) $(SRC)/tagvufilterdialogclass.cpp
108
109 tagvumain.o: $(SRC)/tagvumain.cpp
110 $(RM) tagvumain.o
111 $(CC) -c $(INCLUDES) $(SRC)/tagvumain.cpp
112
113 tagvumaindialogclass.o: $(SRC)/tagvumaindialogclass.cpp
114 $(RM) tagvumaindialogclass.o
115 $(CC) -c $(INCLUDES) $(SRC)/tagvumaindialogclass.cpp
116
117 tagvunames.o: $(SRC)/tagvunames.cpp
118 $(RM) tagvunames.o
119 $(CC) -c $(INCLUDES) $(SRC)/tagvunames.cpp
120
121 tagvuremovedialogclass.o: $(SRC)/tagvuremovedialogclass.cpp
122 $(RM) tagvuremovedialogclass.o
123 $(CC) -c $(INCLUDES) $(SRC)/tagvuremovedialogclass.cpp
124
125 ../servers/client.o: $(SRCPATH)/servers/client.c
126 cd ../servers ; make client.o
127
128 tagvuserverapp.o: $(SRC)/tagvuserverapp.cpp
129 $(RM) tagvuserverapp.o
130 $(ALTCC) $(ALTCCFLAGS) -c $(INCLUDES) $(SRC)/tagvuserverapp.cpp
131
132 tagvuservermain.o: $(SRC)/tagvuservermain.cpp
133 $(RM) tagvuservermain.o
134 $(ALTCC) $(ALTCCFLAGS) -c $(INCLUDES) $(SRC)/tagvuservermain.cpp
135
136 ../servers/server.o: $(SRCPATH)/servers/server.c
137 cd ../servers ; make server.o
138
139 install:
140 cp -p tagvu ../bin
141 cp -p tagvuServer ../bin
142 cp -p tagvu.vr ../bin
143
144 clean:
145 $(RM) tagvu
146 $(RM) tagvuServer
147 $(RM) $(TAGVUOBJS)
148 $(RM) $(SERVEROBJS)
149 $(RM) tagvu.vr
150 $(RM) Makefile.depend
151
152 depend: Makefile.depend
153
154 Makefile.depend: $(SRCS) Makefile
155 $(RM) Makefile.depend
156 gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend
157
158 include Makefile.depend
159

  ViewVC Help
Powered by ViewVC 1.1.28