iotivity 0.9.0
[platform/upstream/iotivity.git] / resource / csdk / libcoap-4.1.1 / doc / makefile
1 # //******************************************************************
2 # //
3 # // Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
4 # //
5 # //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 # //
7 # // Licensed under the Apache License, Version 2.0 (the "License");
8 # // you may not use this file except in compliance with the License.
9 # // You may obtain a copy of the License at
10 # //
11 # //      http://www.apache.org/licenses/LICENSE-2.0
12 # //
13 # // Unless required by applicable law or agreed to in writing, software
14 # // distributed under the License is distributed on an "AS IS" BASIS,
15 # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # // See the License for the specific language governing permissions and
17 # // limitations under the License.
18 # //
19 # //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20 #
21 # Makefile for libcoap
22 #
23 # Copyright (C) 2010 Olaf Bergmann <bergmann@tzi.org>
24
25 # This program is free software; you can redistribute it and/or
26 # modify it under the terms of the GNU General Public License
27 # as published by the Free Software Foundation; either version 2
28 # of the License, or (at your option) any later version.
29
30 # This program is distributed in the hope that it will be useful,
31 # but WITHOUT ANY WARRANTY; without even the implied warranty of
32 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
33 # GNU General Public License for more details.
34
35 # You should have received a copy of the GNU General Public License
36 # along with this program; if not, write to the Free Software
37 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
38
39 # the library's version
40 VERSION:=4.1.1
41
42 # tools
43
44 SHELL = /bin/sh
45 MKDIR = mkdir
46 DOXYGEN= /usr/bin/doxygen
47
48 top_builddir = ..
49
50 DISTDIR?=$(top_builddir)/libcoap-4.1.1
51 FILES:=Makefile.in Doxyfile.in html
52
53 doc:    Doxyfile
54         @mkdir html
55         $(DOXYGEN) $< >./doxygen.out 2>&1 
56
57 clean:
58         @rm -rf html doxygen.out
59
60 distclean:      clean
61         @rm -rf $(DISTDIR)
62         @rm -f *~ 
63
64 dist:   doc
65         test -d $(DISTDIR)/doc || mkdir $(DISTDIR)/doc
66         cp -r $(FILES) $(DISTDIR)/doc