Whamcloud - gitweb
5abd1357b96141c5521908c40e3c9db96fb91830
[fs/lustre-release.git] / lnet / klnds / socklnd / 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 MODULES
7 if !CRAY_PORTALS
8
9 if LINUX
10 modulenet_DATA = ksocknal$(KMODEXT)
11 endif
12
13 if DARWIN
14 macos_PROGRAMS := ksocknal
15
16 ksocknal_SOURCES := socknal.c socknal_cb.c socknal_lib-darwin.c
17
18 ksocknal_CFLAGS := $(EXTRA_KCFLAGS)
19 ksocknal_LDFLAGS := $(EXTRA_KLDFLAGS)
20 ksocknal_LDADD := $(EXTRA_KLIBS)
21
22 plist_DATA := Info.plist
23
24 install_data_hook := fix-kext-ownership
25
26 endif
27
28 endif
29 endif
30
31 install-data-hook: $(install_data_hook)
32
33 EXTRA_DIST := Info.plist
34
35 MOSTLYCLEANFILES = *.o *.ko *.mod.c socknal_lib.c
36 DIST_SOURCES = $(ksocknal-objs:%.o=%.c) socknal_lib-darwin.c    \
37         socknal_lib-darwin.h socknal_lib-linux.h socknal.h