chiark / gitweb /
[PATCH] make spotless
[elogind.git] / extras / multipath-tools / libdevmapper / Makefile
1 # Makefile
2 #
3 # Copyright (C) 2003 Christophe Varoqui, <christophe.varoqui@free.fr>
4
5 CC = gcc
6 udevdir     = ../../..
7 klibcdir    = $(udevdir)/klibc
8
9 CC = gcc
10 GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
11 KERNEL_DIR = /lib/modules/${shell uname -r}/build
12
13 CFLAGS = -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -nostdinc \
14          -I$(klibcdir)/klibc/include -I$(klibcdir)/klibc/include/bits32 \
15          -I$(GCCINCDIR) -I$(KERNEL_DIR)/include -I. -Iioctl
16
17 OBJS = ioctl/libdevmapper.o libdm-common.o
18
19 all:    $(OBJS)
20         @echo ""
21         @echo "Make complete"
22
23 clean:
24         rm -f core *.o ioctl/*.o ioctl/*.so
25
26 spotless: clean
27
28 install:
29
30 uninstall: