Whamcloud - gitweb
Fix symlinks when building a new tree outside the source tree.
[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 MODULE = osc
9 modulefs_DATA = osc.o
10 EXTRA_PROGRAMS = osc
11
12 LINX= obd_pack.c 
13 osc_SOURCES =  obd_pack.c osc_request.c # super.c rw.c file.c dir.c sysctl.c super.c namei.c symlink.c
14
15 obd_pack.c: 
16         test -e obd_pack.c || ln -sf $(top_srcdir)/lib/obd_pack.c
17
18 dist-hook:
19         list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done
20
21 include $(top_srcdir)/Rules