# Generated automatically from Makefile.in by configure. ############################################################################# # TkRat software and its included text is Copyright 1996-2002 by # # Martin Forssén. # # # # The full text of the legal notice is contained in the file called # # COPYRIGHT, included with this distribution. # ############################################################################# # If autoconf failed to locate the the tcl/tk include files 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. When you have edited the definition you must # rerun configure. # FIX_INCLUDE = -I/strangepath/include FIX_INCLUDE = # To change the compiler switches, for example to change from -O # to -g, change the following line: EXTRA_CFLAGS = -fno-common # Installation directories prefix = /usr/local exec_prefix = ${prefix} MAN_DIR = ${prefix}/man BIN_DIR = ${exec_prefix}/bin DATA_DIR = ${prefix}/share/`echo tkrat${VERSION} | sed '${TRANSFORM}'` LIB_DIR = ${exec_prefix}/lib/`echo tkrat${VERSION} | sed '${TRANSFORM}'` # Pointer to the imap c-client directory C_CLIENT = ${TOP_DIR}/imap/c-client # Used for development environment only ETAGS = /usr/local/bin/etags # 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 = -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4 -I/usr/X11R6/include TK_DEFS = TOP_DIR = ./.. SHLIB_CFLAGS = -fPIC SHLIB_LD = SHLIB_LD_LIBS = SHLIB_SUFFIX = SHLIB_LD_LIBS = VERSION = 2.1 RATLIB_SUFFIX = ${VERSION}${SHLIB_SUFFIX} INSTALL = /usr/bin/install -c -o root -g wheel TCLSH = /usr/local/bin/tclsh8.4 TRANSFORM = s,x,x, EXTRA_LIBS = INSTALL_PREFIX = ################################################### # You shouldn't need to touch anything below here # ################################################### CFLAGS = ${TK_DEFS} ${EXTRA_CFLAGS} -I${C_CLIENT} ${FIX_INCLUDE} ${INCLUDES} \ ${SHLIB_CFLAGS} -DVERSION=\"${VERSION}\" C_CLIENT_LIB = ${C_CLIENT}/c-client.a RATLIB = ratatosk${RATLIB_SUFFIX} DUMMYLIB = ratDummy${SHLIB_SUFFIX} HEADERS = rat.h ratFolder.h ratPGP.h ratStdFolder.h 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 ratPwCache.c \ ratDisFolder.c ratPrint.c ratWatchdog.c ratBusy.c OBJ = ${SRC:.c=.o} all: ${RATLIB} pkgIndex.tcl clean: rm -f ${OBJ} ${RATLIB} ratDummy.o ${DUMMYLIB} core pkgIndex.tcl ${RATLIB}: ${OBJ} ${C_CLIENT_LIB} ${SHLIB_LD} -o ${RATLIB} ${OBJ} ${C_CLIENT_LIB} $(EXTRA_LIBS) ${SHLIB_LD_LIBS} ${DUMMYLIB}: ratDummy.o ${SHLIB_LD} -o ${DUMMYLIB} ratDummy.o $(EXTRA_LIBS) ${SHLIB_LD_LIBS} pkgIndex.tcl: ${RATLIB} ${DUMMYLIB} echo "if [catch {load ./${DUMMYLIB}; \ load ./${RATLIB}; \ pkg_mkIndex . ${RATLIB}} error] \ {puts \$$error; exit 1}" | ${TCLSH} install.bin: ${RATLIB} ${DUMMYLIB} if test ! -d ${INSTALL_PREFIX}${LIB_DIR} ; then\ ${INSTALL} -m 0755 -d ${INSTALL_PREFIX}${LIB_DIR} ;\ fi ${INSTALL} -m 0755 ${RATLIB} ${INSTALL_PREFIX}${LIB_DIR}/${RATLIB} INST=${INSTALL_PREFIX}${LIB_DIR}; \ echo "if [catch {load ./${DUMMYLIB}; \ cd $$INST; \ pkg_mkIndex -load ./*${SHLIB_SUFFIX} . \ *${SHLIB_SUFFIX}} error] \ {puts \$$error; exit 1}" | ${TCLSH} install: install.bin tags-internal: ${ETAGS} --append --no-globals --output=../TAGS ${HEADERS} ${SRC} MD = ../imap/c-client/mail.h ../imap/c-client/linkage.h \ ../imap/c-client/tcp.h ../imap/c-client/nl.h \ ../imap/c-client/rfc822.h ../imap/c-client/env.h \ ../imap/c-client/smtp.h ../imap/c-client/misc.h ratAddress.o: ratAddress.c rat.h ../config.h ${MD} ratAppInit.o: Makefile ratAppInit.c ratFolder.h ratStdFolder.h rat.h \ ../config.h ratPGP.h ${MD} ratBusy.o: ratBusy.c rat.h ../config.h ${MD} ratCode.o: ratCode.c rat.h ../config.h ${MD} ratCompat.o: ratCompat.c rat.h ../config.h ${MD} ratDSN.o: ratDSN.c ratFolder.h rat.h ../config.h ${MD} ratDbFolder.o: ratDbFolder.c ratFolder.h rat.h ../config.h ${MD} ratDbMessage.o: ratDbMessage.c ratFolder.h rat.h ../config.h ${MD} ratDbase.o: ratDbase.c ratFolder.h rat.h ../config.h ${MD} ratDisFolder.o: ratDisFolder.c ratStdFolder.h ratFolder.h rat.h ../config.h \ ${MD} ../imap/c-client/mbx.h ratExp.o: ratExp.c ratFolder.h rat.h ../config.h ${MD} ratFolder.o: ratFolder.c ratFolder.h rat.h ../config.h ${MD} ratFrMessage.o: ratFrMessage.c ratFolder.h rat.h ../config.h ${MD} ratHold.o: ratHold.c rat.h ../config.h ${MD} ratMailcap.o: ratMailcap.c ratFolder.h rat.h ../config.h ${MD} ratMessage.o: ratMessage.c ratFolder.h rat.h ../config.h ratPGP.h ${MD} ratPGP.o: ratPGP.c ratFolder.h rat.h ../config.h ratPGP.h ${MD} ratPGPprog.o: ratPGPprog.c ratFolder.h rat.h ../config.h ratPGP.h ${MD} ratPrint.o: ratPrint.c ratFolder.h rat.h ../config.h ${MD} ratPwCache.o: ratPwCache.c rat.h ../config.h ${MD} \ ../imap/c-client/env_unix.h ratSMTP.o: ratSMTP.c rat.h ../config.h ${MD} ratSender.o: ratSender.c ratFolder.h rat.h ../config.h ratPGP.h ${MD} ratStdFolder.o: ratStdFolder.c ratStdFolder.h ratFolder.h rat.h ../config.h \ ${MD} ../imap/c-client/linkage.c ratStdMessage.o: ratStdMessage.c ratStdFolder.h ratFolder.h rat.h ../config.h \ ${MD} ratWatchdog.o: ratWatchdog.c rat.h ../config.h ${MD}