3 # Copyright (c) 1999-2000 Sendmail, Inc. and its suppliers.
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.
11 # Definitions for Makefile construction for sendmail
13 # $Id: all.m4,v 8.13 2000/12/27 18:34:26 ca Exp $
16 ALL=${BEFORE} ${LINKS} bldTARGETS
20 clean: bldCLEAN_TARGETS
22 define(`bldADD_SRC', ${$1SRCS} )dnl
23 SRCS=bldFOREACH(`bldADD_SRC(', bldC_PRODUCTS)
24 define(`bldADD_OBJS', ${$1OBJS} )dnl
25 OBJS=bldFOREACH(`bldADD_OBJS(', bldC_PRODUCTS)
27 ifdef(`bldNO_INSTALL', `divert(-1)')
28 install: bldINSTALL_TARGETS
30 install-strip: bldINSTALL_TARGETS ifdef(`bldSTRIP_TARGETS', `bldSTRIP_TARGETS')
31 ifdef(`bldNO_INSTALL', `divert(0)')
33 ifdef(`confREQUIRE_LIBSM',`
34 ifdef(`confSM_OS_HEADER',
35 `sm_os.h: ${SRCDIR}/inc`'lude/sm/os/confSM_OS_HEADER.h
36 ${RM} ${RMOPTS} sm_os.h
37 ${LN} ${LNOPTS} ${SRCDIR}/inc`'lude/sm/os/confSM_OS_HEADER.h sm_os.h',
39 ${CP} /dev/null sm_os.h')')
41 divert(bldDEPENDENCY_SECTION)
42 ################ Dependency scripts
43 include(confBUILDTOOLSDIR/M4/depend/ifdef(`confDEPEND_TYPE', `confDEPEND_TYPE',
45 ################ End of dependency scripts