Whamcloud - gitweb
- disable obdctl from being built; use lctl now
[fs/lustre-release.git] / lustre / utils / Makefile.am
index 3ec0fbc..fe857ac 100644 (file)
@@ -1,11 +1,13 @@
+# Administration utilities Makefile
 DEFS=
 
-CFLAGS:=-g -I. -I/usr/include/libxml2 -I/usr/include/glib-1.2 -I$(PORTALS)/include \
+CFLAGS:=-g -O2 -I. -I/usr/include/libxml2 -I/usr/include/glib-1.2 -I$(PORTALS)/include \
 -I/usr/lib/glib/include -I$(srcdir)/../include -Wall
 KFLAGS:=
-CPPFLAGS =
-LDADD := -lreadline -lncurses -lxml2 # -lefence
-sbin_PROGRAMS = obdctl lctl 
+CPPFLAGS = $(HAVE_LIBREADLINE)
+obdctl_LDADD := $(LIBREADLINE) -lxml2 # -lefence
+lctl_LDADD := $(LIBREADLINE)
+sbin_PROGRAMS = 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