| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: plist.mk,v 1.37 2008/04/08 20:52:15 jlam Exp $ | | 1 | # $NetBSD: plist.mk,v 1.38 2008/10/30 18:48:13 joerg Exp $ |
2 | # | | 2 | # |
3 | # This Makefile fragment handles the creation of PLISTs for use by | | 3 | # This Makefile fragment handles the creation of PLISTs for use by |
4 | # pkg_create(8). | | 4 | # pkg_create(8). |
5 | # | | 5 | # |
6 | # The following variables affect the PLIST generation: | | 6 | # The following variables affect the PLIST generation: |
7 | # | | 7 | # |
8 | # PLIST_TYPE specifies whether the generated PLIST is derived | | 8 | # PLIST_TYPE specifies whether the generated PLIST is derived |
9 | # automatically from the installed files, or if the PLIST entries | | 9 | # automatically from the installed files, or if the PLIST entries |
10 | # are listed in files. Valid values are "dynamic" and "static", | | 10 | # are listed in files. Valid values are "dynamic" and "static", |
11 | # and the default value is "static". | | 11 | # and the default value is "static". |
12 | # | | 12 | # |
13 | # PLIST_VARS is the list of names corresponding to automatic variables | | 13 | # PLIST_VARS is the list of names corresponding to automatic variables |
14 | # generated by plist.mk to simplify having conditionally-present | | 14 | # generated by plist.mk to simplify having conditionally-present |
| @@ -180,27 +180,27 @@ _PLIST_AWK+= -f ${.CURDIR}/../../mk/pli | | | @@ -180,27 +180,27 @@ _PLIST_AWK+= -f ${.CURDIR}/../../mk/pli |
180 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-locale.awk | | 180 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-locale.awk |
181 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-info.awk | | 181 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-info.awk |
182 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-man.awk | | 182 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-man.awk |
183 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-libtool.awk | | 183 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-libtool.awk |
184 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-default.awk | | 184 | _PLIST_AWK+= -f ${.CURDIR}/../../mk/plist/plist-default.awk |
185 | | | 185 | |
186 | _PLIST_INFO_AWK+= -f ${.CURDIR}/../../mk/plist/plist-functions.awk | | 186 | _PLIST_INFO_AWK+= -f ${.CURDIR}/../../mk/plist/plist-functions.awk |
187 | _PLIST_INFO_AWK+= -f ${.CURDIR}/../../mk/plist/plist-info.awk | | 187 | _PLIST_INFO_AWK+= -f ${.CURDIR}/../../mk/plist/plist-info.awk |
188 | | | 188 | |
189 | _PLIST_SHLIB_AWK= -f ${_SHLIB_AWKFILE.${SHLIB_TYPE}} | | 189 | _PLIST_SHLIB_AWK= -f ${_SHLIB_AWKFILE.${SHLIB_TYPE}} |
190 | _SHLIB_AWKFILE.ECOFF= ${.CURDIR}/../../mk/plist/shlib-elf.awk | | 190 | _SHLIB_AWKFILE.ECOFF= ${.CURDIR}/../../mk/plist/shlib-elf.awk |
191 | _SHLIB_AWKFILE.ELF= ${.CURDIR}/../../mk/plist/shlib-elf.awk | | 191 | _SHLIB_AWKFILE.ELF= ${.CURDIR}/../../mk/plist/shlib-elf.awk |
192 | _SHLIB_AWKFILE.SOM= ${.CURDIR}/../../mk/plist/shlib-som.awk | | 192 | _SHLIB_AWKFILE.SOM= ${.CURDIR}/../../mk/plist/shlib-som.awk |
193 | _SHLIB_AWKFILE.aixlib= ${.CURDIR}/../../mk/plist/shlib-none.awk | | 193 | _SHLIB_AWKFILE.aixlib= ${.CURDIR}/../../mk/plist/shlib-elf.awk |
194 | _SHLIB_AWKFILE.a.out= ${.CURDIR}/../../mk/plist/shlib-aout.awk | | 194 | _SHLIB_AWKFILE.a.out= ${.CURDIR}/../../mk/plist/shlib-aout.awk |
195 | _SHLIB_AWKFILE.dylib= ${.CURDIR}/../../mk/plist/shlib-dylib.awk | | 195 | _SHLIB_AWKFILE.dylib= ${.CURDIR}/../../mk/plist/shlib-dylib.awk |
196 | _SHLIB_AWKFILE.none= ${.CURDIR}/../../mk/plist/shlib-none.awk | | 196 | _SHLIB_AWKFILE.none= ${.CURDIR}/../../mk/plist/shlib-none.awk |
197 | | | 197 | |
198 | ###################################################################### | | 198 | ###################################################################### |
199 | | | 199 | |
200 | # GENERATE_PLIST is a sequence of commands, terminating in a semicolon, | | 200 | # GENERATE_PLIST is a sequence of commands, terminating in a semicolon, |
201 | # that outputs contents for a PLIST to stdout and is appended to | | 201 | # that outputs contents for a PLIST to stdout and is appended to |
202 | # the contents of ${PLIST_SRC}. | | 202 | # the contents of ${PLIST_SRC}. |
203 | # | | 203 | # |
204 | .if empty(PLIST_SRC) | | 204 | .if empty(PLIST_SRC) |
205 | GENERATE_PLIST?= ${ECHO} "@comment "${PKGNAME:Q}" has no files."; | | 205 | GENERATE_PLIST?= ${ECHO} "@comment "${PKGNAME:Q}" has no files."; |
206 | .else | | 206 | .else |