1 # Copyright (C) 2001 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
6 ## $(srcdir)/../ for <portals/*.h>, ../../ for generated <config.h>
7 #COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I../../include
11 noinst_LIBRARIES = libuptlctl.a
14 libuptlctl_a_SOURCES = portals.c debug.c l_ioctl.c
15 libuptlctl_a_CPPFLAGS = $(LLCPPFLAGS)
16 libuptlctl_a_CFLAGS = $(LLCFLAGS)
18 sbin_PROGRAMS = debugctl
20 lib_LIBRARIES = libptlctl.a
22 libptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
26 sbin_PROGRAMS += acceptor ptlctl routerstat wirecheck gmnalnid
30 acceptor_SOURCES = acceptor.c
31 acceptor_LDADD = $(LIBWRAP)
33 wirecheck_SOURCES = wirecheck.c
35 gmnalnid_SOURCES = gmnalnid.c
37 ptlctl_SOURCES = ptlctl.c
38 ptlctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
39 ptlctl_DEPENDENCIES = libptlctl.a
41 routerstat_SOURCES = routerstat.c
43 debugctl_SOURCES = debugctl.c
44 debugctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
45 debugctl_DEPENDENCIES = libptlctl.a