diff options
Diffstat (limited to 'usr')
-rw-r--r-- | usr/Makefile | 7 | ||||
-rw-r--r-- | usr/discovery.c | 6 | ||||
-rw-r--r-- | usr/discoveryd.c | 8 | ||||
-rw-r--r-- | usr/iscsiadm.c | 2 |
4 files changed, 11 insertions, 12 deletions
diff --git a/usr/Makefile b/usr/Makefile index e23fee1..5ac0726 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -30,8 +30,7 @@ endif CFLAGS ?= -O2 -g WARNFLAGS ?= -Wall -Wstrict-prototypes -CFLAGS += $(WARNFLAGS) -I../include -I. -I../utils/open-isns \ - -D$(OSNAME) $(IPC_CFLAGS) +CFLAGS += $(WARNFLAGS) -I../include -I. -D$(OSNAME) $(IPC_CFLAGS) PROGRAMS = iscsid iscsiadm iscsistart # libc compat files @@ -55,10 +54,10 @@ all: $(PROGRAMS) iscsid: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \ iscsid.o session_mgmt.o discoveryd.o - $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lrt -lmount + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto -lrt -lmount iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o - $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns + $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \ iscsistart.o statics.o diff --git a/usr/discovery.c b/usr/discovery.c index 38968ca..43c2359 100644 --- a/usr/discovery.c +++ b/usr/discovery.c @@ -50,9 +50,9 @@ #include "iscsi_timer.h" #include "iscsi_err.h" /* libisns includes */ -#include "isns.h" -#include "paths.h" -#include "message.h" +#include <libisns/isns.h> +#include <libisns/paths.h> +#include <libisns/message.h> #ifdef SLP_ENABLE #include "iscsi-slp-discovery.h" diff --git a/usr/discoveryd.c b/usr/discoveryd.c index 1e14977..f5359c7 100644 --- a/usr/discoveryd.c +++ b/usr/discoveryd.c @@ -40,11 +40,11 @@ #include "iface.h" #include "session_mgmt.h" #include "session_info.h" -#include "isns-proto.h" -#include "isns.h" -#include "paths.h" -#include "message.h" #include "iscsi_err.h" +#include <libisns/isns-proto.h> +#include <libisns/isns.h> +#include <libisns/paths.h> +#include <libisns/message.h> #define DISC_DEF_POLL_INVL 30 diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c index aa7cf07..692981d 100644 --- a/usr/iscsiadm.c +++ b/usr/iscsiadm.c @@ -49,7 +49,7 @@ #include "idbm_fields.h" #include "session_mgmt.h" #include "iscsid_req.h" -#include "isns-proto.h" +#include <libisns/isns-proto.h> #include "iscsi_err.h" #include "iscsi_ipc.h" #include "iscsi_timer.h" |