Whamcloud - gitweb
land b_eq on HEAD
[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 COMPILE = $(CC) -Wall -g -I$(srcdir)/../include
7 LINK = $(CC) -o $@
8
9 if LIBLUSTRE
10
11 noinst_LIBRARIES = libuptlctl.a
12 libuptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
13 libuptlctl_a_CFLAGS = -fPIC
14
15 else
16
17 sbin_PROGRAMS = acceptor ptlctl debugctl routerstat wirecheck gmnalnid
18 lib_LIBRARIES = libptlctl.a
19
20 acceptor_SOURCES = acceptor.c # -lefence
21
22 wirecheck_SOURCES = wirecheck.c
23
24 libptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
25
26 gmnalnid_SOURCES = gmnalnid.c
27
28 ptlctl_SOURCES = ptlctl.c
29 ptlctl_LDADD =  -L. -lptlctl -lncurses # -lefence
30 ptlctl_DEPENDENCIES = libptlctl.a
31
32 debugctl_SOURCES = debugctl.c
33 debugctl_LDADD = -L. -lptlctl -lncurses # -lefence
34 debugctl_DEPENDENCIES = libptlctl.a
35
36 routerstat_SOURCES = routerstat.c
37 endif