Whamcloud - gitweb
land v0.9.1 on HEAD, in preparation for a 1.0.x branch
[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 lfs 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 lib_LIBRARIES = liblustreapi.a
17 liblustreapi_a_SOURCES = liblustreapi.c
18 wirecheck_SOURCES = wirecheck.c
19 wiretest_SOURCES = wiretest.c
20 lctl_SOURCES = parser.c obd.c lustre_cfg.c lctl.c parser.h obdctl.h
21 lload_SOURCES = lload.c 
22 obdio_SOURCES = obdio.c obdiolib.c obdiolib.h
23 obdbarrier_SOURCES = obdbarrier.c obdiolib.c obdiolib.h
24 lfs_SOURCES = lfs.c 
25 llmount_SOURCES = llmount.c 
26 llmount_LDADD = -lptlctl
27
28 EXTRA_DIST = $(bin_SCRIPTS) $(sbin_SCRIPTS)
29
30 include $(top_srcdir)/Rules
31
32 # NOTE: this should only be run on i386.
33 newwiretest: wirehdr.c wirecheck
34         cp wirehdr.c wiretest.c
35         ./wirecheck >> wiretest.c
36
37 mount.lustre$(EXEEXT): llmount
38         cp llmount mount.lustre