RN rnmake  3.0.0
Pkg.mk
1 ################################################################################
2 #
3 # Package: RN Make System
4 #
5 # File: Pkg.mk
6 #
7 # Version: 2.0
8 #
9 # Description:
10 # Package Template Makefile.
11 #
12 # Author(s): Robin Knight (robin.knight@roadnarrows.com)
13 #
14 # Copyright (C) 2005-2007. RoadNarrows LLC.
15 # All Rights Reserved
16 #
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.
27 #
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.
34 #
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.
40 #
41 ################################################################################
42 
43 # Prevent mutliple inclusion
44 _PKG_MK = 1
45 
46 ifndef RNMAKE_PKG_ROOT
47 $(error Error: RNMAKE_PKG_ROOT not defined in including makefile)
48 endif
49 
50 #
51 # The Package Definition
52 #
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."
63 
64 # Dotted full version number
65 RNMAKE_PKG_VERSION_DOTTED = $(RNMAKE_PKG_VERSION_MAJOR).$(RNMAKE_PKG_VERSION_MINOR).$(RNMAKE_PKG_VERSION_RELEASE)
66 
67 # Concatenated full version number
68 RNMAKE_PKG_VERSION_CAT = $(RNMAKE_PKG_VERSION_MAJOR)$(RNMAKE_PKG_VERSION_MINOR)$(RNMAKE_PKG_VERSION_RELEASE)
69 
70 # Package full name
71 RNMAKE_PKG_FULL_NAME = $(RNMAKE_PKG)-$(RNMAKE_PKG_VERSION_DOTTED)
72 
73 #------------------------------------------------------------------------------
74 # Optional Variables and Tweaks
75 
76 # Package Local Working Directory
77 #
78 # Local components are not distributed.
79 #
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.
83 #
84 # Default: $(RNMAKE_PKG_ROOT)/loc/
85 #
86 #LOCDIR_ROOT =
87 
88 # Package Include Directories
89 RNMAKE_PKG_INCDIRS = $(RNMAKE_PKG_ROOT)/include
90 
91 # Package System Include Directories
92 RNMAKE_PKG_SYS_INCDIRS =
93 
94 # Link Library Extra Library Directories (exluding local library)
95 RNMAKE_PKG_LD_LIBDIRS =
96 
97 # Release Files (docs)
98 RNMAKE_PKG_REL_FILES = VERSION README
99 
100 # CPP flags
101 RNMAKE_PKG_CPPFLAGS =
102 
103 # C flags
104 RNMAKE_PKG_CFLAGS =
105 
106 # CXX flags
107 RNMAKE_PKG_CXXFLAGS =
108 
109 # Link flags
110 RNMAKE_PKG_LDFLAGS =