1 ################################################################################ 3 # Package: RN Make System 10 # Package Template Makefile. 12 # Author(s): Robin Knight (robin.knight@roadnarrows.com) 14 # Copyright (C) 2005-2007. RoadNarrows LLC. 17 # Permission is hereby granted, without written agreement and without 18 # license or royalty fees, to use, copy, modify, and distribute this 19 # software and its documentation for any purpose, provided that 20 # (1) The above copyright notice and the following two paragraphs 21 # appear in all copies of the source code and (2) redistributions 22 # including binaries reproduces these notices in the supporting 23 # documentation. Substantial modifications to this software may be 24 # copyrighted by their authors and need not follow the licensing terms 25 # described here, provided that the new terms are clearly indicated in 26 # all files where they apply. 28 # IN NO EVENT SHALL THE AUTHOR, ROADNARROWS LLC, OR ANY MEMBERS/EMPLOYEES 29 # OF ROADNARROW LLC OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY 30 # PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL 31 # DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, 32 # EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF 33 # THE POSSIBILITY OF SUCH DAMAGE. 35 # THE AUTHOR AND ROADNARROWS LLC SPECIFICALLY DISCLAIM ANY WARRANTIES, 36 # INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 37 # FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN 38 # "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO 39 # PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 41 ################################################################################ 43 # Prevent mutliple inclusion 46 ifndef RNMAKE_PKG_ROOT
47 $(error Error: RNMAKE_PKG_ROOT not defined in including makefile)
51 # The Package Definition
53 RNMAKE_PKG = packagename
54 RNMAKE_PKG_VERSION_MAJOR = 1
55 RNMAKE_PKG_VERSION_MINOR = 0
56 RNMAKE_PKG_VERSION_RELEASE = 0
57 RNMAKE_PKG_VERSION_DATE = 2007
58 RNMAKE_PKG_AUTHORS =
"Robin Knight & Kim Wheeler-Smith" 59 RNMAKE_PKG_OWNERS =
"RoadNarrows LLC" 60 RNMAKE_PKG_DISCLAIMER = \
61 "This is free software; see the source for copying conditions. There is NO\n" \
62 "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 64 # Dotted full version number
65 RNMAKE_PKG_VERSION_DOTTED = $(RNMAKE_PKG_VERSION_MAJOR).$(RNMAKE_PKG_VERSION_MINOR).$(RNMAKE_PKG_VERSION_RELEASE)
67 # Concatenated full version number 68 RNMAKE_PKG_VERSION_CAT = $(RNMAKE_PKG_VERSION_MAJOR)$(RNMAKE_PKG_VERSION_MINOR)$(RNMAKE_PKG_VERSION_RELEASE)
71 RNMAKE_PKG_FULL_NAME = $(RNMAKE_PKG)-$(RNMAKE_PKG_VERSION_DOTTED)
73 #------------------------------------------------------------------------------
74 # Optional Variables and Tweaks
76 # Package Local Working Directory
78 # Local components are not distributed.
80 # Uncomment and define to
override where package local bin and libraries
81 # are placed. This can be usefull
if serveral packages use a global
82 # local area rather than one local area per package.
84 # Default: $(RNMAKE_PKG_ROOT)/loc/
88 # Package Include Directories 89 RNMAKE_PKG_INCDIRS = $(RNMAKE_PKG_ROOT)/include
91 # Package System Include Directories
92 RNMAKE_PKG_SYS_INCDIRS =
94 # Link Library Extra Library Directories (exluding local library)
95 RNMAKE_PKG_LD_LIBDIRS =
97 # Release Files (docs) 98 RNMAKE_PKG_REL_FILES = VERSION README
101 RNMAKE_PKG_CPPFLAGS =
107 RNMAKE_PKG_CXXFLAGS =