Whamcloud - gitweb
* Landed b_cray_portals_merge (3148, 3158)
[fs/lustre-release.git] / lustre / portals / 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
13 libuptlctl_a_CPPFLAGS = $(LLCPPFLAGS)
14 libuptlctl_a_CFLAGS = $(LLCFLAGS)
15 endif
16
17 sbin_PROGRAMS = debugctl
18
19 lib_LIBRARIES = libptlctl.a
20
21 libptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
22
23 if !CRAY_PORTALS
24 sbin_PROGRAMS += acceptor ptlctl routerstat wirecheck gmnalnid
25
26 acceptor_SOURCES = acceptor.c
27
28 wirecheck_SOURCES = wirecheck.c
29
30 gmnalnid_SOURCES = gmnalnid.c
31
32 ptlctl_SOURCES = ptlctl.c
33 ptlctl_LDADD =  -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
34 ptlctl_DEPENDENCIES = libptlctl.a
35
36 routerstat_SOURCES = routerstat.c
37 endif
38
39 debugctl_SOURCES = debugctl.c
40 debugctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
41 debugctl_DEPENDENCIES = libptlctl.a
42