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

Contents of /sun2.4/bld/Makefile

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


Revision 1.5 - (show annotations)
Thu Mar 9 19:58:33 2000 UTC (23 years, 11 months ago) by tis4000
Branch: MAIN
CVS Tags: Duluth_baseline, LMC_baseline, HEAD
Changes since 1.4: +1 -0 lines
Added .../share/src/to the include define. - Steel

1 CC = gcc
2 RM = rm -f
3 TOP = ../../..
4 LIBDIR = ../bin
5 SRCROOT = $(TOP)/share/src
6 SRC = $(SRCROOT)/bld
7 DEPLIBS = $(LIBDIR)/libCom.a $(LIBDIR)/libUnix.a
8 LOCAL_LIBRARIES = $(DEPLIBS)
9 CODEBASEPATH = /tools/codebase63/source
10 INCLUDES = \
11 -I/usr/include \
12 -I$(SRC) \
13 -I$(TOP)/share/epicsH \
14 -I$(SRCROOT) \
15 -I$(SRCROOT)/dataVuCC \
16 -I$(CODEBASEPATH)
17 ALLDEFINES = $(INCLUDES) -DUSECB63
18 DEFINES = -DUNIX -UvxWorks -DUSECB63
19 CFLAGS = -g -Wunused $(DEFINES) $(INCLUDES)
20
21 SRCS = \
22 $(SRC)/bldDbRecType.c $(SRC)/bldRecDef.c \
23 $(SRC)/bldDevSup.c $(SRC)/bldCvtTable.c \
24 $(SRC)/bldDrvSup.c $(SRC)/bldRecChoice.c \
25 $(SRC)/bldGblChoice.c $(SRC)/getSdrLine.c
26
27 OBJ = getSdrLine.o
28 OBJ7 = bldCvtTable.o $(OBJ)
29 OBJ6 = bldDrvSup.o $(OBJ)
30 OBJ5 = bldRecChoice.o $(OBJ)
31 OBJ4 = bldGblChoice.o $(OBJ)
32 OBJ3 = bldDevSup.o $(OBJ)
33 OBJ2 = bldRecDef.o $(OBJ)
34 OBJ1 = bldDbRecType.o $(OBJ)
35
36 UTILS = bldDbRecType bldRecDef bldDevSup bldCvtTable \
37 bldDrvSup bldRecChoice bldGblChoice
38
39 all:: depend $(UTILS)
40
41 bldDbRecType: $(OBJ1) $(DEPLIBS)
42 $(RM) $@
43 $(CC) -o $@ $(OBJ1) $(LOCAL_LIBRARIES)
44
45 clean::
46 $(RM) bldDbRecType
47 $(RM) bldDbRecType.o
48
49 bldRecDef: $(OBJ2) $(DEPLIBS) $(LIBDIR)/dbLibrary.a $(CODEBASEPATH)/libcb.a
50 $(RM) $@
51 $(CC) -o $@ $(OBJ2) \
52 $(LIBDIR)/dbLibrary.a \
53 $(LOCAL_LIBRARIES) \
54 $(CODEBASEPATH)/libcb.a -ldl -lm
55
56 clean::
57 $(RM) bldRecDef
58 $(RM) bldRecDef.o
59
60 bldDevSup: $(OBJ3) $(DEPLIBS)
61 $(RM) $@
62 $(CC) -o $@ $(OBJ3) $(LOCAL_LIBRARIES)
63
64 clean::
65 $(RM) bldDevSup
66 $(RM) bldDevSup.o
67
68 bldGblChoice: $(OBJ4) $(DEPLIBS)
69 $(RM) $@
70 $(CC) -o $@ $(OBJ4) $(LOCAL_LIBRARIES)
71
72 clean::
73 $(RM) bldGblChoice
74 $(RM) bldGblChoice.o
75
76 bldRecChoice: $(OBJ5) $(DEPLIBS)
77 $(RM) $@
78 $(CC) -o $@ $(OBJ5) $(LOCAL_LIBRARIES)
79
80 clean::
81 $(RM) bldRecChoice
82 $(RM) bldRecChoice.o
83
84 bldDrvSup: $(OBJ6) $(DEPLIBS)
85 $(RM) $@
86 $(CC) -o $@ $(OBJ6) $(LOCAL_LIBRARIES)
87
88 clean::
89 $(RM) bldDrvSup
90 $(RM) bldDrvSup.o
91
92 bldCvtTable: $(OBJ7) $(DEPLIBS)
93 $(RM) $@
94 $(CC) -o $@ $(OBJ7) $(LOCAL_LIBRARIES)
95
96 clean::
97 $(RM) bldCvtTable
98 $(RM) bldCvtTable.o
99
100 getSdrLine.o: $(SRC)/getSdrLine.c
101 $(RM) $@
102 $(CC) -c $(CFLAGS) $(SRC)/getSdrLine.c
103
104 clean::
105 $(RM) getSdrLine.o
106
107 bldCvtTable.o: $(SRC)/bldCvtTable.c
108 $(RM) $@
109 $(CC) -c $(CFLAGS) $(SRC)/bldCvtTable.c
110
111 bldDrvSup.o: $(SRC)/bldDrvSup.c
112 $(RM) $@
113 $(CC) -c $(CFLAGS) $(SRC)/bldDrvSup.c
114
115 bldRecChoice.o: $(SRC)/bldRecChoice.c
116 $(RM) $@
117 $(CC) -c -g $(CFLAGS) $(SRC)/bldRecChoice.c
118
119 bldGblChoice.o: $(SRC)/bldGblChoice.c
120 $(RM) $@
121 $(CC) -c $(CFLAGS) $(SRC)/bldGblChoice.c
122
123 bldDbRecType.o: $(SRC)/bldDbRecType.c
124 $(RM) $@
125 $(CC) -c $(CFLAGS) $(SRC)/bldDbRecType.c
126
127 bldRecDef.o: $(SRC)/bldRecDef.c
128 $(RM) $@
129 $(CC) -c $(CFLAGS) $(SRC)/bldRecDef.c
130
131 bldDevSup.o: $(SRC)/bldDevSup.c
132 $(RM) $@
133 $(CC) -c $(CFLAGS) $(SRC)/bldDevSup.c
134
135 depend: Makefile.depend
136
137 Makefile.depend: $(SRCS) Makefile
138 $(RM) Makefile.depend
139 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
140
141 clean::
142 $(RM) Makefile.depend
143
144 include Makefile.depend
145

  ViewVC Help
Powered by ViewVC 1.1.30