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

Contents of /sun2.4/opNote/Makefile

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


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

1 CPLUSPLUS = CC -g -DUNIX -DSOLARIS -DUSECB63
2 CFLAGS =
3 ALTCC = gcc -g -Wunused -DUNIX -DSOLARIS -DUSECB63
4 RM = rm -f
5
6 CODEBASEPATH = /tools/codebase63/source
7 TOP=../../..
8 LIBPATH = ../bin
9 SRCPATH=$(TOP)/share/src
10 OPNOTEPATH=$(SRCPATH)/opNote
11 CLIENTSERVERPATH=$(SRCPATH)/servers
12
13 INCLUDES = \
14 -I$(OPNOTEPATH) \
15 -I$(GALAXYHOME)/include \
16 -I$(TOP)/share/epicsH \
17 -I$(SRCPATH)/libtis \
18 -I$(SRCPATH)/tisgalaxylib \
19 -I$(SRCPATH)/servers \
20 -I$(CODEBASEPATH) \
21 -I/usr/openwin/include \
22 -I/usr/include
23
24 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
25
26 STDLIBS = -lsocket -lnsl -lm
27
28 LIBS = \
29 $(LIBPATH)/libTisClient.a \
30 $(LIBPATH)/tisMsgLib.a \
31 $(LIBPATH)/tisgalaxylib.a \
32 $(CODEBASEPATH)/libcb.a
33
34 SERVERLIBS = \
35 $(LIBPATH)/libtis.a \
36 $(LIBPATH)/tisMsgLib.a \
37 $(CODEBASEPATH)/libcb.a
38
39 OPNOTESRC = \
40 $(OPNOTEPATH)/opno.cxx \
41 $(OPNOTEPATH)/opNote.cxx \
42 $(OPNOTEPATH)/opNoteDbClient.c \
43 $(OPNOTEPATH)/opNoteEdit.cxx \
44 $(OPNOTEPATH)/opNoteKey.cxx \
45 $(OPNOTEPATH)/opNoteMain.cxx \
46 $(OPNOTEPATH)/opNoteSearch.cxx \
47 $(OPNOTEPATH)/opNoteUtils.cxx
48
49 OPNOTEDBSRC = \
50 $(OPNOTEPATH)/opNoteDbServer.c \
51 $(OPNOTEPATH)/opNoteDb.c
52
53 SRCS = $(OPNOTESRC) $(OPNOTEDBSRCS)
54
55 OPNOTEOBJS = \
56 opno.o \
57 opNote.o \
58 opNoteDbClient.o \
59 opNoteEdit.o \
60 opNoteKey.o \
61 opNoteMain.o \
62 opNoteSearch.o \
63 opNoteUtils.o
64
65 SERVEROBJS=opNoteDbServer.o \
66 opNoteDb.o
67
68 all: depend opNote opNoteDbServer opNote.vr
69
70 opNote: $(OPNOTEOBJS) ../servers/client.o $(LIBS)
71 $(CPLUSPLUS) -o opNote $(OPNOTEOBJS) ../servers/client.o $(LIBS) \
72 -L$(GALAXYHOME)/lib -L/usr/openwin/lib \
73 -lvgalaxy++-debug -lXext -lX11 $(STDLIBS)
74
75 opNoteDbServer: $(SERVEROBJS) ../servers/server.o $(SERVERLIBS)
76 $(ALTCC) -o opNoteDbServer $(SERVEROBJS) ../servers/server.o \
77 $(SERVERLIBS) $(STDLIBS)
78
79 opNote.vr: $(OPNOTEPATH)/opNote.vrx
80 $(RM) opNote.vr
81 vrx2vr -force $(OPNOTEPATH)/opNote.vrx
82
83 opNote.o: $(OPNOTEPATH)/opNote.cxx
84 $(RM) opNote.o
85 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opNote.cxx
86
87 opNoteDb.o: $(OPNOTEPATH)/opNoteDb.c
88 $(RM) opNoteDb.o
89 $(ALTCC) -c $(INCLUDES) $(OPNOTEPATH)/opNoteDb.c
90
91 opNoteDbServer.o: $(OPNOTEPATH)/opNoteDbServer.c
92 $(RM) opNoteDbServer.o
93 $(ALTCC) -c $(INCLUDES) $(OPNOTEPATH)/opNoteDbServer.c
94
95 opNoteEdit.o: $(OPNOTEPATH)/opNoteEdit.cxx
96 $(RM) opNoteEdit.o
97 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opNoteEdit.cxx
98
99 opNoteKey.o: $(OPNOTEPATH)/opNoteKey.cxx
100 $(RM) opNoteKey.o
101 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opNoteKey.cxx
102
103 opNoteMain.o: $(OPNOTEPATH)/opNoteMain.cxx
104 $(RM) opNoteMain.o
105 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opNoteMain.cxx
106
107 opNoteSearch.o: $(OPNOTEPATH)/opNoteSearch.cxx
108 $(RM) opNoteSearch.o
109 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opNoteSearch.cxx
110
111 opNoteUtils.o: $(OPNOTEPATH)/opNoteUtils.cxx
112 $(RM) opNoteUtils.o
113 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opNoteUtils.cxx
114
115 opNoteDbClient.o: $(OPNOTEPATH)/opNoteDbClient.c
116 $(RM) opNoteDbClient.o
117 $(ALTCC) -c $(INCLUDES) $(OPNOTEPATH)/opNoteDbClient.c
118
119 opno.o: $(OPNOTEPATH)/opno.cxx
120 $(RM) opno.o
121 $(CPLUSPLUS) -c $(INCLUDES) $(OPNOTEPATH)/opno.cxx
122
123 server.o:
124 cd ../servers; make server.o
125
126 client.o:
127 cd ../servers; make client.o
128
129 install:
130 cp -p opNote ../bin
131 cp -p opNoteDbServer ../bin
132 chmod +w opNote.vr
133 cp -p opNote.vr ../bin
134
135 clean:
136 $(RM) $(OPNOTEOBJS)
137 $(RM) $(SERVEROBJS)
138 $(RM) opNote
139 $(RM) opNoteDbServer
140 $(RM) opNote.vr
141 $(RM) Makefile.depend
142
143 depend: Makefile.depend
144
145 Makefile.depend: $(SRCS) Makefile
146 $(RM) Makefile.depend
147 gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend
148
149 include Makefile.depend
150

  ViewVC Help
Powered by ViewVC 1.1.28