Whamcloud - gitweb
19007ddf3db6f62062430154661850080e29f55c
[fs/lustre-release.git] / lnet / utils / Makefile.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 ## $(srcdir)/../ for <portals/*.h>, ../../ for generated <config.h>
7 #COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include
8 #LINK = $(CC) -o $@
9
10 if LIBLUSTRE
11 noinst_LIBRARIES = libuptlctl.a
12 endif
13
14 libuptlctl_a_SOURCES = portals.c debug.c l_ioctl.c
15 libuptlctl_a_CPPFLAGS = $(LLCPPFLAGS)
16 libuptlctl_a_CFLAGS = $(LLCFLAGS)
17
18 sbin_PROGRAMS = debugctl
19
20 lib_LIBRARIES = libptlctl.a
21
22 libptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
23
24 if UTILS
25 if !CRAY_PORTALS
26 sbin_PROGRAMS += acceptor ptlctl routerstat wirecheck 
27 endif
28 endif
29
30 acceptor_SOURCES = acceptor.c
31 acceptor_LDADD = $(LIBWRAP)
32
33 wirecheck_SOURCES = wirecheck.c
34
35 gmnalnid_SOURCES = gmnalnid.c
36
37 ptlctl_SOURCES = ptlctl.c
38 ptlctl_LDADD =  -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
39 ptlctl_DEPENDENCIES = libptlctl.a
40
41 routerstat_SOURCES = routerstat.c
42
43 debugctl_SOURCES = debugctl.c
44 debugctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
45 debugctl_DEPENDENCIES = libptlctl.a
46