projects
/
platform
/
upstream
/
multipath-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[lib] create read-only multipath if rw try failed
[platform/upstream/multipath-tools.git]
/
Makefile.inc
diff --git
a/Makefile.inc
b/Makefile.inc
index
37a0847
..
3e5bca0
100644
(file)
--- a/
Makefile.inc
+++ b/
Makefile.inc
@@
-13,22
+13,23
@@
ifeq ($(TOPDIR),)
TOPDIR = ..
endif
TOPDIR = ..
endif
-ifeq ($(strip $(BUILD)),klibc)
- CC = klcc
- klibcdir = /usr/lib/klibc
- libdm = $(klibcdir)/lib/libdevmapper.a
- libsysfs = $(klibcdir)/lib/libsysfs.a
-endif
-
prefix =
exec_prefix = $(prefix)
bindir = $(exec_prefix)/sbin
prefix =
exec_prefix = $(prefix)
bindir = $(exec_prefix)/sbin
-checkersdir = $(TOPDIR)/libcheckers
+libudevdir = ${prefix}/lib/udev
multipathdir = $(TOPDIR)/libmultipath
multipathdir = $(TOPDIR)/libmultipath
-mandir = /usr/share/man/man8
+mandir = $(prefix)/usr/share/man/man8
+man5dir = $(prefix)/usr/share/man/man5
+rcdir = $(prefix)/etc/init.d
+libdir = $(prefix)/lib/multipath
GZIP = /bin/gzip -9 -c
GZIP = /bin/gzip -9 -c
-STRIP = strip --strip-all -R .comment -R .note
+INSTALL_PROGRAM = install
+
+OPTFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes
+CFLAGS = $(OPTFLAGS) -fPIC
+SHARED_FLAGS = -shared
+
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<
-CHECKERSLIB = $(checkersdir)/libcheckers
-MULTIPATHLIB = $(multipathdir)/libmultipath