10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 54162Skupfer# Common Development and Distribution License (the "License"). 64162Skupfer# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 214162Skupfer 224162Skupfer# 23*10207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 244162Skupfer# Use is subject to license terms. 250Sstevel@tonic-gate# 260Sstevel@tonic-gate# cmd/sendmail/Makefile 270Sstevel@tonic-gate# 280Sstevel@tonic-gate# Makefile for top level sendmail source directory 290Sstevel@tonic-gate# 300Sstevel@tonic-gate 310Sstevel@tonic-gate# static libraries (db, libsm, libsmdb, libsmutil) must be built before 320Sstevel@tonic-gate# src and aux 330Sstevel@tonic-gateSUBDIRS= cf lib db libsm libsmdb libsmutil .WAIT src aux 340Sstevel@tonic-gate 350Sstevel@tonic-gateinclude ../Makefile.cmd 360Sstevel@tonic-gate 370Sstevel@tonic-gateROOTDIRS= $(ROOT)/var/spool/mqueue $(ROOT)/var/spool/clientmqueue 380Sstevel@tonic-gate$(ROOTDIRS):= DIRMODE = 0750 390Sstevel@tonic-gate$(ROOT)/var/spool/clientmqueue:= DIRMODE = 0770 400Sstevel@tonic-gate 410Sstevel@tonic-gateall:= TARGET= all 420Sstevel@tonic-gateinstall:= TARGET= install 430Sstevel@tonic-gateclean:= TARGET= clean 440Sstevel@tonic-gateclobber:= TARGET= clobber 450Sstevel@tonic-gatelint:= TARGET= lint 460Sstevel@tonic-gate 470Sstevel@tonic-gate.KEEP_STATE: 480Sstevel@tonic-gate 490Sstevel@tonic-gateall clean clobber lint: $(SUBDIRS) 500Sstevel@tonic-gate 510Sstevel@tonic-gateinstall: $(ROOTDIRS) $(SUBDIRS) $(ROOTMANIFEST) $(ROOTSVCSH) 520Sstevel@tonic-gate 534162Skupferall install: THIRDPARTYLICENSE 544162Skupfer 554162Skupferclobber: FRC 564162Skupfer $(RM) THIRDPARTYLICENSE 574162Skupfer 580Sstevel@tonic-gate.PARALLEL: $(SUBDIRS) 590Sstevel@tonic-gate 600Sstevel@tonic-gate$(ROOTDIRS): 610Sstevel@tonic-gate $(INS.dir) 620Sstevel@tonic-gate 630Sstevel@tonic-gate$(SUBDIRS): FRC 640Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(TARGET) 650Sstevel@tonic-gate 664162SkupferTHIRDPARTYLICENSE: LICENSE db/LICENSE 674162Skupfer $(SED) -n '/SENDMAIL LICENSE/,$$p' LICENSE > $@ 684162Skupfer $(ECHO) " " >> $@ 694162Skupfer $(SED) -n '/The following are the copyrights/,$$p' db/LICENSE >> $@ 704162Skupfer 710Sstevel@tonic-gateFRC: 72