1 |
tis4000 |
1.1 |
CC = CC -g -DUNIX -DSOLARIS -DUSECB63 -DHOST |
2 |
|
|
RM = rm -f |
3 |
|
|
|
4 |
|
|
TOP=../../.. |
5 |
|
|
SHAREPATH = $(TOP)/share |
6 |
|
|
SRCPATH=$(SHAREPATH)/src |
7 |
|
|
SRC = $(SRCPATH)/snlvuCC |
8 |
|
|
CODEBASEPATH = /tools/codebase63/source |
9 |
|
|
|
10 |
|
|
INCLUDES = \ |
11 |
|
|
-I$(SRC) \ |
12 |
|
|
-I$(SRCPATH)/sequencer \ |
13 |
|
|
-I$(SRCPATH)/libtis \ |
14 |
|
|
-I$(SHAREPATH)/epicsH \ |
15 |
|
|
-I$(SRCPATH)/tisgalaxylib \ |
16 |
|
|
-I$(CODEBASEPATH) \ |
17 |
|
|
-I$(GALAXYHOME)/include \ |
18 |
|
|
-I/usr/openwin/include \ |
19 |
|
|
-I/usr/include |
20 |
|
|
|
21 |
|
|
ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63 |
22 |
|
|
|
23 |
|
|
STDLIBS = -lsocket -lnsl -lm |
24 |
|
|
XLIBS = -lXext -lX11 |
25 |
|
|
|
26 |
|
|
LIBS = \ |
27 |
|
|
../bin/tisMsgLib.a \ |
28 |
|
|
../bin/tisgalaxylib.a \ |
29 |
tis4000 |
1.5 |
../bin/libtis.a \ |
30 |
tis4000 |
1.1 |
$(CODEBASEPATH)/libcb.a |
31 |
|
|
|
32 |
|
|
SRCS = \ |
33 |
|
|
$(SRC)/snlvu.cxx \ |
34 |
|
|
$(SRC)/snlvuApp.cxx \ |
35 |
|
|
$(SRC)/snlvuChannels.cxx \ |
36 |
|
|
$(SRC)/snlvuEditInstance.cxx \ |
37 |
|
|
$(SRC)/snlvuEnter.cxx \ |
38 |
|
|
$(SRC)/snlvuExpand.cxx \ |
39 |
|
|
$(SRC)/snlvuInstances.cxx \ |
40 |
|
|
$(SRC)/snlvuMain.cxx \ |
41 |
|
|
$(SRC)/snlvuModules.cxx \ |
42 |
|
|
$(SRC)/snlvuStateSets.cxx \ |
43 |
|
|
$(SRC)/snlvuUtils.cxx \ |
44 |
|
|
$(SRC)/snlvuVariables.cxx |
45 |
|
|
|
46 |
|
|
OBJS = \ |
47 |
|
|
snlvu.o \ |
48 |
|
|
snlvuApp.o \ |
49 |
|
|
snlvuChannels.o \ |
50 |
|
|
snlvuEditInstance.o \ |
51 |
|
|
snlvuEnter.o \ |
52 |
|
|
snlvuExpand.o \ |
53 |
|
|
snlvuInstances.o \ |
54 |
|
|
snlvuMain.o \ |
55 |
|
|
snlvuModules.o \ |
56 |
|
|
snlvuStateSets.o \ |
57 |
|
|
snlvuUtils.o \ |
58 |
|
|
snlvuVariables.o |
59 |
|
|
|
60 |
tis4000 |
1.3 |
all: depend snlvu snlvu.vr |
61 |
tis4000 |
1.1 |
|
62 |
|
|
snlvu: $(OBJS) ../sequencer/snlmonlib.o $(LIBS) |
63 |
|
|
$(CC) -o snlvu $(OBJS) ../sequencer/snlmonlib.o $(LIBS) \ |
64 |
|
|
-L$(GALAXYHOME)/lib -L/usr/openwin/lib \ |
65 |
|
|
-lvgalaxy++-debug $(XLIBS) $(STDLIBS) |
66 |
|
|
|
67 |
tis4000 |
1.2 |
snlvu.vr: $(SRC)/snlvu.vrx |
68 |
|
|
$(RM) snlvu.vr |
69 |
|
|
vrx2vr -force $(SRC)/snlvu.vrx |
70 |
|
|
|
71 |
tis4000 |
1.1 |
snlvu.o: $(SRC)/snlvu.cxx |
72 |
|
|
$(RM) snlvu.o |
73 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvu.cxx |
74 |
|
|
|
75 |
|
|
snlvuApp.o: $(SRC)/snlvuApp.cxx |
76 |
|
|
$(RM) snlvuApp.o |
77 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuApp.cxx |
78 |
|
|
|
79 |
|
|
snlvuChannels.o: $(SRC)/snlvuChannels.cxx |
80 |
|
|
$(RM) snlvuChannels.o |
81 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuChannels.cxx |
82 |
|
|
|
83 |
|
|
snlvuEditInstance.o: $(SRC)/snlvuEditInstance.cxx |
84 |
|
|
$(RM) snlvuEditInstance.o |
85 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuEditInstance.cxx |
86 |
|
|
|
87 |
|
|
snlvuEnter.o: $(SRC)/snlvuEnter.cxx |
88 |
|
|
$(RM) snlvuEnter.o |
89 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuEnter.cxx |
90 |
|
|
|
91 |
|
|
snlvuExpand.o: $(SRC)/snlvuExpand.cxx |
92 |
|
|
$(RM) snlvuExpand.o |
93 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuExpand.cxx |
94 |
|
|
|
95 |
|
|
snlvuInstances.o: $(SRC)/snlvuInstances.cxx |
96 |
|
|
$(RM) snlvuInstances.o |
97 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuInstances.cxx |
98 |
|
|
|
99 |
|
|
snlvuMain.o: $(SRC)/snlvuMain.cxx |
100 |
|
|
$(RM) snlvuMain.o |
101 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuMain.cxx |
102 |
|
|
|
103 |
|
|
snlvuModules.o: $(SRC)/snlvuModules.cxx |
104 |
|
|
$(RM) snlvuModules.o |
105 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuModules.cxx |
106 |
|
|
|
107 |
|
|
snlvuStateSets.o: $(SRC)/snlvuStateSets.cxx |
108 |
|
|
$(RM) snlvuStateSets.o |
109 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuStateSets.cxx |
110 |
|
|
|
111 |
|
|
snlvuUtils.o: $(SRC)/snlvuUtils.cxx |
112 |
|
|
$(RM) snlvuUtils.o |
113 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuUtils.cxx |
114 |
|
|
|
115 |
|
|
snlvuVariables.o: $(SRC)/snlvuVariables.cxx |
116 |
|
|
$(RM) snlvuVariables.o |
117 |
|
|
$(CC) -c $(INCLUDES) $(SRC)/snlvuVariables.cxx |
118 |
|
|
|
119 |
|
|
../sequencer/snlmonlib.o: $(SRCPATH)/sequencer/snlmonlib.c |
120 |
|
|
cd ../sequencer ; make snlmonlib.o |
121 |
|
|
|
122 |
|
|
install: |
123 |
|
|
cp -p snlvu ../bin |
124 |
tis4000 |
1.2 |
cp -p snlvu.vr ../bin |
125 |
tis4000 |
1.1 |
|
126 |
|
|
clean: |
127 |
|
|
$(RM) $(OBJS) |
128 |
|
|
$(RM) snlvu |
129 |
tis4000 |
1.2 |
$(RM) snlvu.vr |
130 |
tis4000 |
1.3 |
$(RM) Makefile.depend |
131 |
|
|
|
132 |
|
|
depend: Makefile.depend |
133 |
|
|
|
134 |
tis4000 |
1.4 |
Makefile.depend: $(SRCS) Makefile |
135 |
tis4000 |
1.3 |
$(RM) Makefile.depend |
136 |
|
|
gcc -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
137 |
|
|
|
138 |
|
|
include Makefile.depend |
139 |
tis4000 |
1.1 |
|