#################################################################### ##### This file is automatically generated -- edit at your own risk ##### Built by root@darwintel ##### on Mon Jan 7 17:55:43 EST 2008 using template OS/Darwin.8.x ##### including /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/devtools/Site/site.config.m4 ##### in /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/mail.local #################################################################### # sendmail dir SMSRCDIR= ${SRCDIR}/sendmail # C compiler CC= cc -pipe ${Extra_CC_Flags} CCOPTS= # Linker for executables CCLINK = cc -pipe ${Extra_CC_Flags} # Linker for libraries LD= cc -pipe ${Extra_CC_Flags} LDOPTS= ${Extra_LD_Flags} LDOPTS_SO= ${LDOPTS} -shared # Shell SHELL= /bin/sh # use O=-O (usual) or O=-g (debugging) O= -O3 # Object archiver AR= ar AROPTS= crv # Remove command RM= rm RMOPTS= -f # Link command LN= ln LNOPTS= -f -s # Ranlib (or echo) RANLIB= ranlib RANLIBOPTS= -c # Object stripper STRIP= strip STRIPOPTS= # environment definitions (e.g., -D_AIX3) ENVDEF= -DNEWDB -DNIS -DMAP_REGEX -DDARWIN=80000 -DBIND_8_COMPAT -DNETINET6 -DNOT_SENDMAIL -DQUEUE_ONLY # location of the source directory SRCDIR= ../.. # include directories INCDIRS= -I${SMSRCDIR} -I${SRCDIR}/include # library directories LIBDIRS= -L/usr/local/lib -L/usr/local/lib # Additional libs needed LIBADD= -lldap -llber # libraries required on your system LIBS= ${LIBADD} /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/obj.Darwin.8.0.1.x86/libsm/libsm.a # location of sendmail binary (usually /usr/sbin or /usr/lib) BINDIR= /usr/sbin # location of "user" binaries (usually /usr/bin or /usr/ucb) UBINDIR=/usr/bin # location of "root" binaries (usually /usr/sbin or /usr/etc) SBINDIR=/usr/sbin # location of "root" binaries (usually /usr/sbin or /usr/etc) MBINDIR=/usr/sbin # location of "libexec" binaries (usually /usr/libexec or /usr/etc) EBINDIR=/usr/libexec # where to install include files (usually /usr/include) INCLUDEDIR=/usr/include # where to install library files (usually /usr/lib) LIBDIR=/usr/lib # additional .c files needed SRCADD= # additional .o files needed OBJADD= mail.localOBJADD= # copy files CP= cp # In some places windows wants nmake where unix would just want make NMAKE=${MAKE} ################### end of user configuration flags ###################### BUILDBIN=${SRCDIR}/devtools/bin COPTS= -I. ${INCDIRS} ${ENVDEF} ${CCOPTS} CFLAGS= $O ${COPTS} BEFORE= sm_os.h LINKS= mail.localSRCS= mail.local.c ${SRCADD} mail.localOBJS= mail.local.o ${OBJADD} ${mail.localOBJADD} mail.localSMDEPLIBS= /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/obj.Darwin.8.0.1.x86/libsm/libsm.a mail.localTARGET_LINKS= NROFF= groff -Tascii MANDOC= -man INSTALL=install # User binary ownership/permissions UBINOWN=root UBINGRP=wheel UBINMODE=555 # Setuid binary ownership/permissions SBINOWN=root SBINGRP=wheel SBINMODE=4555 # Setgid binary ownership/permissions GBINOWN=root GBINGRP=smmsp GBINMODE=2555 # owner of MSP queue MSPQOWN=smmsp # MTA binary ownership/permissions MBINOWN=root MBINGRP=bin MBINMODE=550 # Library ownership/permissions LIBOWN=root LIBGRP=bin LIBMODE=0444 # Include file ownership/permissions INCOWN=root INCGRP=bin INCMODE=0444 MANOWN= root MANGRP= wheel MANMODE=444 MANROOT=/usr/share/man/cat MANROOTMAN=/usr/share/man/man MAN1= ${MANROOT}1 MAN1MAN=${MANROOTMAN}1 MAN1EXT=1 MAN1SRC=0 MAN3= ${MANROOT}3 MAN3MAN=${MANROOTMAN}3 MAN3EXT=3 MAN3SRC=0 MAN4= ${MANROOT}4 MAN4MAN=${MANROOTMAN}4 MAN4EXT=4 MAN4SRC=0 MAN5= ${MANROOT}5 MAN5MAN=${MANROOTMAN}5 MAN5EXT=5 MAN5SRC=0 MAN8= ${MANROOT}8 MAN8MAN=${MANROOTMAN}8 MAN8EXT=8 MAN8SRC=0 MANPAGES= mail.local.${MAN8SRC} ALL=${BEFORE} ${LINKS} /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/obj.Darwin.8.0.1.x86/libsm/libsm.a mail.local ${MANPAGES} all: ${ALL} clean: mail.local-clean SRCS=${mail.localSRCS} OBJS=${mail.localOBJS} VPATH=${srcdir} check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; \ list='$(TESTS)'; \ srcdir=$(srcdir); export srcdir; \ if test -n "$$list"; then \ for tst in $$list; do \ if test -f ./$$tst; then dir=./; \ elif test -f $$tst; then dir=; \ else dir="$(srcdir)/"; fi; \ if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *" $$tst "*) \ xpass=`expr $$xpass + 1`; \ failed=`expr $$failed + 1`; \ echo "XPASS: $$tst"; \ ;; \ *) \ echo "PASS: $$tst"; \ ;; \ esac; \ elif test $$? -ne 77; then \ all=`expr $$all + 1`; \ case " $(XFAIL_TESTS) " in \ *" $$tst "*) \ xfail=`expr $$xfail + 1`; \ echo "XFAIL: $$tst"; \ ;; \ *) \ failed=`expr $$failed + 1`; \ echo "FAIL: $$tst"; \ ;; \ esac; \ fi; \ done; \ if test "$$failed" -eq 0; then \ if test "$$xfail" -eq 0; then \ banner="All $$all tests passed"; \ else \ banner="All $$all tests behaved as expected ($$xfail expected failures)"; \ fi; \ else \ if test "$$xpass" -eq 0; then \ banner="$$failed of $$all tests failed"; \ else \ banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \ fi; \ fi; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes"; \ test "$$failed" -eq 0; \ fi check-am: all $(MAKE) $(check_PROGRAMS) $(MAKE) check-TESTS check: check-am SRCS_CHK=${SRCS_CHK} ${SRCS_CHK} OBJS_CHK=${OBJS} ${OBJS} sm_os.h: ${CP} /dev/null sm_os.h ################ Dependency scripts # $Id: CC-M.m4,v 8.5 1999/05/27 22:03:28 peterh Exp $ depend: ${BEFORE} ${LINKS} @mv Makefile Makefile.old @sed -e '/^# Do not edit or remove this line or anything below it.$$/,$$d' < Makefile.old > Makefile @echo "# Do not edit or remove this line or anything below it." >> Makefile ${CC} -M ${COPTS} ${SRCS} >> Makefile # End of $RCSfile: CC-M.m4,v $ ################ End of dependency scripts /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/obj.Darwin.8.0.1.x86/libsm/libsm.a: (cd ${SRCDIR}/libsm; sh Build ${SENDMAIL_BUILD_FLAGS}) mail.local: ${mail.localOBJS} ${mail.localSMDEPLIBS} ${CCLINK} -o mail.local ${LDOPTS} ${LIBDIRS} ${mail.localOBJS} ${LIBS} strip-mail.local: mail.local ${STRIP} ${STRIPOPTS} ${DESTDIR}${EBINDIR}/mail.local mail.local-clean: rm -f ${OBJS} mail.local ${MANPAGES} mail.local.${MAN8SRC}: mail.local.8 ${NROFF} ${MANDOC} mail.local.8 > mail.local.${MAN8SRC} || ${CP} mail.local.${MAN8SRC}.dist mail.local.${MAN8SRC} install-docs: ${MANPAGES} ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} mail.local.${MAN8SRC} ${DESTDIR}${MAN8}/mail.local.${MAN8EXT} ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} mail.local.8 ${DESTDIR}${MAN8MAN}/mail.local.${MAN8EXT} install: @echo "NOTE: This version of mail.local is not suited for some operating" @echo " systems such as HP-UX and Solaris. Please consult the" @echo " README file in the mail.local directory. You can force" @echo " the install using 'Build force-install'." force-install: install-mail.local install-docs install-mail.local: mail.local ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} mail.local ${DESTDIR}${EBINDIR}