Whamcloud - gitweb
land b_smallfix 20040407_1414:
[fs/lustre-release.git] / lustre / utils / Makefile.am
1 # Administration utilities Makefile
2
3 SUBDIRS = Lustre
4
5 AM_CFLAGS=$(LLCFLAGS)
6 AM_CPPFLAGS=$(LLCPPFLAGS)
7 AM_LDFLAGS := -L$(top_builddir)/portals/utils
8
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
17 bin_PROGRAMS = lfs
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
26 lfs_SOURCES = lfs.c 
27 llmount_SOURCES = llmount.c 
28 llmount_LDADD = $(LIBREADLINE) -lptlctl
29
30 if LIBLUSTRE
31 sbin_SCRIPTS += lrun
32 endif
33
34 EXTRA_DIST = $(bin_SCRIPTS) $(sbin_SCRIPTS)
35
36 # NOTE: this should only be run on i386.
37 newwiretest: wirehdr.c wirecheck
38         cp wirehdr.c wiretest.c
39         ./wirecheck >> wiretest.c
40
41 mount.lustre$(EXEEXT): llmount
42         cp $< $@