]> mj.ucw.cz Git - libucw.git/blob - free/libucw/Makefile
Updated years in all README's.
[libucw.git] / free / libucw / Makefile
1 # Makefile for the stand-alone release of libucw
2 # (c) 2008 Martin Mares <mj@ucw.cz>
3
4 # The default target
5 all: runtree libs api programs extras configs
6
7 # Include configuration
8 s=.
9 -include obj/config.mk
10 obj/config.mk:
11         @echo "You need to run configure first." && false
12
13 BUILDSYS=$(s)/build
14
15 # We will use the libucw build system
16 include $(BUILDSYS)/Maketop
17
18 # Install the build system
19 include $(BUILDSYS)/Makefile
20
21 # The UCW library
22 include $(s)/ucw/Makefile
23
24 # Build documentation by default?
25 ifdef CONFIG_DOC
26 all: docs
27 endif
28
29 libs: $(LIBUCW)
30
31 # And finally the default rules of the build system
32 include $(BUILDSYS)/Makebottom
33
34 ifndef CONFIG_LOCAL
35 install: all $(INSTALL_TARGETS)
36 else
37 install:
38         @echo "Nothing to install, this is a local build." && false
39 endif
40 .PHONY: install