Whamcloud - gitweb
change lfs from /usr/sbin to /usr/bin
[fs/lustre-release.git] / lustre / utils / Makefile.am
1 # Administration utilities Makefile
2 DEFS=
3 SUBDIRS = Lustre
4
5 CFLAGS:=-g -O2 -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include  -I$(srcdir)/../include -Wall -L../portals/utils
6 KFLAGS:=
7 CPPFLAGS = $(HAVE_LIBREADLINE)
8 lctl_LDADD := $(LIBREADLINE) -lptlctl
9 lfs_LDADD := $(LIBREADLINE) parser.o liblustreapi.a -lptlctl obd.o
10 lload_LDADD := -lptlctl
11 rootsbin_SCRIPTS = mount.lustre
12 sbin_PROGRAMS = lctl obdio obdbarrier lload wirecheck wiretest llmount
13 sbin_SCRIPTS = lconf lmc llanalyze llstat.pl llobdstat.pl lactive load_ldap.sh lrun
14 sbin_SCRIPTS += lwizard
15 bin_SCRIPTS = lfind lstripe
16 bin_PROGRAMS = lfs
17 lib_LIBRARIES = liblustreapi.a
18 liblustreapi_a_SOURCES = liblustreapi.c
19 wirecheck_SOURCES = wirecheck.c
20 wiretest_SOURCES = wiretest.c
21 lctl_SOURCES = parser.c obd.c lustre_cfg.c lctl.c parser.h obdctl.h
22 lload_SOURCES = lload.c 
23 obdio_SOURCES = obdio.c obdiolib.c obdiolib.h
24 obdbarrier_SOURCES = obdbarrier.c obdiolib.c obdiolib.h
25 lfs_SOURCES = lfs.c 
26 llmount_SOURCES = llmount.c 
27 llmount_LDADD = -lptlctl
28
29 EXTRA_DIST = $(bin_SCRIPTS) $(sbin_SCRIPTS)
30
31 include $(top_srcdir)/Rules
32
33 # NOTE: this should only be run on i386.
34 newwiretest: wirehdr.c wirecheck
35         cp wirehdr.c wiretest.c
36         ./wirecheck >> wiretest.c
37
38 mount.lustre$(EXEEXT): llmount
39         cp llmount mount.lustre