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 # ../ for <portals/*.h>, ../../ for <config.h>
7 COMPILE = $(CC) -Wall -g -I$(srcdir)/../include -I$(srcdir)/../../include
12 noinst_LIBRARIES = libuptlctl.a
13 libuptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
14 libuptlctl_a_CFLAGS = -fPIC
18 sbin_PROGRAMS = acceptor ptlctl debugctl routerstat wirecheck gmnalnid
19 lib_LIBRARIES = libptlctl.a
21 acceptor_SOURCES = acceptor.c # -lefence
23 wirecheck_SOURCES = wirecheck.c
25 libptlctl_a_SOURCES = portals.c debug.c l_ioctl.c parser.c parser.h
27 gmnalnid_SOURCES = gmnalnid.c
29 ptlctl_SOURCES = ptlctl.c
30 ptlctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
31 ptlctl_DEPENDENCIES = libptlctl.a
33 debugctl_SOURCES = debugctl.c
34 debugctl_LDADD = -L. -lptlctl $(LIBREADLINE) $(LIBEFENCE)
35 debugctl_DEPENDENCIES = libptlctl.a
37 routerstat_SOURCES = routerstat.c