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

Contents of /sun2.4/diagTools/Makefile

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


Revision 1.2 - (show annotations)
Thu Mar 9 19:45:51 2000 UTC (23 years, 11 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, Duluth_baseline, HEAD
Changes since 1.1: +15 -6 lines
added pointgen program - Steel

1 GCC = gcc -inostdinc -g -DUNIX -DSOLARIS
2 CFLAGS = -c -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SRC = $(TOP)/share/src/diagTools
8 INCLUDES = \
9 -I$(SRC) \
10 -I$(TOP)/share/epicsH \
11 -I$(TOP)/share/src/alarm \
12 -I$(TOP)/share/src/libtis \
13 -I/usr/include
14
15 STDLIBS = -lsocket -lnsl -lm
16
17 LIBS = ../bin/libca.a ../bin/libCom.a ../bin/libtis.a
18
19 SRCS = $(SRC)/alarmMon.c $(SRC)/trendMon.c $(SRC)/pointgen.c
20
21 OBJS = alarmMon.o trendMon.o pointgen.o
22
23 all: depend alarmMon trendMon pointgen
24
25 alarmMon: alarmMon.o
26 $(GCC) -o alarmMon alarmMon.o $(LIBS) $(STDLIBS)
27
28 trendMon: trendMon.o
29 $(GCC) -o trendMon trendMon.o $(LIBS) $(STDLIBS)
30
31 pointgen: pointgen.o
32 $(GCC) -o pointgen pointgen.o -ldl
33
34 alarmMon.o: $(SRC)/alarmMon.c
35 $(RM) alarmMon.o
36 $(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/alarmMon.c
37
38 trendMon.o: $(SRC)/trendMon.c
39 $(RM) trendMon.o
40 $(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/trendMon.c
41
42 pointgen.o: $(SRC)/pointgen.c
43 $(RM) pointgen.o
44 $(GCC) $(CFLAGS) $(INCLUDES) $(SRC)/pointgen.c
45
46 install: alarmMon trendMon pointgen
47 cp -p alarmMon ../bin
48 cp -p trendMon ../bin
49 cp -p pointgen ../bin
50 cp -p $(SRC)/PointGenerationUtility.README ../bin
51
52 clean:
53 $(RM) alarmMon
54 $(RM) trendMon
55 $(RM) pointgen
56 $(RM) $(OBJS)
57
58 depend: Makefile.depend
59
60 Makefile.depend : $(SRCS) Makefile
61 $(RM) Makefile.depend
62 gcc -M $(INCLUDES) -DSOLARIS $(SRCS) > Makefile.depend
63
64 include Makefile.depend

  ViewVC Help
Powered by ViewVC 1.1.30