1 # Administration utilities Makefile
6 AM_CPPFLAGS=$(LLCPPFLAGS)
7 AM_LDFLAGS := -L$(top_builddir)/portals/utils
9 lctl_LDADD := $(LIBREADLINE) -lptlctl
10 lfs_LDADD := $(LIBREADLINE) parser.o liblustreapi.a -lptlctl obd.o
11 lload_LDADD := $(LIBREADLINE) -lptlctl
12 rootsbin_SCRIPTS = mount.lustre
13 sbin_PROGRAMS = lctl obdio obdbarrier lload wirecheck wiretest llmount
14 sbin_SCRIPTS = lconf lmc llanalyze llstat.pl llobdstat.pl lactive load_ldap.sh lrun
15 sbin_SCRIPTS += lwizard
16 bin_SCRIPTS = lfind lstripe
18 lib_LIBRARIES = liblustreapi.a
19 liblustreapi_a_SOURCES = liblustreapi.c
20 wirecheck_SOURCES = wirecheck.c
21 wiretest_SOURCES = wiretest.c
22 lctl_SOURCES = parser.c obd.c lustre_cfg.c lctl.c parser.h obdctl.h
23 lload_SOURCES = lload.c
24 obdio_SOURCES = obdio.c obdiolib.c obdiolib.h
25 obdbarrier_SOURCES = obdbarrier.c obdiolib.c obdiolib.h
27 llmount_SOURCES = llmount.c
28 llmount_LDADD = $(LIBREADLINE) -lptlctl
34 EXTRA_DIST = $(bin_SCRIPTS) $(sbin_SCRIPTS)
36 # NOTE: this should only be run on i386.
37 newwiretest: wirehdr.c wirecheck
38 cp wirehdr.c wiretest.c
39 ./wirecheck >> wiretest.c
41 mount.lustre$(EXEEXT): llmount