#################################################################### ##### This file is automatically generated -- edit at your own risk ##### Built by root@darwintel ##### on Mon Jan 7 18:00:22 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/rmail #################################################################### # 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 # 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= rmailOBJADD= # 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= rmailSRCS= rmail.c ${SRCADD} rmailOBJS= rmail.o ${OBJADD} ${rmailOBJADD} rmailSMDEPLIBS= /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/obj.Darwin.8.0.1.x86/libsm/libsm.a rmailTARGET_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= rmail.${MAN8SRC} RMAIL=defeat-install ALL=${BEFORE} ${LINKS} /mnt/gmirror/ports/mail/sendmail-ldap/work/sendmail-8.14.2/obj.Darwin.8.0.1.x86/libsm/libsm.a rmail ${MANPAGES} all: ${ALL} clean: rmail-clean SRCS=${rmailSRCS} OBJS=${rmailOBJS} 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}) rmail: ${rmailOBJS} ${rmailSMDEPLIBS} ${CCLINK} -o rmail ${LDOPTS} ${LIBDIRS} ${rmailOBJS} ${LIBS} strip-rmail: rmail ${STRIP} ${STRIPOPTS} ${DESTDIR}${UBINDIR}/rmail rmail-clean: rm -f ${OBJS} rmail ${MANPAGES} rmail.${MAN8SRC}: rmail.8 ${NROFF} ${MANDOC} rmail.8 > rmail.${MAN8SRC} || ${CP} rmail.${MAN8SRC}.dist rmail.${MAN8SRC} install-docs: ${MANPAGES} ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} rmail.${MAN8SRC} ${DESTDIR}${MAN8}/rmail.${MAN8EXT} ${INSTALL} -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} rmail.8 ${DESTDIR}${MAN8MAN}/rmail.${MAN8EXT} install: ${RMAIL} defeat-install: @echo "NOTE: This version of rmail is not suited for some operating" @echo " systems. You can force the install using" @echo " 'Build force-install'." force-install: install-rmail install-docs install-rmail: rmail ${INSTALL} -c -o ${UBINOWN} -g ${UBINGRP} -m ${UBINMODE} rmail ${DESTDIR}${UBINDIR} # Do not edit or remove this line or anything below it. rmail.o: rmail.c ../../include/sm/gen.h ../../include/sm/config.h sm_os.h \ ../../include/sm/cdefs.h ../../include/sm/types.h \ /usr/include/sys/types.h /usr/include/sys/appleapiopts.h \ /usr/include/sys/cdefs.h /usr/include/machine/types.h \ /usr/include/i386/types.h /usr/include/i386/_types.h \ /usr/include/sys/_types.h /usr/include/machine/_types.h \ /usr/include/machine/endian.h /usr/include/i386/endian.h \ /usr/include/sys/_endian.h /usr/include/gcc/darwin/3.3/stdint.h \ /usr/include/machine/byte_order.h \ /usr/include/architecture/byte_order.h \ /usr/include/libkern/OSByteOrder.h \ /usr/include/libkern/i386/OSByteOrder.h /usr/include/stddef.h \ /usr/include/_types.h /usr/include/sys/param.h \ /usr/include/sys/syslimits.h /usr/include/machine/param.h \ /usr/include/i386/param.h /usr/include/limits.h \ /usr/include/gcc/darwin/3.3/machine/limits.h /usr/include/i386/limits.h \ /usr/include/i386/_limits.h /usr/include/sys/signal.h \ /usr/include/machine/signal.h /usr/include/i386/signal.h \ /usr/include/sys/stat.h /usr/include/sys/wait.h \ /usr/include/sys/resource.h /usr/include/ctype.h \ /usr/include/runetype.h /usr/include/fcntl.h /usr/include/sys/fcntl.h \ ../../include/sm/io.h /usr/include/stdio.h ../../include/sm/varargs.h \ /usr/include/gcc/darwin/3.3/stdarg.h /usr/include/stdlib.h \ /usr/include/alloca.h ../../include/sm/string.h /usr/include/string.h \ /usr/include/unistd.h /usr/include/sys/unistd.h \ /usr/include/sys/select.h /usr/include/signal.h /usr/include/sys/time.h \ /usr/include/time.h /usr/include/machine/_limits.h \ ../../sendmail/sysexits.h ../../include/sm/conf.h \ /usr/include/sys/utsname.h ../../include/sm/errstring.h \ /usr/include/errno.h /usr/include/sys/errno.h \ ../../include/sendmail/pathnames.h