summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-06-22 23:12:53 (GMT)
committerJan Engelhardt <jengelh@medozas.de>2009-06-22 23:24:51 (GMT)
commitbf4fd3acee4e611afee20025f55454e37813f8ca (patch)
treed2bc642c03454626551adc86cb56f34e45530f2a /Makefile
parentef8ba32e0ca7ac7bbbaf87f6fd7b197af18aed25 (diff)
downloadlibnl-bf4fd3acee4e611afee20025f55454e37813f8ca.zip
libnl-bf4fd3acee4e611afee20025f55454e37813f8ca.tar.gz
libnl-bf4fd3acee4e611afee20025f55454e37813f8ca.tar.bz2
Move to automake-based build
Issues solved: * PACKAGE_VERSION was abused for SOVERSION * unneeded DEP stage * did not support out-of-tree builds * no way to turn off silent mode * overriding CFLAGS at make time was not supported * no static libs were provided Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile63
1 files changed, 0 insertions, 63 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0e68a5b..0000000
--- a/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Makefile
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation version 2.1
-# of the License.
-#
-# Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
-#
-
-ifeq ($(shell [ ! -r Makefile.opts ] && echo 1),)
- include Makefile.opts
-endif
-
-SUBDIRS := lib include doc src
-.PHONY: all clean distclean install gendoc $(SUBDIRS)
-
-all: Makefile.opts
- @for dir in $(SUBDIRS); do \
- echo "Entering $$dir" && $(MAKE) -C $$dir || exit $$?; \
- done
-
-clean: Makefile.opts
- @for dir in $(SUBDIRS); do \
- echo "Entering $$dir" && $(MAKE) -C $$dir clean || exit $$?; \
- done
-
-distclean: clean
- @$(RM) -rf Makefile.opts autom4te.cache config.log config.status cscope.*
- @for dir in $(SUBDIRS); do \
- echo "Entering $$dir" && $(MAKE) -C $$dir distclean || exit $$?; \
- done
-
-install: Makefile.opts
- @for dir in $(SUBDIRS); do \
- echo "Entering $$dir" && cd $$dir && $(MAKE) install && cd ..; \
- done
- mkdir -p $(DESTDIR)$(libdir)/pkgconfig/
- install -m 0644 libnl-2.0.pc $(DESTDIR)$(libdir)/pkgconfig/
-
-gendoc:
- $(MAKE) -C doc gendoc
-
-show: Makefile.opts
- @echo "CC: $(CC)"
- @echo "RM: $(RM)"
- @echo "CFLAGS: $(CFLAGS)"
- @echo "DEPFLAGS: $(DEPFLAGS)"
- @echo "LDFLAGS: $(LDFLAGS)"
- @echo "DESTDIR: $(DESTDIR)"
- @echo "prefix: $(prefix)"
- @echo "libdir: $(libdir)"
- @echo "includedir: $(includedir)"
-
-cscope:
- cscope -b -q -R -Iinclude -slib -ssrc
-
-
-$(SUBDIRS):
- cd $@ && $(MAKE)
-
--include Makefile.rules