Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove hardcoded -lreadline
[fs/lustre-release.git]
/
lustre
/
utils
/
Makefile.am
diff --git
a/lustre/utils/Makefile.am
b/lustre/utils/Makefile.am
index
cfe358e
..
7d88405
100644
(file)
--- a/
lustre/utils/Makefile.am
+++ b/
lustre/utils/Makefile.am
@@
-1,9
+1,12
@@
-bin_SCRIPTS = obdcontrol
-EXTRA_DIST = $(bin_SCRIPTS)
+DEFS=
-CFLAGS:=-g -I. -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../include -Wall
+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:=
KFLAGS:=
-CPPFLAGS :=
-LDADD := -lreadline -ltermcap # -lefence
-bin_PROGRAMS = obdctl
-obdctl_SOURCES = parser.c obdctl.c
+CPPFLAGS =
+LDADD := -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
+
+include $(top_srcdir)/Rules