mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
61f76f5c9c
* update the Makefiles to autodetect libgcc.a & gcc includes "ulibc-style". Factorisation of udevdirs & others niceties * drop a hint about absent /dev/sd? on failed open() for poor Debian users who don't imagine their favorite distro with only 16 preconfigured SCSI device nodes :)
23 lines
590 B
Makefile
23 lines
590 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"}
|
|
CFLAGS = -pipe -g -O2 -Wall -Wunused -Wstrict-prototypes -nostdinc \
|
|
-I$(klibcdir)/klibc/include -I$(klibcdir)/klibc/include/bits32 \
|
|
-I$(GCCINCDIR) -I$(klibcdir)/linux/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
|