sendmail transition: Do not pre-generate sendmail.cf
[dragonfly.git] / contrib / sendmail-8.14 / devtools / M4 / UNIX / links.m4
1 divert(-1)
2 #
3 # Copyright (c) 1999 Sendmail, Inc. and its suppliers.
4 #       All rights reserved.
5 #
6 # By using this file, you agree to the terms and conditions set
7 # forth in the LICENSE file which can be found at the top level of
8 # the sendmail distribution.
9 #
10 #
11 #  Definitions for Makefile construction for sendmail
12 #
13 #       $Id: links.m4,v 8.5 1999/07/25 03:53:08 gshapiro Exp $
14 #
15 divert(0)dnl
16 define(`bldMAKE_SOURCE_LINK',
17 `$1: ${SRCDIR}/$1
18         -ln -s ${SRCDIR}/$1 $1'
19 )dnl
20 define(`bldMAKE_SOURCE_LINKS', 
21 `bldFOREACH(`bldMAKE_SOURCE_LINK(', $1)'dnl
22 )dnl
23 define(`bldMAKE_TARGET_LINKS', 
24 `       for i in $2; do \
25                 rm -f $$i; \
26                 ln -s $1 $$i; \
27         done'
28 )dnl
29