Whamcloud - gitweb
* support for toenal
[fs/lustre-release.git] / lustre / utils / Makefile.am
index 9778767..497fc75 100644 (file)
@@ -1,14 +1,15 @@
 # Administration utilities Makefile
 DEFS=
 
-CFLAGS:=-g -O2 -I. -I$(PORTALS)/include  -I$(srcdir)/../include -Wall\
- -L$(PORTALS)/linux/utils
+CFLAGS:=-g -O2 -I$(top_srcdir)/utils -I$(PORTALS)/include  -I$(srcdir)/../include -Wall -L$(PORTALSLIB)
 KFLAGS:=
 CPPFLAGS = $(HAVE_LIBREADLINE)
 obdctl_LDADD := $(LIBREADLINE)
 lctl_LDADD := $(LIBREADLINE) -lptlctl
 sbin_PROGRAMS = lctl obdctl
-obdctl_SOURCES = parser.c obdctl.c obd.c parser.h
-lctl_SOURCES = parser.c obd.c lctl.c lctl.h parser.h
+sbin_SCRIPTS = lconf lmc
+obdctl_SOURCES = parser.c obdctl.c obd.c parser.h obdctl.h
+lctl_SOURCES = parser.c obd.c lctl.c parser.h
+EXTRA_DIST = $(sbin_SCRIPTS)
 
 include $(top_srcdir)/Rules