mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 08:56:15 +09:00
klibc has a target make spotless, this patch makes it possible to clean the whole udev tree and start from scratch.
31 lines
676 B
Makefile
31 lines
676 B
Makefile
# Makefile
|
|
#
|
|
# Copyright (C) 2003 Christophe Varoqui, <christophe.varoqui@free.fr>
|
|
|
|
CC = gcc
|
|
udevdir = ../../..
|
|
klibcdir = $(udevdir)/klibc
|
|
|
|
CC = gcc
|
|
GCCINCDIR := ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"}
|
|
KERNEL_DIR = /lib/modules/${shell uname -r}/build
|
|
|
|
CFLAGS = -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -nostdinc \
|
|
-I$(klibcdir)/klibc/include -I$(klibcdir)/klibc/include/bits32 \
|
|
-I$(GCCINCDIR) -I$(KERNEL_DIR)/include -I. -Iioctl
|
|
|
|
OBJS = ioctl/libdevmapper.o libdm-common.o
|
|
|
|
all: $(OBJS)
|
|
@echo ""
|
|
@echo "Make complete"
|
|
|
|
clean:
|
|
rm -f core *.o ioctl/*.o ioctl/*.so
|
|
|
|
spotless: clean
|
|
|
|
install:
|
|
|
|
uninstall:
|