Whamcloud - gitweb
Updated makefile, added LprocFS, locking library support
authorthantry <thantry>
Thu, 5 Sep 2002 21:45:54 +0000 (21:45 +0000)
committerthantry <thantry>
Thu, 5 Sep 2002 21:45:54 +0000 (21:45 +0000)
lustre/obdclass/Makefile.am

index 322df7d..f38a01d 100644 (file)
@@ -2,6 +2,17 @@ DEFS=
 MODULE = obdclass
 modulefs_DATA = obdclass.o
 EXTRA_PROGRAMS = obdclass
-obdclass_SOURCES = debug.c genops.c proc_lustre.c class_obd.c sysctl.c uuid.c
+LINX=page.c debug.c l_lock.c 
+obdclass_SOURCES = genops.c proc_lustre.c class_obd.c sysctl.c uuid.c \
+                   lprocfs.c  $(LINX)
+
+debug.c: 
+       test -e debug.c || ln -sf $(top_srcdir)/lib/debug.c
+
+page.c: 
+       test -e page.c || ln -sf $(top_srcdir)/lib/page.c
+
+l_lock.c:
+       test -e l_lock.c || ln -sf $(top_srcdir)/lib/l_lock.c
 
 include $(top_srcdir)/Rules