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

Contents of /sun2.4/alarm/alarmTalk/Makefile

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


Revision 1.6 - (show annotations)
Fri Sep 24 13:01:22 1999 UTC (23 years, 4 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.5: +1 -0 lines
added decTalkPhonetics.lst to install - Steel

1 CC = gcc -inostdinc -I/usr/include -I/usr/include/sys -I/usr/include/netinet\
2 -DSOLARIS -DUSECB63
3 CFLAGS = -c -g -Wunused
4
5 RM = rm -f
6
7 TOP = ../../../..
8 SHAREPATH = $(TOP)/share
9 SRCPATH = $(TOP)/share/src
10 ALARMPATH = $(SRCPATH)/alarm
11 SRC = $(TOP)/share/src/alarm/alarmTalk
12
13 CODEBASEPATH = /tools/codebase63/source
14
15 INCLUDES = \
16 -I$(SRC) \
17 -I$(SHAREPATH)/epicsH \
18 -I$(ALARMPATH) \
19 -I$(CODEBASEPATH) \
20 -I$(SRCPATH)/libtis \
21 -I$(SRCPATH)/dataVuCC \
22 -I$(SRCPATH)/alarmVuCC \
23 -I$/usr/openwin/include \
24 -I$/usr/dt/include
25
26 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
27
28 LIBS = \
29 ../../bin/libtis.a \
30 $(CODEBASEPATH)/libcb.a \
31 ../../bin/libca.a \
32 ../../bin/libtlm.a \
33 ../../bin/tisMsgLib.a
34
35 LIBDIRS = -L/usr/dt/lib -L/usr/openwin/lib
36
37 XSYSLIBS = -lXm -lMrm -lXmu -lXt -lXext -lX -lgen
38
39 SRCS = \
40 $(SRC)/alarmTalk.c \
41 $(SRC)/alarmTalkIO.c \
42 $(SRC)/sendAlarmTalkMsgs.c \
43 $(SRC)/atvMain.c \
44 $(SRC)/atvEdit.c \
45 $(SRC)/atvDatabase.c \
46 $(SRC)/atvUtils.c \
47 $(ALARMPATH)/utils/alarmLib.c
48
49 ALARMLIBOBJ = ../utils/alarmLib.o
50
51 TALKOBJS = \
52 alarmTalk.o \
53 alarmTalkIO.o \
54 sendAlarmTalkMsgs.o
55
56 VIEWOBJS = \
57 atvMain.o \
58 atvEdit.o \
59 atvDatabase.o \
60 atvUtils.o
61
62 OBJS = $(TALKOBJS) $(VIEWOBJS)
63
64 all : depend alarmTalk atView
65
66 alarmTalk : $(TALKOBJS) $(ALARMLIBOBJ) $(LIBS)
67 $(RM) alarmTalk
68 $(CC) -o alarmTalk $(TALKOBJS) $(ALARMLIBOBJ) \
69 $(LIBS) -lm -lsocket -lnsl
70
71 atView : $(VIEWOBJS) $(LIBS)
72 $(RM) atView
73 $(CC) -o atView $(VIEWOBJS) $(LIBS) $(LIBDIRS) $(XSYSLIBS) -lm
74
75 alarmTalk.o : $(SRC)/alarmTalk.c
76 $(RM) alarmTalk.o
77 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/alarmTalk.c
78
79 sendAlarmTalkMsgs.o : $(SRC)/sendAlarmTalkMsgs.c
80 $(RM) sendAlarmTalkMsgs.o
81 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/sendAlarmTalkMsgs.c
82
83 alarmTalkIO.o : $(SRC)/alarmTalkIO.c
84 $(RM) alarmTalkIO.o
85 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/alarmTalkIO.c
86
87 ../utils/alarmLib.o : $(ALARMPATH)/utils/alarmLib.c
88 cd ../utils; make alarmLib.o
89
90 atvMain.o : $(SRC)/atvMain.c
91 $(RM) atvMain.o
92 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/atvMain.c
93
94 atvEdit.o : $(SRC)/atvEdit.c
95 $(RM) atvEdit.o
96 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/atvEdit.c
97
98 atvDatabase.o : $(SRC)/atvDatabase.c
99 $(RM) atvDatabase.o
100 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/atvDatabase.c
101
102 atvUtils.o : $(SRC)/atvUtils.c
103 $(RM) atvUtils.o
104 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/atvUtils.c
105
106 install:
107 cp -p alarmTalk ../../bin
108 cp -p atView ../../bin
109 cp -p $(SRC)/decTalkPhonetics.lst ../../bin
110
111 clean:
112 $(RM) $(OBJS)
113 $(RM) alarmTalk
114 $(RM) atView
115 $(RM) Makefile.depend
116
117 #
118 # Uses EPICSmake depend to create dependencies
119 #
120
121 depend: Makefile.depend
122
123 Makefile.depend: $(SRCS) Makefile
124 $(RM) Makefile.depend
125 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
126
127 include Makefile.depend
128

  ViewVC Help
Powered by ViewVC 1.1.28