#
#
-# 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/
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
install-data-hook: $(install_data_hook)
MOSTLYCLEANFILES := @MOSTLYCLEANFILES@
-DIST_SOURCES = $(obdecho-objs:%.o=%.c)