Whamcloud - gitweb
Remove no-longer-needed inode operations (they previously had extN EA VFS
[fs/lustre-release.git] / lustre / ost / Makefile.am
index 31965cb..4189e5f 100644 (file)
@@ -3,14 +3,21 @@
 # This code is issued under the GNU General Public License.
 # See the file COPYING in this distribution
 
+DEFS:= 
 MODULE = ost
 modulefs_DATA = ost.o
 EXTRA_PROGRAMS = ost
 
+LINX=page.c obd_pack.c
 obd_pack.c: 
-       ln -s ../lib/obd_pack.c .
+       test -e obd_pack.c || ln -sf $(top_srcdir)/lib/obd_pack.c
 
-ost_SOURCES = obd_pack.c handler.c 
+page.c:
+       test -e page.c || ln -sf $(top_srcdir)/lib/page.c
+
+ost_SOURCES = $(LINX) ost_handler.c
+dist-hook:
+       list='$(LINX)'; for f in $$list; do rm -f $(distdir)/$$f; done
 
 include $(top_srcdir)/Rules