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

Annotation of /sun2.4/cau/Makefile

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


Revision 1.2 - (hide annotations)
Tue Aug 17 18:34:17 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +7 -32 lines
08-17-99	ems	added target depend, which creates Makefile.depend
			since the dependancies are differant from machine to
			machine, not having the dependancies in the Makefile
			will not confuse CVS

1 tis4000 1.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 tis4000 1.2 all:: depend cau
24 tis4000 1.1
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 tis4000 1.2 $(RM) Makefile.depend
38 tis4000 1.1
39     install:
40     cp -p cau ../bin
41     @cd $(TOP)/share/bin; $(RM) cau; ln -s unixTools cau
42    
43 tis4000 1.2 depend: Makefile.depend
44 tis4000 1.1
45 tis4000 1.2 Makefile.depend: $(SRCS)
46     $(RM) Makefile.depend
47     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
48 tis4000 1.1
49 tis4000 1.2 include Makefile.depend
50 tis4000 1.1

  ViewVC Help
Powered by ViewVC 1.1.30