/[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.4 - (show annotations)
Fri Sep 24 12:19:40 1999 UTC (23 years, 2 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline
Changes since 1.3: +0 -21 lines
removed install target, not needed - 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)/dataVuCC \
15 -I$(CODEBASEPATH)
16 ALLDEFINES = $(INCLUDES) -DUSECB63
17 DEFINES = -DUNIX -UvxWorks -DUSECB63
18 CFLAGS = -g -Wunused $(DEFINES) $(INCLUDES)
19
20 SRCS = \
21 $(SRC)/bldDbRecType.c $(SRC)/bldRecDef.c \
22 $(SRC)/bldDevSup.c $(SRC)/bldCvtTable.c \
23 $(SRC)/bldDrvSup.c $(SRC)/bldRecChoice.c \
24 $(SRC)/bldGblChoice.c $(SRC)/getSdrLine.c
25
26 OBJ = getSdrLine.o
27 OBJ7 = bldCvtTable.o $(OBJ)
28 OBJ6 = bldDrvSup.o $(OBJ)
29 OBJ5 = bldRecChoice.o $(OBJ)
30 OBJ4 = bldGblChoice.o $(OBJ)
31 OBJ3 = bldDevSup.o $(OBJ)
32 OBJ2 = bldRecDef.o $(OBJ)
33 OBJ1 = bldDbRecType.o $(OBJ)
34
35 UTILS = bldDbRecType bldRecDef bldDevSup bldCvtTable \
36 bldDrvSup bldRecChoice bldGblChoice
37
38 all:: depend $(UTILS)
39
40 bldDbRecType: $(OBJ1) $(DEPLIBS)
41 $(RM) [email protected]
42 $(CC) -o [email protected] $(OBJ1) $(LOCAL_LIBRARIES)
43
44 clean::
45 $(RM) bldDbRecType
46 $(RM) bldDbRecType.o
47
48 bldRecDef: $(OBJ2) $(DEPLIBS) $(LIBDIR)/dbLibrary.a $(CODEBASEPATH)/libcb.a
49 $(RM) [email protected]
50 $(CC) -o [email protected] $(OBJ2) \
51 $(LIBDIR)/dbLibrary.a \
52 $(LOCAL_LIBRARIES) \
53 $(CODEBASEPATH)/libcb.a -ldl -lm
54
55 clean::
56 $(RM) bldRecDef
57 $(RM) bldRecDef.o
58
59 bldDevSup: $(OBJ3) $(DEPLIBS)
60 $(RM) [email protected]
61 $(CC) -o [email protected] $(OBJ3) $(LOCAL_LIBRARIES)
62
63 clean::
64 $(RM) bldDevSup
65 $(RM) bldDevSup.o
66
67 bldGblChoice: $(OBJ4) $(DEPLIBS)
68 $(RM) [email protected]
69 $(CC) -o [email protected] $(OBJ4) $(LOCAL_LIBRARIES)
70
71 clean::
72 $(RM) bldGblChoice
73 $(RM) bldGblChoice.o
74
75 bldRecChoice: $(OBJ5) $(DEPLIBS)
76 $(RM) [email protected]
77 $(CC) -o [email protected] $(OBJ5) $(LOCAL_LIBRARIES)
78
79 clean::
80 $(RM) bldRecChoice
81 $(RM) bldRecChoice.o
82
83 bldDrvSup: $(OBJ6) $(DEPLIBS)
84 $(RM) [email protected]
85 $(CC) -o [email protected] $(OBJ6) $(LOCAL_LIBRARIES)
86
87 clean::
88 $(RM) bldDrvSup
89 $(RM) bldDrvSup.o
90
91 bldCvtTable: $(OBJ7) $(DEPLIBS)
92 $(RM) [email protected]
93 $(CC) -o [email protected] $(OBJ7) $(LOCAL_LIBRARIES)
94
95 clean::
96 $(RM) bldCvtTable
97 $(RM) bldCvtTable.o
98
99 getSdrLine.o: $(SRC)/getSdrLine.c
100 $(RM) [email protected]
101 $(CC) -c $(CFLAGS) $(SRC)/getSdrLine.c
102
103 clean::
104 $(RM) getSdrLine.o
105
106 bldCvtTable.o: $(SRC)/bldCvtTable.c
107 $(RM) [email protected]
108 $(CC) -c $(CFLAGS) $(SRC)/bldCvtTable.c
109
110 bldDrvSup.o: $(SRC)/bldDrvSup.c
111 $(RM) [email protected]
112 $(CC) -c $(CFLAGS) $(SRC)/bldDrvSup.c
113
114 bldRecChoice.o: $(SRC)/bldRecChoice.c
115 $(RM) [email protected]
116 $(CC) -c -g $(CFLAGS) $(SRC)/bldRecChoice.c
117
118 bldGblChoice.o: $(SRC)/bldGblChoice.c
119 $(RM) [email protected]
120 $(CC) -c $(CFLAGS) $(SRC)/bldGblChoice.c
121
122 bldDbRecType.o: $(SRC)/bldDbRecType.c
123 $(RM) [email protected]
124 $(CC) -c $(CFLAGS) $(SRC)/bldDbRecType.c
125
126 bldRecDef.o: $(SRC)/bldRecDef.c
127 $(RM) [email protected]
128 $(CC) -c $(CFLAGS) $(SRC)/bldRecDef.c
129
130 bldDevSup.o: $(SRC)/bldDevSup.c
131 $(RM) [email protected]
132 $(CC) -c $(CFLAGS) $(SRC)/bldDevSup.c
133
134 depend: Makefile.depend
135
136 Makefile.depend: $(SRCS) Makefile
137 $(RM) Makefile.depend
138 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
139
140 clean::
141 $(RM) Makefile.depend
142
143 include Makefile.depend
144

  ViewVC Help
Powered by ViewVC 1.1.28