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 libpriodir = $(TOPDIR)/libprio
28 multipathdir = $(TOPDIR)/libmultipath
29 mandir = $(prefix)/usr/share/man/man8
30 man5dir = $(prefix)/usr/share/man/man5
31 rcdir = $(prefix)/etc/init.d
33 GZIP = /bin/gzip -9 -c
35 CHECKERSLIB = $(checkersdir)/libcheckers
36 MULTIPATHLIB = $(multipathdir)/libmultipath
37 LIBPRIO = $(libpriodir)/libprio
39 INSTALL_PROGRAM = install -s
41 OPTFLAGS = -pipe -g -Wall -Wunused -Wstrict-prototypes
45 $(CC) $(CFLAGS) -c -o $@ $<