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

Contents of /sun2.4/cau/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 20:44:48 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

1 CC = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -UvxWorks
2 CFLAGS = -g -c -Wunused
3 RM = rm -f
4
5 TOP = ../../..
6 SRC = $(TOP)/share/src/cau
7 LIBS = \
8 ../bin/libCom.a \
9 ../bin/libca.a \
10 ../bin/tisMsgLib.a
11
12 INCLUDES = \
13 -I$(TOP)/share/epicsH
14
15 ALLDEFINES = $(INCLUDES)
16
17 SRCS = \
18 $(SRC)/cau.c
19
20 OBJS = \
21 cau.o
22
23 all:: depend cau
24
25 cau: $(OBJS) $(LIBS)
26 $(RM) cau
27 $(CC) -o cau $(OBJS) \
28 $(LIBS) -lm -ldl -lsocket -lnsl
29
30 cau.o: $(SRC)/cau.c
31 $(RM) cau.o
32 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/cau.c
33
34 clean:
35 $(RM) cau
36 $(RM) $(OBJS)
37 $(RM) Makefile.depend
38
39 install:
40 cp -p cau ../bin
41 @cd $(TOP)/share/bin; $(RM) cau; ln -s unixTools cau
42
43 depend: Makefile.depend
44
45 Makefile.depend: $(SRCS) Makefile
46 $(RM) Makefile.depend
47 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
48
49 include Makefile.depend
50

  ViewVC Help
Powered by ViewVC 1.1.28