1 |
tis4000 |
1.1 |
CC = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -DUSECB63 |
2 |
|
|
CFLAGS = -g -c -Wunused |
3 |
|
|
|
4 |
|
|
RM = rm -f |
5 |
|
|
|
6 |
|
|
TOP = ../../.. |
7 |
|
|
SHAREPATH = $(TOP)/share |
8 |
|
|
SRCPATH = $(TOP)/share/src |
9 |
|
|
SRC = $(TOP)/share/src/ims |
10 |
|
|
|
11 |
|
|
CODEBASEPATH = /tools/codebase63/source |
12 |
|
|
|
13 |
|
|
DEPEND = $(TOP)/share/bin/sun2.4/EPICSmakedepend |
14 |
|
|
|
15 |
|
|
INCLUDES = \ |
16 |
|
|
-I$(SRC) \ |
17 |
|
|
-I$(SRCPATH)/dbLibrary \ |
18 |
|
|
-I$(CODEBASEPATH) \ |
19 |
|
|
-I/usr/include \ |
20 |
|
|
-I$(SHAREPATH)/epicsH \ |
21 |
|
|
-I$(SHAREPATH)/ascii |
22 |
|
|
|
23 |
|
|
ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63 |
24 |
|
|
|
25 |
|
|
SRCS = \ |
26 |
|
|
$(SRC)/imsMain.c \ |
27 |
|
|
$(SRC)/imsUtils.c \ |
28 |
|
|
$(SRC)/imsWrite.c |
29 |
|
|
|
30 |
|
|
OBJS = \ |
31 |
|
|
imsMain.o \ |
32 |
|
|
imsUtils.o \ |
33 |
|
|
imsWrite.o |
34 |
|
|
|
35 |
|
|
LIBS = \ |
36 |
|
|
../bin/libUnix.a \ |
37 |
|
|
$(CODEBASEPATH)/libcb.a \ |
38 |
|
|
../bin/libtis.a \ |
39 |
|
|
../bin/libca.a \ |
40 |
|
|
../bin/libCom.a \ |
41 |
|
|
../bin/tisMsgLib.a |
42 |
|
|
|
43 |
|
|
all : ims |
44 |
|
|
|
45 |
|
|
ims : $(OBJS) $(LIBS) |
46 |
|
|
$(RM) ims |
47 |
|
|
$(CC) -o ims $(OBJS) $(LIBS) -lm -lsocket -lnsl |
48 |
|
|
|
49 |
|
|
imsMain.o : $(SRC)/imsMain.c |
50 |
|
|
$(RM) imsMain.o |
51 |
|
|
$(CC) $(CFLAGS) $(INCLUDES) $(SRC)/imsMain.c |
52 |
|
|
|
53 |
|
|
imsWrite.o : $(SRC)/imsWrite.c |
54 |
|
|
$(RM) imsWrite.o |
55 |
|
|
$(CC) $(CFLAGS) $(INCLUDES) $(SRC)/imsWrite.c |
56 |
|
|
|
57 |
|
|
imsUtils.o : $(SRC)/imsUtils.c |
58 |
|
|
$(RM) imsUtils.o |
59 |
|
|
$(CC) $(CFLAGS) $(INCLUDES) $(SRC)/imsUtils.c |
60 |
|
|
|
61 |
|
|
clean: |
62 |
|
|
$(RM) $(OBJS) |
63 |
|
|
$(RM) ims |
64 |
|
|
|
65 |
|
|
install: |
66 |
|
|
cp -p ims ../bin |
67 |
|
|
# |
68 |
|
|
# Uses EPICSmake depend to create dependencies |
69 |
|
|
# |
70 |
|
|
|
71 |
|
|
depend:: |
72 |
|
|
$(DEPEND) -s "#DO NOT DELETE" -- $(ALLDEFINES) -- $(SRCS) |
73 |
|
|
|
74 |
|
|
#DO NOT DELETE |
75 |
|
|
#DO NOT DELETE |
76 |
|
|
|
77 |
|
|
imsMain.o: ../../../share/src/ims/imsMain.c ../../../share/src/ims/ims.h \ |
78 |
|
|
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
79 |
|
|
/usr/include/stdlib.h /usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
80 |
|
|
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
81 |
|
|
/usr/include/sys/time.h /usr/include/time.h /usr/include/sys/param.h \ |
82 |
|
|
/usr/include/sys/unistd.h /usr/include/memory.h /usr/include/signal.h \ |
83 |
|
|
/usr/include/sys/signal.h /usr/include/string.h \ |
84 |
|
|
../../../share/epicsH/dataTypes.h ../../../share/epicsH/dbDefs.h \ |
85 |
|
|
../../../share/epicsH/dbRecType.h ../../../share/epicsH/dbRecDes.h \ |
86 |
|
|
../../../share/epicsH/dbRecords.h ../../../share/epicsH/avl.h \ |
87 |
|
|
../../../share/epicsH/alarm.h ../../../share/epicsH/choice.h \ |
88 |
|
|
../../../share/epicsH/choiceGbl.h ../../../share/epicsH/cadef.h \ |
89 |
|
|
../../../share/epicsH/db_access.h ../../../share/epicsH/tsDefs.h \ |
90 |
|
|
../../../share/epicsH/errMdef.h ../../../share/epicsH/db_addr.h \ |
91 |
|
|
../../../share/epicsH/dbAddr.h ../../../share/epicsH/agentErrs.h \ |
92 |
|
|
../../../share/epicsH/tisAlarm.h ../../../share/epicsH/msgMon.h |
93 |
|
|
imsUtils.o: ../../../share/src/ims/imsUtils.c ../../../share/src/ims/ims.h \ |
94 |
|
|
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
95 |
|
|
/usr/include/stdlib.h /usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
96 |
|
|
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
97 |
|
|
/usr/include/sys/time.h /usr/include/time.h /usr/include/sys/param.h \ |
98 |
|
|
/usr/include/sys/unistd.h /usr/include/memory.h /usr/include/signal.h \ |
99 |
|
|
/usr/include/sys/signal.h /usr/include/string.h \ |
100 |
|
|
../../../share/epicsH/dataTypes.h ../../../share/epicsH/dbDefs.h \ |
101 |
|
|
../../../share/epicsH/dbRecType.h ../../../share/epicsH/dbRecDes.h \ |
102 |
|
|
../../../share/epicsH/dbRecords.h ../../../share/epicsH/avl.h \ |
103 |
|
|
../../../share/epicsH/alarm.h ../../../share/epicsH/choice.h \ |
104 |
|
|
../../../share/epicsH/choiceGbl.h ../../../share/epicsH/cadef.h \ |
105 |
|
|
../../../share/epicsH/db_access.h ../../../share/epicsH/tsDefs.h \ |
106 |
|
|
../../../share/epicsH/errMdef.h ../../../share/epicsH/db_addr.h \ |
107 |
|
|
../../../share/epicsH/dbAddr.h ../../../share/epicsH/agentErrs.h \ |
108 |
|
|
../../../share/epicsH/tisAlarm.h |
109 |
|
|
imsWrite.o: ../../../share/src/ims/imsWrite.c ../../../share/src/ims/ims.h \ |
110 |
|
|
/usr/include/stdio.h /usr/include/sys/feature_tests.h \ |
111 |
|
|
/usr/include/stdlib.h /usr/include/sys/types.h /usr/include/sys/isa_defs.h \ |
112 |
|
|
/usr/include/sys/machtypes.h /usr/include/sys/select.h \ |
113 |
|
|
/usr/include/sys/time.h /usr/include/time.h /usr/include/sys/param.h \ |
114 |
|
|
/usr/include/sys/unistd.h /usr/include/memory.h /usr/include/signal.h \ |
115 |
|
|
/usr/include/sys/signal.h /usr/include/string.h \ |
116 |
|
|
../../../share/epicsH/dataTypes.h ../../../share/epicsH/dbDefs.h \ |
117 |
|
|
../../../share/epicsH/dbRecType.h ../../../share/epicsH/dbRecDes.h \ |
118 |
|
|
../../../share/epicsH/dbRecords.h ../../../share/epicsH/avl.h \ |
119 |
|
|
../../../share/epicsH/alarm.h ../../../share/epicsH/choice.h \ |
120 |
|
|
../../../share/epicsH/choiceGbl.h ../../../share/epicsH/cadef.h \ |
121 |
|
|
../../../share/epicsH/db_access.h ../../../share/epicsH/tsDefs.h \ |
122 |
|
|
../../../share/epicsH/errMdef.h ../../../share/epicsH/db_addr.h \ |
123 |
|
|
../../../share/epicsH/dbAddr.h ../../../share/epicsH/agentErrs.h \ |
124 |
|
|
../../../share/epicsH/tisAlarm.h |