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 checkersdir = $(TOPDIR)/libcheckers
26 multipathdir = $(TOPDIR)/libmultipath
27 mandir = $(prefix)/usr/share/man/man8
28 man5dir = $(prefix)/usr/share/man/man5
29 rcdir = $(prefix)/etc/init.d
31 GZIP = /bin/gzip -9 -c
33 CHECKERSLIB = $(checkersdir)/libcheckers
34 MULTIPATHLIB = $(multipathdir)/libmultipath
36 OPTFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes
40 $(CC) $(CFLAGS) -c -o $@ $<