1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
#############################################################################
# TkRat software and its included text is Copyright 1996 by Martin Forssen. #
#
# Postilion software and its included text and images
# Copyright (C) 1998 Nic Bernstein
#
# The full text of the legal notices is contained in the files called
# COPYING and COPYRIGHT.TkRat, included with this distribution.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#############################################################################
# If autoconf failed to locate the the tcl/tk include files and/or
# libraries and the compilation fails (the compilation may succeed even
# if autoconf was unable to locate the files) you can edit the definitions
# below to point at the includes and/or libraries. When you have edited
# the definitions you must rerun configure.
# FIX_INCLUDE = -I/strangepath/include
# FIX_LIB = -L/strangepath/lib
FIX_INCLUDE =
FIX_LIB =
# To change the compiler switches, for example to change from -O
# to -g, change the following line:
EXTRA_CFLAGS = @CFLAGS@
# Default top-level directories in which to install architecture-
# specific files (exec_prefix) and machine-independent files such
# as scripts (prefix). The values specified here may be overridden
# at configure-time with the --exec-prefix and --prefix options
# to the "configure" script.
prefix = @prefix@
exec_prefix = @exec_prefix@
# Pointer to the imap c-client directory
C_CLIENT = ${TOP_DIR}/imap-4.6.BETA/c-client
# Some versions of make, like SGI's, use the following variable to
# determine which shell to use for executing commands:
SHELL = /bin/sh
#----------------------------------------------------------------
# The information below is modified by the configure script when
# Makefile is generated from Makefile.in. You shouldn't normally
# modify any of this stuff by hand.
#----------------------------------------------------------------
CC = @CC@
INCLUDES = @TCL_INCLUDE@
TOP_DIR = @srcdir@/..
INSTALL = @INSTALL@
LIB_RUNTIME_DIR = @LIB_INSTALL_DIR@
LIB_INSTALL_DIR = @LIB_INSTALL_DIR@
TK_XINCLUDES = @TK_XINCLUDES@
TRANSFORM = @program_transform_name@
LIB_DIR = $(PREFIX)/lib/`echo postilion | sed '${TRANSFORM}'`
LINK_LIBS = @TCL_LD_SEARCH_FLAGS@ @TK_LD_SEARCH_FLAGS@ @TK_LIB_SPEC@ @TCL_LIB_SPEC@ @TK_LIBS@ @LIBS@
# If you need to use this, then you know what it is
#PURIFY = purify
###################################################
# You shouldn't need to touch anything below here #
###################################################
CFLAGS = ${EXTRA_CFLAGS} -I${C_CLIENT} ${INCLUDES} ${TK_XINCLUDES} ${FIX_INCLUDE} -I${C_CLIENT}
C_CLIENT_LIB = ${C_CLIENT}/c-client.a
LIBS = ${FIX_LIB} ${C_CLIENT_LIB} ${LINK_LIBS}
SRC = ratAppInit.c ratFolder.c ratStdFolder.c ratMessage.c ratCode.c \
ratAddress.c ratDbase.c ratDbFolder.c ratStdMessage.c ratDbMessage.c \
ratFrMessage.c ratSMTP.c ratDSN.c ratHold.c ratSender.c ratExp.c \
ratMailcap.c ratCompat.c ratPGP.c ratPGPprog.c
OBJ = ${SRC:.c=.o}
all: postilion.exec
clean:
rm -f ${OBJ} postilion.exec core *~
postilion.exec: ${OBJ} ${C_CLIENT}
${PURIFY} ${CC} ${CFLAGS} ${OBJ} ${LIBS} -o $@
install: postilion.exec
if test ! -d ${LIB_DIR} ; then\
${INSTALL} -d ${LIB_DIR} ;\
fi
${INSTALL} postilion.exec ${LIB_DIR}/postilion.exec
ratAddress.o: ratAddress.c rat.h ../config.h
ratAppInit.o: ratAppInit.c ratFolder.h rat.h ../config.h ratPGP.h
ratCode.o: ratCode.c rat.h ../config.h
ratCompat.o: ratCompat.c rat.h ../config.h
ratDSN.o: ratDSN.c ratFolder.h rat.h ../config.h
ratDbFolder.o: ratDbFolder.c ratFolder.h rat.h ../config.h
ratDbMessage.o: ratDbMessage.c ratFolder.h rat.h ../config.h
ratDbase.o: ratDbase.c ratFolder.h rat.h ../config.h
ratExp.o: ratExp.c ratFolder.h rat.h ../config.h
ratFolder.o: ratFolder.c ratFolder.h rat.h ../config.h
ratFrMessage.o: ratFrMessage.c ratFolder.h rat.h ../config.h
ratHold.o: ratHold.c rat.h ../config.h
ratMailcap.o: ratMailcap.c ratFolder.h rat.h ../config.h
ratMessage.o: ratMessage.c ratFolder.h rat.h ../config.h ratPGP.h
ratPGP.o: ratPGP.c ratFolder.h rat.h ../config.h ratPGP.h
ratPGPprog.o: ratPGPprog.c ratFolder.h rat.h ../config.h ratPGP.h
ratSMTP.o: ratSMTP.c rat.h ../config.h
ratSender.o: ratSender.c ratFolder.h rat.h ../config.h ratPGP.h
ratStdFolder.o: ratStdFolder.c ratStdFolder.h ratFolder.h rat.h ../config.h
ratStdMessage.o: ratStdMessage.c ratStdFolder.h ratFolder.h rat.h ../config.h
|