Whamcloud - gitweb
15c1774b2b469c439a874347d9962cff405dd30c
[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 parser.c parser.h
13 libuptlctl_a_CPPFLAGS = $(LLCPPFLAGS)
14 libuptlctl_a_CFLAGS = $(LLCFLAGS)
15 endif
16
17 sbin_PROGRAMS = acceptor ptlctl debugctl routerstat wirecheck gmnalnid
18 lib_LIBRARIES = libptlctl.a
19
20 acceptor_SOURCES = acceptor.c
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 $(LIBREADLINE) $(LIBEFENCE)
30 ptlctl_DEPENDENCIES = libptlctl.a
31
32 debugctl_SOURCES = debugctl.c
33 debugctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
34 debugctl_DEPENDENCIES = libptlctl.a
35
36 routerstat_SOURCES = routerstat.c