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