Whamcloud - gitweb
LU-1481 build: quiet warnings due to := assignment
[fs/lustre-release.git] / lustre / obdclass / autoMakefile.am
index 7a6fdce..7b01cfb 100644 (file)
@@ -1,17 +1,19 @@
-SUBDIRS := linux
+SUBDIRS = linux
 if DARWIN
 SUBDIRS += darwin
 endif
-DIST_SUBDIRS := $(SUBDIRS)
+DIST_SUBDIRS = linux darwin
 
 if LIBLUSTRE
-
+INCLUDES = -I$(SYSIO)/include
 noinst_LIBRARIES = liblustreclass.a
-liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c mea.c uuid.c 
-liblustreclass_a_SOURCES += lustre_handles.c lustre_peer.c lprocfs_status.c class_hash.c
+liblustreclass_a_SOURCES = class_obd.c debug.c genops.c statfs_pack.c mea.c uuid.c
+liblustreclass_a_SOURCES += lustre_handles.c lustre_peer.c lprocfs_status.c
 liblustreclass_a_SOURCES += obdo.c obd_config.c llog.c llog_obd.c llog_cat.c 
 liblustreclass_a_SOURCES += llog_lvfs.c llog_swab.c capa.c
-liblustreclass_a_SOURCES += prng.c #llog_ioctl.c rbtree.c
+liblustreclass_a_SOURCES += lu_object.c cl_object.c lu_time.c lu_ref.c
+liblustreclass_a_SOURCES += cl_page.c cl_lock.c cl_io.c lprocfs_jobstats.c
+liblustreclass_a_SOURCES += #llog_ioctl.c rbtree.c
 liblustreclass_a_CPPFLAGS = $(LLCPPFLAGS)
 liblustreclass_a_CFLAGS = $(LLCFLAGS)
 
@@ -26,23 +28,23 @@ noinst_DATA = llog_test$(KMODEXT)
 endif # LINUX
 
 if DARWIN
-macos_PROGRAMS := obdclass
+macos_PROGRAMS = obdclass
 
-obdclass_SOURCES := \
-        darwin/darwin-module.c darwin/darwin-sysctl.c          \
-        class_obd.c genops.c lprocfs_status.c                  \
-        lustre_handles.c lustre_peer.c obd_config.c            \
-        obdo.c debug.c llog_ioctl.c uuid.c prng.c               \
-        llog_swab.c llog_obd.c llog.c llog_cat.c llog_lvfs.c    \
-        mea.c lu_object.c dt_object.c hash.c
+obdclass_SOURCES =                                             \
+       darwin/darwin-module.c darwin/darwin-sysctl.c           \
+       class_obd.c genops.c lprocfs_status.c                   \
+       lustre_handles.c lustre_peer.c obd_config.c             \
+       obdo.c debug.c llog_ioctl.c uuid.c                      \
+       llog_swab.c llog_obd.c llog.c llog_cat.c llog_lvfs.c    \
+       mea.c lu_object.c dt_object.c lu_ref.c
 
 obdclass_CFLAGS := $(EXTRA_KCFLAGS)
 obdclass_LDFLAGS := $(EXTRA_KLDFLAGS)
 obdclass_LDADD := $(EXTRA_KLIBS)
 
-plist_DATA := Info.plist
+plist_DATA = Info.plist
 
-install_data_hook := fix-kext-ownership
+install_data_hook = fix-kext-ownership
 
 endif # DARWIN
 
@@ -52,4 +54,3 @@ install-data-hook: $(install_data_hook)
 
 MOSTLYCLEANFILES := @MOSTLYCLEANFILES@  llog-test.c
 MOSTLYCLEANFILES += linux/*.o darwin/*.o
-DIST_SOURCES = $(filter-out llog-test.c,$(obdclass-all-objs:.o=.c)) $(llog-test-objs:.o=.c) llog_test.c llog_internal.h