Whamcloud - gitweb
Land b1_2_smallfix onto b1_2 (20040616_1009)
[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 libuptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
13 libuptlctl_a_CPPFLAGS = $(LLCPPFLAGS)
14 libuptlctl_a_CFLAGS = $(LLCFLAGS)
15 endif
16
17 if UTILS
18 sbin_PROGRAMS = acceptor ptlctl debugctl routerstat wirecheck gmnalnid
19 lib_LIBRARIES = libptlctl.a
20 endif
21
22 acceptor_SOURCES = acceptor.c
23
24 wirecheck_SOURCES = wirecheck.c
25
26 libptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
27
28 gmnalnid_SOURCES = gmnalnid.c
29
30 ptlctl_SOURCES = ptlctl.c
31 ptlctl_LDADD =  -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
32 ptlctl_DEPENDENCIES = libptlctl.a
33
34 debugctl_SOURCES = debugctl.c
35 debugctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
36 debugctl_DEPENDENCIES = libptlctl.a
37
38 routerstat_SOURCES = routerstat.c