Revision 76f79162 xseg/sys/user/Makefile

b/xseg/sys/user/Makefile
63 63
	make -C xobj all
64 64
	make -C xworkq all
65 65
	make -C xwaitq all
66
	make -C xcache all
66 67

  
67 68
COMMA=,
68 69
_initialize.c: drivers
......
127 128
xwaitq/xwaitq.pic.o:
128 129
	make -C xwaitq xwaitq.pic.o
129 130

  
131
xcache/xcache.o:
132
	make -C xcache xcache.o
133

  
134
xcache/xcache.pic.o:
135
	make -C xcache xcache.pic.o
136

  
130 137
xseg_user.o: xseg_user.c
131 138
	$(CC) $(CFLAGS) $(INC) -Wall -O2 -finline-functions -fPIC -c -o $@ $<
132 139

  
133 140
libxseg.map: $(BASE)/xtypes/xq_exports.h $(BASE)/xseg/xseg_exports.h \
134 141
		$(BASE)/xtypes/xpool_exports.h $(BASE)/xtypes/xhash_exports.h\
135 142
		$(BASE)/xtypes/xobj_exports.h $(BASE)/xtypes/xworkq_exports.h\
136
		$(BASE)/xtypes/xwaitq_exports.h
143
		$(BASE)/xtypes/xwaitq_exports.h $(BASE)/xtypes/xcache_exports.h
137 144
	cat $(BASE)/xtypes/xq_exports.h $(BASE)/xseg/xseg_exports.h \
138 145
		$(BASE)/xtypes/xpool_exports.h $(BASE)/xtypes/xhash_exports.h \
139 146
		$(BASE)/xtypes/xobj_exports.h $(BASE)/xtypes/xworkq_exports.h \
140
		$(BASE)/xtypes/xwaitq_exports.h | ./make_symbol_map.sh > $@
147
		$(BASE)/xtypes/xwaitq_exports.h $(BASE)/xtypes/xcache_exports.h \
148
		| ./make_symbol_map.sh > $@
141 149

  
142 150
libxseg.so.$(MAJOR).$(MINOR): xseg.pic.o xseg_user.o libxseg.map \
143 151
				 xq/xq.pic.o xpool/xpool.pic.o xhash/xhash.pic.o \
144 152
				 xheap/xheap.pic.o xobj/xobj.pic.o \
145
				 xworkq/xworkq.pic.o xwaitq/xwaitq.pic.o $(DRVOBJS)
153
				 xworkq/xworkq.pic.o xwaitq/xwaitq.pic.o \
154
				 xcache/xcache.pic.o $(DRVOBJS)
146 155
	$(CC) $(CFLAGS) -shared \
147 156
                        -Wl,-soname=libxseg.so.$(MAJOR) \
148 157
                        -o libxseg.so.$(MAJOR).$(MINOR) \
......
150 159
			xpool/xpool.pic.o xhash/xhash.pic.o\
151 160
			xheap/xheap.pic.o xobj/xobj.pic.o \
152 161
			xworkq/xworkq.pic.o xwaitq/xwaitq.pic.o \
162
			xcache/xcache.pic.o \
153 163
			 _initialize.o $(DRVOBJS) \
154 164
                        -Wl,--version-script=libxseg.map \
155 165
                        -ldl -lrt -pthread
......
176 186
	make -C xobj install-src
177 187
	make -C xworkq install-src
178 188
	make -C xwaitq install-src
189
	make -C xcache install-src
179 190
	make -C python install-src
180 191
	install -d $(DESTDIR)$(srcdir)$(SUBDIR) ;
181 192
	@for f in $(FILES) ; do \
......
194 205
	make -C xobj clean
195 206
	make -C xworkq clean
196 207
	make -C xwaitq clean
208
	make -C xcache clean
197 209
	make -C python clean
198 210
	rm -f _initialize.c _initialize.o
199 211
	rm -f xseg.o xseg.pic.o xseg_user.o

Also available in: Unified diff