| 1 |
# ============================================================================== |
| 2 |
# Copyright (c) 2017 Michael Baeuerle |
| 3 |
# |
| 4 |
# All rights reserved. |
| 5 |
# |
| 6 |
# Permission is hereby granted, free of charge, to any person obtaining |
| 7 |
# a copy of this software and associated documentation files (the |
| 8 |
# "Software"), to deal in the Software without restriction, including |
| 9 |
# without limitation the rights to use, copy, modify, merge, publish, |
| 10 |
# distribute, and/or sell copies of the Software, and to permit persons |
| 11 |
# to whom the Software is furnished to do so, provided that the above |
| 12 |
# copyright notice(s) and this permission notice appear in all copies of |
| 13 |
# the Software and that both the above copyright notice(s) and this |
| 14 |
# permission notice appear in supporting documentation. |
| 15 |
# |
| 16 |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 17 |
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 18 |
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
| 19 |
# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| 20 |
# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY |
| 21 |
# SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER |
| 22 |
# RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF |
| 23 |
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| 24 |
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 25 |
# |
| 26 |
# Except as contained in this notice, the name of a copyright holder |
| 27 |
# shall not be used in advertising or otherwise to promote the sale, use |
| 28 |
# or other dealings in this Software without prior written authorization |
| 29 |
# of the copyright holder. |
| 30 |
# |
| 31 |
# SPDX-License-Identifier: ICU |
| 32 |
|
| 33 |
|
| 34 |
# ============================================================================== |
| 35 |
# Rules for automake |
| 36 |
|
| 37 |
ACLOCAL_AMFLAGS = -I m4 |
| 38 |
|
| 39 |
# ============================================================================== |
| 40 |
# Suffix list |
| 41 |
|
| 42 |
SUFFIXES = .3 .in3 |
| 43 |
|
| 44 |
|
| 45 |
# ============================================================================== |
| 46 |
# Rules for man pages |
| 47 |
|
| 48 |
man_MANS = canlock.1 \ |
| 49 |
cl_clear_secret.3 cl_get_key.3 cl_get_lock.3 cl_split.3 cl_verify.3 \ |
| 50 |
cl_verify_multi.3 |
| 51 |
CLEANFILES = $(man_MANS) |
| 52 |
|
| 53 |
# This "Inference Rule" format is portable (defined by POSIX): |
| 54 |
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html |
| 55 |
.in3.3: |
| 56 |
$(AM_V_GEN)export LC_ALL=POSIX ; $(SED) -e 's/$$NAME/libcanlock/g' \ |
| 57 |
-e 's/$$VERSION/$(PACKAGE_VERSION)/g' \ |
| 58 |
-e 's/$$BUGREPORT/$(PACKAGE_BUGREPORT)/g' \ |
| 59 |
-e 's/$$DATE/@RELEASE_DATE@/g' $*.in3 >$@ |
| 60 |
|
| 61 |
canlock.1: canlock.in1 |
| 62 |
$(AM_V_GEN)export LC_ALL=POSIX ; $(SED) -e 's/$$NAME/canlock/g' \ |
| 63 |
-e 's/$$VERSION/$(PACKAGE_VERSION)/g' \ |
| 64 |
-e 's/$$BUGREPORT/$(PACKAGE_BUGREPORT)/g' \ |
| 65 |
-e 's/$$DATE/@RELEASE_DATE@/g' canlock.in1 >$@ |
| 66 |
|
| 67 |
|
| 68 |
# EOF |