Whamcloud - gitweb
LU-5162 mdc: Add exception entry check for radix_tree
[fs/lustre-release.git] / lustre / obdecho / autoMakefile.am
index bd83a99..1beff82 100644 (file)
 #
 
 #
-# Copyright  2008 Sun Microsystems, Inc. All rights reserved
+# Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2012, Intel Corporation.
+#
 
 #
 # This file is part of Lustre, http://www.lustre.org/
@@ -47,19 +49,21 @@ modulefs_DATA = obdecho$(KMODEXT)
 endif
 
 if DARWIN
-macos_PROGRAMS := obdecho
-obdecho_SOURCES := \
-        lproc_echo.c \
-        echo.c \
-        echo_client.c
+macos_PROGRAMS = obdecho
+obdecho_SOURCES =      \
+       echo_client.c
+
+if SERVER
+obdecho_SOURCES += echo.c
+endif
 
 obdecho_CFLAGS := $(EXTRA_KCFLAGS)
 obdecho_LDFLAGS := $(EXTRA_KLDFLAGS)
 obdecho_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
 
@@ -68,4 +72,3 @@ endif # MODULES
 install-data-hook: $(install_data_hook)
 
 MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ 
-DIST_SOURCES = $(obdecho-objs:%.o=%.c)