Makefile revision 3649
5620N/A# The contents of this file are subject to the terms of the 5620N/A# Common Development and Distribution License (the "License"). 5620N/A# You may not use this file except in compliance with the License. 5620N/A# See the License for the specific language governing permissions 5620N/A# and limitations under the License. 5620N/A# When distributing Covered Code, include this CDDL HEADER in each 5620N/A# If applicable, add the following below this CDDL HEADER, with the 5620N/A# fields enclosed by brackets "[]" replaced with your own identifying 5620N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5620N/A# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. 5620N/A# Userland default includes -mt which links with libthread which we don't need. 5620N/A# We set ARCH to match sendmail's configure-like script: on x86, it simply 5620N/A# uses 'uname -m', but on sparc it shortens "sun4*" into "sun4". # This appends "+Sun" to the version string, which we do for historical # reasons. If we did this via patch, then we would have to revise the patch # with every new release, since the version string changes every time. # libmilter and sendmail must come before include, so appending to the default # value of LINT_FLAGS will not work; we must redefine it here. '-e "s|$(SM_BUILD_SUB_DIR)|\\$$(SM_BUILD_SUB_DIR)|g" ' \
'-e "s|$(OS_VERSION)|\\$$(OS_VERSION)|g" ' \
'-e "s|$(ARCH)|\\$$(ARCH)|g" ' \
'-e "s|$(CC)|\\$$(CC)|g" '