Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# CDDL HEADER START
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# The contents of this file are subject to the terms of the
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# Common Development and Distribution License, Version 1.0 only
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# (the "License"). You may not use this file except in compliance
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# with the License.
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# See the License for the specific language governing permissions
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# and limitations under the License.
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# When distributing Covered Code, include this CDDL HEADER in each
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# If applicable, add the following below this CDDL HEADER, with the
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# fields enclosed by brackets "[]" replaced with your own identifying
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# information: Portions Copyright [yyyy] [name of copyright owner]
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# CDDL HEADER END
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major#ident "%Z%%M% %I% %E% SMI"
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# Copyright 1990 - 2002 Sun Microsystems, Inc. All rights reserved.
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# Use is subject to license terms.
386650a8957e131311273ee84a4a4113ad5e3fe2Peter MajorPROG= mailstats mconnect vacation mailcompat aliasadm praliases mailq
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major# $(PROG) by default
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major.PARALLEL: $(OBJS) $(PROG) $(LIBPROG) $(USRSBINPROG)
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majormail.local := LDLIBS += -lsocket -lnsl -lmail -lldap
386650a8957e131311273ee84a4a4113ad5e3fe2Peter MajorCPPFLAGS = $(INCPATH) $(ENVDEF) $(SUNENVDEF) $(DBMDEF) $(CPPFLAGS.master)
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majorvacation: vacation.o convtime.o rfc2047.o ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) vacation.o convtime.o rfc2047.o -o $@ $(LDLIBS) \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) aliasadm.o nisplus.o nisedit.o -o $@ $(LDLIBS)
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majormail.local: mail.local.o ../libsmutil/libsmutil.a ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) mail.local.o -o $@ $(LDLIBS) ../libsmutil/libsmutil.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) smrsh.o -o $@ $(LDLIBS) ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majormakemap: makemap.o ../libsmutil/libsmutil.a ../libsmdb/libsmdb.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) makemap.o -o $@ $(LDLIBS) ../libsmdb/libsmdb.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major ../libsmutil/libsmutil.a ../db/libdb.a ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majoreditmap: editmap.o ../libsmutil/libsmutil.a ../libsmdb/libsmdb.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) editmap.o -o $@ $(LDLIBS) ../libsmdb/libsmdb.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major ../libsmutil/libsmutil.a ../db/libdb.a ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majorpraliases: praliases.o ../libsmutil/libsmutil.a ../libsmdb/libsmdb.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) praliases.o -o $@ $(LDLIBS) ../libsmdb/libsmdb.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major ../libsmutil/libsmutil.a ../db/libdb.a ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majormailstats: mailstats.o ../libsmutil/libsmutil.a ../libsm/libsm.a
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Major $(LINK.c) mailstats.o -o $@ $(LDLIBS) ../libsmutil/libsmutil.a \
386650a8957e131311273ee84a4a4113ad5e3fe2Peter Majorinstall: all $(ROOTPROG) $(ROOTLIB)/mail.local $(ROOTLIB)/smrsh \