Whamcloud - gitweb
* lctl set_route <nid> <up/down> enables or disables particular portals
[fs/lustre-release.git] / lustre / utils / Makefile.am
index 3ec0fbc..d09ecc2 100644 (file)
@@ -1,12 +1,23 @@
+# Administration utilities Makefile
 DEFS=
+SUBDIRS = Lustre
 
-CFLAGS:=-g -I. -I/usr/include/libxml2 -I/usr/include/glib-1.2 -I$(PORTALS)/include \
--I/usr/lib/glib/include -I$(srcdir)/../include -Wall
+CFLAGS:=-g -O2 -I$(top_srcdir)/utils -I$(top_srcdir)/portals/include  -I$(srcdir)/../include -Wall -L../portals/utils
 KFLAGS:=
-CPPFLAGS =
-LDADD := -lreadline -lncurses -lxml2 # -lefence
-sbin_PROGRAMS = obdctl lctl 
-obdctl_SOURCES = parser.c obdctl.c parser.h
-lctl_SOURCES = parser.c network.c device.c debug.c lctl.c lctl.h parser.h
+CPPFLAGS = $(HAVE_LIBREADLINE)
+lctl_LDADD := $(LIBREADLINE) -lptlctl
+lload_LDADD := -lptlctl
+bin_PROGRAMS = lfind lstripe
+sbin_PROGRAMS = lctl obdio obdbarrier lload wirecheck
+sbin_SCRIPTS = lconf lmc llanalyze llstat.pl llobdstat.pl lactive load_ldap.sh
+wirecheck_SOURCES = wirecheck.c
+lctl_SOURCES = parser.c obd.c lctl.c parser.h obdctl.h
+lload_SOURCES = lload.c 
+obdio_SOURCES = obdio.c obdiolib.c obdiolib.h
+obdbarrier_SOURCES = obdbarrier.c obdiolib.c obdiolib.h
+lfind_SOURCES = lfind.c
+lstripe_SOURCES = lstripe.c
+lfind_CPPFLAGS = -D_XOPEN_SOURCE=500
+EXTRA_DIST = $(sbin_SCRIPTS)
 
 include $(top_srcdir)/Rules