Whamcloud - gitweb
land 0.5.20.3 b_devel onto HEAD (b_devel will remain)
[fs/lustre-release.git] / lustre / osc / Makefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
6 DEFS=
7
8
9 if LIBLUSTRE
10 lib_LIBRARIES = libosc.a
11 LINX= obd_pack.c client.c
12 libosc_a_SOURCES = osc_request.c  $(LINX)
13 else
14 MODULE = osc
15 modulefs_DATA = osc.o
16 EXTRA_PROGRAMS = osc
17 LINX= obd_pack.c client.c
18 osc_SOURCES = osc_request.c lproc_osc.c $(LINX)
19 endif
20
21 obd_pack.c: 
22         test -e obd_pack.c || ln -sf $(top_srcdir)/lib/obd_pack.c
23 client.c: 
24         test -e client.c || ln -sf $(top_srcdir)/lib/client.c
25
26 dist-hook:
27         list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done
28
29 include $(top_srcdir)/Rules