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

Annotation of /sun2.4/dpaLibrary/Makefile

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


Revision 1.2 - (hide annotations)
Thu Aug 26 20:53:46 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.1: +9 -251 lines
added Makefile.depend target instead of EPICSmakedepend

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     SRCPATH = $(TOP)/share/src
8     SRC = $(TOP)/share/src/dpaLibrary
9    
10     CODEBASEPATH = /tools/codebase63/source
11    
12     INCLUDES = \
13     -I$(SRC) \
14     -I$(CODEBASEPATH) \
15     -I/usr/include/sys \
16     -I/usr/include/netinet \
17     -I$(TOP)/share/epicsH
18    
19     ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
20    
21     SRCS = \
22     $(SRC)/dpaInit.c \
23     $(SRC)/dpaEvent.c \
24     $(SRC)/dpaAttributes.c \
25     $(SRC)/dpaHandle.c \
26     $(SRC)/dpaWrite.c \
27     $(SRC)/dpaConfigure.c \
28     $(SRC)/dpaAgentField.c \
29     $(SRC)/dpaConvert.c \
30     $(SRC)/dpaAlarm.c \
31     $(SRC)/dpaFieldOps.c
32    
33     OBJS = \
34     dpaInit.o \
35     dpaEvent.o \
36     dpaAttributes.o \
37     dpaHandle.o \
38     dpaWrite.o \
39     dpaConfigure.o \
40     dpaAgentField.o \
41     dpaConvert.o \
42     dpaAlarm.o \
43     dpaFieldOps.o
44    
45 tis4000 1.2 all : depend dpaLibrary.a
46 tis4000 1.1
47     dpaLibrary.a : $(OBJS)
48     $(RM) dpaLibrary.a
49     ar crv dpaLibrary.a $(OBJS)
50     cp dpaLibrary.a ../bin
51    
52     dpaInit.o : $(SRC)/dpaInit.c
53     $(RM) dpaInit.o
54     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaInit.c
55    
56     dpaEvent.o : $(SRC)/dpaEvent.c
57     $(RM) dpaEvent.o
58     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaEvent.c
59    
60     dpaAttributes.o : $(SRC)/dpaAttributes.c
61     $(RM) dpa Atributes.o
62     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaAttributes.c
63    
64     dpaHandle.o : $(SRC)/dpaHandle.c
65     $(RM) dpaHandle.o
66     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaHandle.c
67    
68     dpaWrite.o : $(SRC)/dpaWrite.c
69     $(RM) dpaWrite.o
70     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaWrite.c
71    
72     dpaConfigure.o : $(SRC)/dpaConfigure.c
73     $(RM) dpaConfigure.o
74     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaConfigure.c
75    
76     dpaAgentField.o : $(SRC)/dpaAgentField.c
77     $(RM) dpaAgentField.o
78     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaAgentField.c
79    
80     dpaConvert.o : $(SRC)/dpaConvert.c
81     $(RM) dpaConvert.o
82     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaConvert.c
83    
84     dpaAlarm.o : $(SRC)/dpaAlarm.c
85     $(RM) dpaAlarm.o
86     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaAlarm.c
87    
88     dpaFieldOps.o : $(SRC)/dpaFieldOps.c
89     $(RM) dpafieldOps.o
90     $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/dpaFieldOps.c
91    
92    
93     install : dpaLibrary.a
94     cp dpaLibrary.a ../bin
95    
96     clean:
97     $(RM) dpaLibrary.a
98     $(RM) $(OBJS)
99    
100 tis4000 1.2 depend: Makefile.depend
101    
102     Makefile.depend : $(SRCS) Makefile
103     $(RM) Makefile.depend
104     $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
105    
106     include Makefile.depend
107    

  ViewVC Help
Powered by ViewVC 1.1.30