3 # Copyright (C) 2004 Christophe Varoqui, <christophe.varoqui@free.fr>
6 # Allow to force some libraries to be used statically. (Uncomment one of the
7 # following lines or define the values when calling make.)
10 # WITH_LOCAL_LIBSYSFS = 1
16 ifeq ($(strip $(BUILD)),klibc)
18 klibcdir = /usr/lib/klibc
19 libdm = $(klibcdir)/lib/libdevmapper.a
23 exec_prefix = $(prefix)
24 bindir = $(exec_prefix)/sbin
25 libudevdir = ${prefix}/lib/udev
26 checkersdir = $(TOPDIR)/libcheckers
27 multipathdir = $(TOPDIR)/libmultipath
28 mandir = $(prefix)/usr/share/man/man8
29 man5dir = $(prefix)/usr/share/man/man5
30 rcdir = $(prefix)/etc/init.d
32 GZIP = /bin/gzip -9 -c
34 CHECKERSLIB = $(checkersdir)/libcheckers
35 MULTIPATHLIB = $(multipathdir)/libmultipath
37 INSTALL_PROGRAM = install -s
39 OPTFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes
43 $(CC) $(CFLAGS) -c -o $@ $<