Whamcloud - gitweb
d08aa571a9fbe339ea1d24c737272a6f0987fc94
[fs/lustre-release.git] / lustre / obdecho / autoMakefile.am
1 # Copyright (C) 2001  Cluster File Systems, Inc.
2 #
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
5
6 if LIBLUSTRE
7 noinst_LIBRARIES = libobdecho.a
8 libobdecho_a_SOURCES = echo_client.c 
9 libobdecho_a_CPPFLAGS = $(LLCPPFLAGS)
10 libobdecho_a_CFLAGS = $(LLCFLAGS)
11 endif
12
13 if MODULES
14 if LINUX
15 modulefs_DATA = obdecho$(KMODEXT)
16 endif
17
18 if DARWIN
19 macos_PROGRAMS := obdecho
20 obdecho_SOURCES := \
21         lproc_echo.c \
22         echo.c \
23         echo_client.c
24
25 obdecho_CFLAGS := $(EXTRA_KCFLAGS)
26 obdecho_LDFLAGS := $(EXTRA_KLDFLAGS)
27 obdecho_LDADD := $(EXTRA_KLIBS)
28
29 plist_DATA := Info.plist
30
31 install_data_hook := fix-kext-ownership
32
33 endif # darwin
34
35 endif # MODULES
36
37 install-data-hook: $(install_data_hook)
38
39 MOSTLYCLEANFILES := @MOSTLYCLEANFILES@ 
40 DIST_SOURCES = $(obdecho-objs:%.o=%.c)