chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] udev build tweaks to tdb's spinlock code
[elogind.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 2cc0c2a6803115eb74d55cfe60344b117785edf6..ea0dc10c280afd3c8b21cf23b3172c0e57380060 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-74,7
+74,8
@@
GCC_LIB := $(shell $(CC) -print-libgcc-file-name )
OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
then echo "-Os"; else echo "-O2" ; fi}
OPTIMIZATION := ${shell if $(CC) -Os -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \
then echo "-Os"; else echo "-O2" ; fi}
-WARNINGS := -Wall -Wshadow -Wstrict-prototypes
+# add -Wredundant-decls when libsysfs gets cleaned up
+WARNINGS := -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
# Some nice architecture specific optimizations
ifeq ($(strip $(TARGET_ARCH)),arm)
# Some nice architecture specific optimizations
ifeq ($(strip $(TARGET_ARCH)),arm)
@@
-171,7
+172,7
@@
clean:
$(MAKE) -C libsysfs clean
$(MAKE) -C tdb clean
$(MAKE) -C libsysfs clean
$(MAKE) -C tdb clean
-DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v "\.tdb" | sort )
+DISTFILES = $(shell find . \( -not -name '.' \) -print | grep -v CVS | grep -v "\.tar\.gz" | grep -v "\/\." | grep -v releases | grep -v BitKeeper | grep -v SCCS | grep -v "\.tdb" |
grep -v "test\/sys" |
sort )
DISTDIR := $(RELEASE_NAME)
srcdir = .
release: $(DISTFILES) clean
DISTDIR := $(RELEASE_NAME)
srcdir = .
release: $(DISTFILES) clean
@@
-197,14
+198,14
@@
install: all
$(INSTALL) -d $(hotplugdir)
$(INSTALL_PROGRAM) -D $(ROOT) $(sbindir)/$(ROOT)
$(INSTALL_DATA) -D udev.8 $(mandir)/man8/udev.8
$(INSTALL) -d $(hotplugdir)
$(INSTALL_PROGRAM) -D $(ROOT) $(sbindir)/$(ROOT)
$(INSTALL_DATA) -D udev.8 $(mandir)/man8/udev.8
- $(INSTALL_DATA)
name
dev.config $(configdir)
- $(INSTALL_DATA)
name
dev.permissions $(configdir)
+ $(INSTALL_DATA)
u
dev.config $(configdir)
+ $(INSTALL_DATA)
u
dev.permissions $(configdir)
- ln -s $(sbindir)/$(ROOT) $(hotplugdir)/udev.hotplug
uninstall:
- rm $(hotplugdir)/udev.hotplug
- ln -s $(sbindir)/$(ROOT) $(hotplugdir)/udev.hotplug
uninstall:
- rm $(hotplugdir)/udev.hotplug
- - rm $(configdir)/
name
dev.permissions
- - rm $(configdir)/
name
dev.config
+ - rm $(configdir)/
u
dev.permissions
+ - rm $(configdir)/
u
dev.config
- rm $(mandir)/man8/udev.8
- rm $(sbindir)/$(ROOT)
- rmdir $(hotplugdir)
- rm $(mandir)/man8/udev.8
- rm $(sbindir)/$(ROOT)
- rmdir $(hotplugdir)