From patchwork Wed Apr 16 11:43:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 28458 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f69.google.com (mail-yh0-f69.google.com [209.85.213.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 417DA2036A for ; Wed, 16 Apr 2014 11:43:41 +0000 (UTC) Received: by mail-yh0-f69.google.com with SMTP id b6sf39836815yha.4 for ; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=ppwORQ/ZO841xzQ1iX0j9hAe+miAdYmu0581yXVQyDA=; b=SlkIZayhxFSBS5gGkxHzSiK/De8JDKwjN0SkXxGHN68L9j1irMYqpAsHv4zxw0xzT6 bSGYf2h/9eNhXbrk9xCErxAQNVrZTApspEzEXb33TgOJpvBdB7KrM/Kop4m28jnAIazI jw4TudDD7RHYZtGqCL2q7q5s1eTo0uyILzKBuFTD1oW+vVRviVtP+OhYyW3Qpawkv1jX FU+zR8WoKas0sSlWkVExaOsh+gWR2vWILKn+WjWxZvdHO9NU/1QQLFINTHy9J+DxWkpS kqNVdQCvXVepxjwfawfNG80Um8S2NgVAwyCxAKHoQdJ1FohevMnRWbG2bal4JgkH5uEJ neKA== X-Gm-Message-State: ALoCoQnlEtmBnI7uFRU8qHLtPaDrlRnhOibqyF4pCXS3ybpc82Yi+ZBd1GZd7IRHQfw0v7/rsHf5 X-Received: by 10.236.138.113 with SMTP id z77mr2991201yhi.25.1397648620921; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.39 with SMTP id y36ls302616qgd.82.gmail; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) X-Received: by 10.220.4.132 with SMTP id 4mr2663867vcr.9.1397648620804; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id kj3si3230773vdb.42.2014.04.16.04.43.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 16 Apr 2014 04:43:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id la4so10813552vcb.3 for ; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) X-Received: by 10.52.166.102 with SMTP id zf6mr2197807vdb.2.1397648620673; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp305273vcb; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) X-Received: by 10.224.60.71 with SMTP id o7mr4134799qah.38.1397648620196; Wed, 16 Apr 2014 04:43:40 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id c8si2600835qab.190.2014.04.16.04.43.39 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 16 Apr 2014 04:43:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WaOFU-00081l-R8; Wed, 16 Apr 2014 11:43:28 +0000 Received: from mail-qc0-f177.google.com ([209.85.216.177]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1WaOFH-000817-C9 for lng-odp@lists.linaro.org; Wed, 16 Apr 2014 11:43:15 +0000 Received: by mail-qc0-f177.google.com with SMTP id w7so11643619qcr.8 for ; Wed, 16 Apr 2014 04:43:20 -0700 (PDT) X-Received: by 10.224.115.3 with SMTP id g3mr4167154qaq.19.1397648600649; Wed, 16 Apr 2014 04:43:20 -0700 (PDT) Received: from fedora1.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id e69sm28338789qgf.17.2014.04.16.04.43.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Apr 2014 04:43:20 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 16 Apr 2014 07:43:08 -0400 Message-Id: <1397648588-6529-3-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397648588-6529-1-git-send-email-mike.holmes@linaro.org> References: <1397648588-6529-1-git-send-email-mike.holmes@linaro.org> Subject: [lng-odp] [PATCH v3 2/2] add makefile X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Mike Holmes --- Makefile | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e3334e0 --- /dev/null +++ b/Makefile @@ -0,0 +1,60 @@ +## Copyright (c) 2014, Linaro Limited +## All rights reserved. +## +## Redistribution and use in source and binary forms, with or without +## modification, are permitted provided that the following conditions are met: +## +## * Redistributions of source code must retain the above copyright notice, this +## list of conditions and the following disclaimer. +## +## * Redistributions in binary form must reproduce the above copyright notice, this +## list of conditions and the following disclaimer in the documentation and/or +## other materials provided with the distribution. +## +## * Neither the name of Linaro Limited nor the names of its contributors may be +## used to endorse or promote products derived from this software without specific +## prior written permission. +## +## THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +## WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +## DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +## SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +## CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +## OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +MKDIR := mkdir -p +RMDIR := rm -rf + +.DEFAULT_GOAL := docs + +DOC_DIR = ./doc + +.PHONY: all +all: docs + +$(DOC_DIR): + $(MKDIR) $(DOC_DIR)/html + $(MKDIR) $(DOC_DIR)/latex + +clean: + $(RMDIR) $(DOC_DIR) + $(RM) Doxyfile + +Doxyfile: Doxyfile.in + doxygen -u - < $< > $@ + +.PHONY: docs +docs: $(DOC_DIR) Doxyfile + doxygen + +.PHONY: docs_install +docs_install: docs + $(COPY) doc $(DESTDIR) + +.PHONY: pdf +pdf: docs + make --directory doc/latex refman.pdf 1> /dev/null