# This rudimentary Makefile was generated automatically from Jamfile, so
# that people don't need to use Jam just to install the software. But if
# you want to do any development, or have unusual needs, using jam will
# make things a lot simpler. See <http://www.archiveopteryx.org/jam>.
#
# If you use any other operating system than Linux or FreeBSD, this
# Makefile is unlikely to work.
#
# In case of questions, please write to info@aox.org.
#
# There are three targets in this file: compile, install and clean.
#
# Here are the settable variables (see Jamsettings for comments):
PREFIX = /usr/local/archiveopteryx
BINDIR = /usr/local/archiveopteryx/bin
SBINDIR = /usr/local/archiveopteryx/sbin
MANDIR = /usr/local/archiveopteryx/man
LIBDIR = /usr/local/archiveopteryx/lib
INITDIR = /usr/local/archiveopteryx/lib
PIDFILEDIR = /usr/local/archiveopteryx/lib/pidfiles
JAILDIR = /usr/local/archiveopteryx/jail
MESSAGEDIR = /usr/local/archiveopteryx/jail/messages
CONFIGDIR = /usr/local/archiveopteryx
READMEDIR = /usr/local/archiveopteryx
LOGFILE = syslog/mail
LOGFILEMODE = 400
AOXUSER = aox
AOXGROUP = aox
LINKFLAGS = -g
EXEMODE = 555
PSQL = psql
DBADDRESS = 127.0.0.1
DBNAME = archiveopteryx
DBSCHEMA = public
DBOWNER = aoxsuper

# The optional variables (PGBIN etc) cannot be changed using Makefile.
# You must use jam if you want to change them.

# No user-modifiable parts below this point.

all: compile

# Target compile compiles everything unless the file 'compile' exists.
# It does not need root access and installs nothing.
compile:
	echo If the compile breaks, install jam and try jam install
	mkdir -p build
	mkdir -p build/gcc-O3
	mkdir -p build/gcc-O3/deliver
	g++ -c -o build/gcc-O3/deliver/aoxdeliver.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Ideliver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations deliver/aoxdeliver.cpp
	mkdir -p build/gcc-O3/db
	g++ -c -o build/gcc-O3/db/database.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/database.cpp
	g++ -c -o build/gcc-O3/db/postgres.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/postgres.cpp
	g++ -c -o build/gcc-O3/db/pgmessage.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/pgmessage.cpp
	g++ -c -o build/gcc-O3/db/query.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/query.cpp
	g++ -c -o build/gcc-O3/db/transaction.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/transaction.cpp
	    perl schema/list-downgrades > db/downgrades.inc < schema/downgrades ;
	g++ -c -o build/gcc-O3/db/schema.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/schema.cpp
	g++ -c -o build/gcc-O3/db/dbsignal.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/dbsignal.cpp
	    perl schema/list-privileges > db/privileges.inc ;
	g++ -c -o build/gcc-O3/db/granter.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/granter.cpp
	g++ -c -o build/gcc-O3/db/schemachecker.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Idb -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb db/schemachecker.cpp
	mkdir -p build/gcc-O3/message
	g++ -c -o build/gcc-O3/message/multipart.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/multipart.cpp
	g++ -c -o build/gcc-O3/message/message.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/message.cpp
	g++ -c -o build/gcc-O3/message/bodypart.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/bodypart.cpp
	g++ -c -o build/gcc-O3/message/header.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/header.cpp
	g++ -c -o build/gcc-O3/message/parser.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/parser.cpp
	g++ -c -o build/gcc-O3/message/field.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/field.cpp
	g++ -c -o build/gcc-O3/message/mimefields.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/mimefields.cpp
	g++ -c -o build/gcc-O3/message/datefield.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/datefield.cpp
	g++ -c -o build/gcc-O3/message/addressfield.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/addressfield.cpp
	    sed -e 's/;.*//' < message/root.zone -e 's/\. / /' | \
	        expand -8 | \
	        tr '[A-Z]' '[a-z]' | \
	        awk '/. ns / {print "{ " length($1) ", \"" $1 "\" },\n" }' | \
	        sort -u | \
	        sort -nrs -k2 > message/tld.inc
	g++ -c -o build/gcc-O3/message/address.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/address.cpp
	g++ -c -o build/gcc-O3/message/date.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/date.cpp
	g++ -c -o build/gcc-O3/message/flag.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/flag.cpp
	g++ -c -o build/gcc-O3/message/injector.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/injector.cpp
	g++ -c -o build/gcc-O3/message/fetcher.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/fetcher.cpp
	g++ -c -o build/gcc-O3/message/annotation.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/annotation.cpp
	g++ -c -o build/gcc-O3/message/dsn.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/dsn.cpp
	g++ -c -o build/gcc-O3/message/recipient.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/recipient.cpp
	g++ -c -o build/gcc-O3/message/listidfield.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/listidfield.cpp
	g++ -c -o build/gcc-O3/message/messagecache.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/messagecache.cpp
	g++ -c -o build/gcc-O3/message/helperrowcreator.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/helperrowcreator.cpp
	mkdir -p build/gcc-O3/server
	g++ -c -o build/gcc-O3/server/connection.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/connection.cpp
	g++ -c -o build/gcc-O3/server/endpoint.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/endpoint.cpp
	g++ -c -o build/gcc-O3/server/event.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/event.cpp
	g++ -c -o build/gcc-O3/server/logclient.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/logclient.cpp
	g++ -c -o build/gcc-O3/server/eventloop.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/eventloop.cpp
	g++ -c -o build/gcc-O3/server/server.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3 -DUSECACHE=1 -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/server.cpp
	g++ -c -o build/gcc-O3/server/timer.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/timer.cpp
	g++ -c -o build/gcc-O3/server/resolver.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/resolver.cpp
	g++ -c -o build/gcc-O3/server/graph.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/graph.cpp
	g++ -c -o build/gcc-O3/server/integerset.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/integerset.cpp
	g++ -c -o build/gcc-O3/server/egd.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/egd.cpp
	g++ -c -o build/gcc-O3/server/tlsthread.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/tlsthread.cpp
	g++ -c -o build/gcc-O3/server/session.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/session.cpp
	g++ -c -o build/gcc-O3/server/mailbox.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/mailbox.cpp
	g++ -c -o build/gcc-O3/server/permissions.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/permissions.cpp
	g++ -c -o build/gcc-O3/server/selector.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/selector.cpp
	mkdir -p build/gcc-O3/core
	g++ -c -o build/gcc-O3/core/global.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/global.cpp
	g++ -c -o build/gcc-O3/core/scope.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/scope.cpp
	g++ -c -o build/gcc-O3/core/estring.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/estring.cpp
	g++ -c -o build/gcc-O3/core/buffer.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/buffer.cpp
	g++ -c -o build/gcc-O3/core/list.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/list.cpp
	g++ -c -o build/gcc-O3/core/map.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/map.cpp
	g++ -c -o build/gcc-O3/core/dict.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/dict.cpp
	g++ -c -o build/gcc-O3/core/allocator.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/allocator.cpp
	g++ -c -o build/gcc-O3/core/md5.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/md5.cpp
	g++ -c -o build/gcc-O3/core/file.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/file.cpp
	g++ -c -o build/gcc-O3/core/logger.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/logger.cpp
	g++ -c -o build/gcc-O3/core/log.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/log.cpp
	g++ -c -o build/gcc-O3/core/configuration.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3 -DBINDIR='"$(BINDIR)"' -DSBINDIR='"$(SBINDIR)"' -DMANDIR='"$(MANDIR)"' -DLIBDIR='"$(LIBDIR)"' -DINITDIR='"$(INITDIR)"' -DJAILDIR='"$(JAILDIR)"' -DMESSAGEDIR='"$(MESSAGEDIR)"' -DCONFIGDIR='"$(CONFIGDIR)"' -DPIDFILEDIR='"$(PIDFILEDIR)"' -DLOGFILE='"$(LOGFILE)"' -DLOGFILEMODE='"$(LOGFILEMODE)"' -DDBADDRESS='"$(DBADDRESS)"' -DPGUSER='""' -DAOXUSER='"$(AOXUSER)"' -DAOXGROUP='"$(AOXGROUP)"' -DDBOWNER='"$(DBOWNER)"' -DDBNAME='"$(DBNAME)"' -DDBSCHEMA='"$(DBSCHEMA)"' -DVERSION='"3.2.0"' -Icore core/configuration.cpp
	g++ -c -o build/gcc-O3/core/estringlist.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/estringlist.cpp
	g++ -c -o build/gcc-O3/core/entropy.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/entropy.cpp
	g++ -c -o build/gcc-O3/core/stderrlogger.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/stderrlogger.cpp
	g++ -c -o build/gcc-O3/core/cache.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/cache.cpp
	g++ -c -o build/gcc-O3/core/patriciatree.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/patriciatree.cpp
	g++ -c -o build/gcc-O3/core/ustring.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/ustring.cpp
	g++ -c -o build/gcc-O3/core/ustringlist.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icore core/ustringlist.cpp
	mkdir -p build/gcc-O3/encodings
	g++ -c -o build/gcc-O3/encodings/codec.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/codec.cpp
	g++ -c -o build/gcc-O3/encodings/iso8859.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/iso8859.cpp
	g++ -c -o build/gcc-O3/encodings/cp.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp.cpp
	g++ -c -o build/gcc-O3/encodings/koi.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/koi.cpp
	g++ -c -o build/gcc-O3/encodings/mac.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/mac.cpp
	g++ -c -o build/gcc-O3/encodings/utf.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/utf.cpp
	g++ -c -o build/gcc-O3/encodings/unknown.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/unknown.cpp
	g++ -c -o build/gcc-O3/encodings/gb2312.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/gb2312.cpp
	g++ -c -o build/gcc-O3/encodings/gbk.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/gbk.cpp
	g++ -c -o build/gcc-O3/encodings/eucjp.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/eucjp.cpp
	g++ -c -o build/gcc-O3/encodings/iso2022jp.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/iso2022jp.cpp
	g++ -c -o build/gcc-O3/encodings/cp932.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp932.cpp
	g++ -c -o build/gcc-O3/encodings/cp950.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp950.cpp
	g++ -c -o build/gcc-O3/encodings/euckr.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/euckr.cpp
	g++ -c -o build/gcc-O3/encodings/cp949.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/cp949.cpp
	g++ -c -o build/gcc-O3/encodings/hproman8.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/hproman8.cpp
	g++ -c -o build/gcc-O3/encodings/viscii.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/viscii.cpp
	g++ -c -o build/gcc-O3/encodings/ebcdic.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iencodings -Iencodings/words -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings encodings/ebcdic.cpp
	g++ -c -o build/gcc-O3/server/user.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iserver -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations server/user.cpp
	mkdir -p build/gcc-O3/extractors
	g++ -c -o build/gcc-O3/extractors/html.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iextractors -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations extractors/html.cpp
	mkdir -p build/gcc-O3/abnf
	g++ -c -o build/gcc-O3/abnf/abnfparser.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iabnf -Icore -Iabnf abnf/abnfparser.cpp
	mkdir -p bin
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/aoxdeliver  build/gcc-O3/deliver/aoxdeliver.o build/gcc-O3/db/database.o build/gcc-O3/db/postgres.o build/gcc-O3/db/pgmessage.o build/gcc-O3/db/query.o build/gcc-O3/db/transaction.o build/gcc-O3/db/schema.o build/gcc-O3/db/dbsignal.o build/gcc-O3/db/granter.o build/gcc-O3/db/schemachecker.o build/gcc-O3/message/multipart.o build/gcc-O3/message/message.o build/gcc-O3/message/bodypart.o build/gcc-O3/message/header.o build/gcc-O3/message/parser.o build/gcc-O3/message/field.o build/gcc-O3/message/mimefields.o build/gcc-O3/message/datefield.o build/gcc-O3/message/addressfield.o build/gcc-O3/message/address.o build/gcc-O3/message/date.o build/gcc-O3/message/flag.o build/gcc-O3/message/injector.o build/gcc-O3/message/fetcher.o build/gcc-O3/message/annotation.o build/gcc-O3/message/dsn.o build/gcc-O3/message/recipient.o build/gcc-O3/message/listidfield.o build/gcc-O3/message/messagecache.o build/gcc-O3/message/helperrowcreator.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/server/session.o build/gcc-O3/server/mailbox.o build/gcc-O3/server/permissions.o build/gcc-O3/server/selector.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o build/gcc-O3/core/ustring.o build/gcc-O3/core/ustringlist.o build/gcc-O3/encodings/codec.o build/gcc-O3/encodings/iso8859.o build/gcc-O3/encodings/cp.o build/gcc-O3/encodings/koi.o build/gcc-O3/encodings/mac.o build/gcc-O3/encodings/utf.o build/gcc-O3/encodings/unknown.o build/gcc-O3/encodings/gb2312.o build/gcc-O3/encodings/gbk.o build/gcc-O3/encodings/eucjp.o build/gcc-O3/encodings/iso2022jp.o build/gcc-O3/encodings/cp932.o build/gcc-O3/encodings/cp950.o build/gcc-O3/encodings/euckr.o build/gcc-O3/encodings/cp949.o build/gcc-O3/encodings/hproman8.o build/gcc-O3/encodings/viscii.o build/gcc-O3/encodings/ebcdic.o build/gcc-O3/server/user.o build/gcc-O3/extractors/html.o build/gcc-O3/abnf/abnfparser.o  `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"` `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/aoxdeliver
	mkdir -p doc/man
	mkdir -p doc/man/man5
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/archiveopteryx.conf.man > doc/man/man5/archiveopteryx.conf.5
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/aoxsuper.conf.man > doc/man/man5/aoxsuper.conf.5
	mkdir -p doc/man/man8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/aoximport.man > doc/man/man8/aoximport.8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/aox.man > doc/man/man8/aox.8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/archiveopteryx.man > doc/man/man8/archiveopteryx.8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/aoxdeliver.man > doc/man/man8/aoxdeliver.8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/installer.man > doc/man/man8/installer.8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/logd.man > doc/man/man8/logd.8
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/recorder.man > doc/man/man8/recorder.8
	mkdir -p build/gcc-O3/logd
	g++ -c -o build/gcc-O3/logd/logd.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Ilogd -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd logd/logd.cpp
	g++ -c -o build/gcc-O3/logd/logserver.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Ilogd -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd logd/logserver.cpp
	g++ -c -o build/gcc-O3/logd/selflogger.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Ilogd -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd logd/selflogger.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/logd  build/gcc-O3/logd/logd.o build/gcc-O3/logd/logserver.o build/gcc-O3/logd/selflogger.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o  `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/logd
	mkdir -p build/gcc-O3/aox
	g++ -c -o build/gcc-O3/aox/aox.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/aox.cpp
	g++ -c -o build/gcc-O3/aox/aoxcommand.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/aoxcommand.cpp
	g++ -c -o build/gcc-O3/aox/aliases.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/aliases.cpp
	    cat buildinfo ./buildinfo.release | \
	    sed -e 's/#.*//' -e 's/[\\"]/\\&/g'| \
	    grep . | \
	    sed -e 's/\(.*\)/"\1",/' > aox/buildinfo.inc
	g++ -c -o build/gcc-O3/aox/servers.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/servers.cpp
	g++ -c -o build/gcc-O3/aox/db.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/db.cpp
	g++ -c -o build/gcc-O3/aox/reparse.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/reparse.cpp
	g++ -c -o build/gcc-O3/aox/anonymise.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/anonymise.cpp
	g++ -c -o build/gcc-O3/aox/mailboxes.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/mailboxes.cpp
	g++ -c -o build/gcc-O3/aox/users.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/users.cpp
	g++ -c -o build/gcc-O3/aox/stats.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/stats.cpp
	g++ -c -o build/gcc-O3/aox/updatedb.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/updatedb.cpp
	g++ -c -o build/gcc-O3/aox/rights.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/rights.cpp
	g++ -c -o build/gcc-O3/aox/help.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/help.cpp
	g++ -c -o build/gcc-O3/aox/undelete.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/undelete.cpp
	g++ -c -o build/gcc-O3/aox/queue.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/queue.cpp
	g++ -c -o build/gcc-O3/aox/search.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/search.cpp
	g++ -c -o build/gcc-O3/aox/retention.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/retention.cpp
	g++ -c -o build/gcc-O3/aox/searchsyntax.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaox -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox aox/searchsyntax.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/aox  build/gcc-O3/aox/aox.o build/gcc-O3/aox/aoxcommand.o build/gcc-O3/aox/aliases.o build/gcc-O3/aox/servers.o build/gcc-O3/aox/db.o build/gcc-O3/aox/reparse.o build/gcc-O3/aox/anonymise.o build/gcc-O3/aox/mailboxes.o build/gcc-O3/aox/users.o build/gcc-O3/aox/stats.o build/gcc-O3/aox/updatedb.o build/gcc-O3/aox/rights.o build/gcc-O3/aox/help.o build/gcc-O3/aox/undelete.o build/gcc-O3/aox/queue.o build/gcc-O3/aox/search.o build/gcc-O3/aox/retention.o build/gcc-O3/aox/searchsyntax.o build/gcc-O3/db/database.o build/gcc-O3/db/postgres.o build/gcc-O3/db/pgmessage.o build/gcc-O3/db/query.o build/gcc-O3/db/transaction.o build/gcc-O3/db/schema.o build/gcc-O3/db/dbsignal.o build/gcc-O3/db/granter.o build/gcc-O3/db/schemachecker.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/server/session.o build/gcc-O3/server/mailbox.o build/gcc-O3/server/permissions.o build/gcc-O3/server/selector.o build/gcc-O3/message/multipart.o build/gcc-O3/message/message.o build/gcc-O3/message/bodypart.o build/gcc-O3/message/header.o build/gcc-O3/message/parser.o build/gcc-O3/message/field.o build/gcc-O3/message/mimefields.o build/gcc-O3/message/datefield.o build/gcc-O3/message/addressfield.o build/gcc-O3/message/address.o build/gcc-O3/message/date.o build/gcc-O3/message/flag.o build/gcc-O3/message/injector.o build/gcc-O3/message/fetcher.o build/gcc-O3/message/annotation.o build/gcc-O3/message/dsn.o build/gcc-O3/message/recipient.o build/gcc-O3/message/listidfield.o build/gcc-O3/message/messagecache.o build/gcc-O3/message/helperrowcreator.o build/gcc-O3/server/user.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o build/gcc-O3/core/ustring.o build/gcc-O3/core/ustringlist.o build/gcc-O3/encodings/codec.o build/gcc-O3/encodings/iso8859.o build/gcc-O3/encodings/cp.o build/gcc-O3/encodings/koi.o build/gcc-O3/encodings/mac.o build/gcc-O3/encodings/utf.o build/gcc-O3/encodings/unknown.o build/gcc-O3/encodings/gb2312.o build/gcc-O3/encodings/gbk.o build/gcc-O3/encodings/eucjp.o build/gcc-O3/encodings/iso2022jp.o build/gcc-O3/encodings/cp932.o build/gcc-O3/encodings/cp950.o build/gcc-O3/encodings/euckr.o build/gcc-O3/encodings/cp949.o build/gcc-O3/encodings/hproman8.o build/gcc-O3/encodings/viscii.o build/gcc-O3/encodings/ebcdic.o build/gcc-O3/extractors/html.o build/gcc-O3/abnf/abnfparser.o  `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"` `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/aox
	mkdir -p build/gcc-O3/recorder
	g++ -c -o build/gcc-O3/recorder/recorder.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Irecorder -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox recorder/recorder.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/recorder  build/gcc-O3/recorder/recorder.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o  `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/recorder
	mkdir -p build/gcc-O3/installer
	g++ -c -o build/gcc-O3/installer/installer.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3 -DLIBDIR='"$(LIBDIR)"' -DCONFIGDIR='"$(CONFIGDIR)"' -DLOGFILE='"$(LOGFILE)"' -DLOGFILEMODE='"$(LOGFILEMODE)"' -DPSQL='"$(PSQL)"' -DDBNAME='"$(DBNAME)"' -DDBSCHEMA='"$(DBSCHEMA)"' -DDBOWNER='"$(DBOWNER)"' -DDBOWNERPASS='"$(DBOWNERPASS)"' -DDBPASS='"$(DBPASS)"' -Iinstaller -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox installer/installer.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/installer  build/gcc-O3/installer/installer.o build/gcc-O3/db/database.o build/gcc-O3/db/postgres.o build/gcc-O3/db/pgmessage.o build/gcc-O3/db/query.o build/gcc-O3/db/transaction.o build/gcc-O3/db/schema.o build/gcc-O3/db/dbsignal.o build/gcc-O3/db/granter.o build/gcc-O3/db/schemachecker.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/server/session.o build/gcc-O3/server/mailbox.o build/gcc-O3/server/permissions.o build/gcc-O3/server/selector.o build/gcc-O3/message/multipart.o build/gcc-O3/message/message.o build/gcc-O3/message/bodypart.o build/gcc-O3/message/header.o build/gcc-O3/message/parser.o build/gcc-O3/message/field.o build/gcc-O3/message/mimefields.o build/gcc-O3/message/datefield.o build/gcc-O3/message/addressfield.o build/gcc-O3/message/address.o build/gcc-O3/message/date.o build/gcc-O3/message/flag.o build/gcc-O3/message/injector.o build/gcc-O3/message/fetcher.o build/gcc-O3/message/annotation.o build/gcc-O3/message/dsn.o build/gcc-O3/message/recipient.o build/gcc-O3/message/listidfield.o build/gcc-O3/message/messagecache.o build/gcc-O3/message/helperrowcreator.o build/gcc-O3/server/user.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o build/gcc-O3/core/ustring.o build/gcc-O3/core/ustringlist.o build/gcc-O3/encodings/codec.o build/gcc-O3/encodings/iso8859.o build/gcc-O3/encodings/cp.o build/gcc-O3/encodings/koi.o build/gcc-O3/encodings/mac.o build/gcc-O3/encodings/utf.o build/gcc-O3/encodings/unknown.o build/gcc-O3/encodings/gb2312.o build/gcc-O3/encodings/gbk.o build/gcc-O3/encodings/eucjp.o build/gcc-O3/encodings/iso2022jp.o build/gcc-O3/encodings/cp932.o build/gcc-O3/encodings/cp950.o build/gcc-O3/encodings/euckr.o build/gcc-O3/encodings/cp949.o build/gcc-O3/encodings/hproman8.o build/gcc-O3/encodings/viscii.o build/gcc-O3/encodings/ebcdic.o build/gcc-O3/extractors/html.o build/gcc-O3/abnf/abnfparser.o  `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"` `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/installer
	mkdir -p build/gcc-O3/archiveopteryx
	g++ -c -o build/gcc-O3/archiveopteryx/archiveopteryx.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iarchiveopteryx -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop archiveopteryx/archiveopteryx.cpp
	mkdir -p build/gcc-O3/imap
	mkdir -p build/gcc-O3/imap/handlers
	g++ -c -o build/gcc-O3/imap/handlers/acl.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/acl.cpp
	g++ -c -o build/gcc-O3/imap/handlers/authenticate.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/authenticate.cpp
	g++ -c -o build/gcc-O3/imap/handlers/append.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/append.cpp
	g++ -c -o build/gcc-O3/imap/handlers/capability.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/capability.cpp
	g++ -c -o build/gcc-O3/imap/handlers/close.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/close.cpp
	g++ -c -o build/gcc-O3/imap/handlers/compress.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/compress.cpp
	g++ -c -o build/gcc-O3/imap/handlers/copy.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/copy.cpp
	g++ -c -o build/gcc-O3/imap/handlers/create.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/create.cpp
	g++ -c -o build/gcc-O3/imap/handlers/delete.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/delete.cpp
	g++ -c -o build/gcc-O3/imap/handlers/enable.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/enable.cpp
	g++ -c -o build/gcc-O3/imap/handlers/expunge.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/expunge.cpp
	g++ -c -o build/gcc-O3/imap/handlers/fetch.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/fetch.cpp
	g++ -c -o build/gcc-O3/imap/handlers/genurlauth.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/genurlauth.cpp
	g++ -c -o build/gcc-O3/imap/handlers/id.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/id.cpp
	g++ -c -o build/gcc-O3/imap/handlers/idle.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/idle.cpp
	g++ -c -o build/gcc-O3/imap/handlers/listext.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/listext.cpp
	g++ -c -o build/gcc-O3/imap/handlers/login.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/login.cpp
	g++ -c -o build/gcc-O3/imap/handlers/logout.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/logout.cpp
	g++ -c -o build/gcc-O3/imap/handlers/lsub.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/lsub.cpp
	g++ -c -o build/gcc-O3/imap/handlers/move.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/move.cpp
	g++ -c -o build/gcc-O3/imap/handlers/namespace.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/namespace.cpp
	g++ -c -o build/gcc-O3/imap/handlers/noop.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/noop.cpp
	g++ -c -o build/gcc-O3/imap/handlers/notify.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/notify.cpp
	g++ -c -o build/gcc-O3/imap/handlers/quota.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/quota.cpp
	g++ -c -o build/gcc-O3/imap/handlers/rename.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/rename.cpp
	g++ -c -o build/gcc-O3/imap/handlers/resetkey.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/resetkey.cpp
	g++ -c -o build/gcc-O3/imap/handlers/search.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/search.cpp
	g++ -c -o build/gcc-O3/imap/handlers/select.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/select.cpp
	g++ -c -o build/gcc-O3/imap/handlers/sort.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/sort.cpp
	g++ -c -o build/gcc-O3/imap/handlers/starttls.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/starttls.cpp
	g++ -c -o build/gcc-O3/imap/handlers/status.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/status.cpp
	g++ -c -o build/gcc-O3/imap/handlers/store.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/store.cpp
	g++ -c -o build/gcc-O3/imap/handlers/subscribe.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/subscribe.cpp
	g++ -c -o build/gcc-O3/imap/handlers/thread.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/thread.cpp
	g++ -c -o build/gcc-O3/imap/handlers/unselect.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/unselect.cpp
	g++ -c -o build/gcc-O3/imap/handlers/urlfetch.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap/handlers -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/handlers/urlfetch.cpp
	g++ -c -o build/gcc-O3/imap/imap.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imap.cpp
	g++ -c -o build/gcc-O3/imap/imapparser.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapparser.cpp
	g++ -c -o build/gcc-O3/imap/imapsession.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapsession.cpp
	g++ -c -o build/gcc-O3/imap/command.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/command.cpp
	g++ -c -o build/gcc-O3/imap/imapurl.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapurl.cpp
	g++ -c -o build/gcc-O3/imap/imapurlfetcher.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapurlfetcher.cpp
	g++ -c -o build/gcc-O3/imap/imapresponse.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/imapresponse.cpp
	g++ -c -o build/gcc-O3/imap/mailboxgroup.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/mailboxgroup.cpp
	g++ -c -o build/gcc-O3/imap/eventmap.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Iimap -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap imap/eventmap.cpp
	mkdir -p build/gcc-O3/pop
	g++ -c -o build/gcc-O3/pop/pop.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Ipop -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop pop/pop.cpp
	g++ -c -o build/gcc-O3/pop/popcommand.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Ipop -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop pop/popcommand.cpp
	mkdir -p build/gcc-O3/sieve
	g++ -c -o build/gcc-O3/sieve/managesieve.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/managesieve.cpp
	g++ -c -o build/gcc-O3/sieve/managesievecommand.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/managesievecommand.cpp
	g++ -c -o build/gcc-O3/sieve/sieveaction.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieveaction.cpp
	g++ -c -o build/gcc-O3/sieve/sievescript.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sievescript.cpp
	g++ -c -o build/gcc-O3/sieve/sieve.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieve.cpp
	g++ -c -o build/gcc-O3/sieve/sieveparser.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieveparser.cpp
	g++ -c -o build/gcc-O3/sieve/sieveproduction.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sieveproduction.cpp
	g++ -c -o build/gcc-O3/sieve/sievenotify.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isieve -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations sieve/sievenotify.cpp
	mkdir -p build/gcc-O3/smtp
	g++ -c -o build/gcc-O3/smtp/smtp.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtp.cpp
	g++ -c -o build/gcc-O3/smtp/smtpparser.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpparser.cpp
	g++ -c -o build/gcc-O3/smtp/smtpcommand.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpcommand.cpp
	g++ -c -o build/gcc-O3/smtp/smtphelo.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtphelo.cpp
	g++ -c -o build/gcc-O3/smtp/smtpmailrcpt.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpmailrcpt.cpp
	g++ -c -o build/gcc-O3/smtp/smtpauth.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpauth.cpp
	g++ -c -o build/gcc-O3/smtp/smtpdata.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/smtpdata.cpp
	g++ -c -o build/gcc-O3/smtp/spoolmanager.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/spoolmanager.cpp
	g++ -c -o build/gcc-O3/smtp/deliveryagent.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Ismtp -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations smtp/deliveryagent.cpp
	g++ -c -o build/gcc-O3/message/smtpclient.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Imessage -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations message/smtpclient.cpp
	mkdir -p build/gcc-O3/sasl
	g++ -c -o build/gcc-O3/sasl/mechanism.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/mechanism.cpp
	g++ -c -o build/gcc-O3/sasl/plain.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/plain.cpp
	g++ -c -o build/gcc-O3/sasl/anonymous.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/anonymous.cpp
	g++ -c -o build/gcc-O3/sasl/cram-md5.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/cram-md5.cpp
	g++ -c -o build/gcc-O3/sasl/digest-md5.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/digest-md5.cpp
	g++ -c -o build/gcc-O3/sasl/sasllogin.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/sasllogin.cpp
	g++ -c -o build/gcc-O3/sasl/saslconnection.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/saslconnection.cpp
	g++ -c -o build/gcc-O3/sasl/ldaprelay.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Isasl -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl sasl/ldaprelay.cpp
	mkdir -p build/gcc-O3/collations
	g++ -c -o build/gcc-O3/collations/collation.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/collation.cpp
	g++ -c -o build/gcc-O3/collations/octet.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/octet.cpp
	g++ -c -o build/gcc-O3/collations/ascii-numeric.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/ascii-numeric.cpp
	g++ -c -o build/gcc-O3/collations/ascii-casemap.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -O3  -Icollations -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations collations/ascii-casemap.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/archiveopteryx  build/gcc-O3/archiveopteryx/archiveopteryx.o build/gcc-O3/imap/handlers/acl.o build/gcc-O3/imap/handlers/authenticate.o build/gcc-O3/imap/handlers/append.o build/gcc-O3/imap/handlers/capability.o build/gcc-O3/imap/handlers/close.o build/gcc-O3/imap/handlers/compress.o build/gcc-O3/imap/handlers/copy.o build/gcc-O3/imap/handlers/create.o build/gcc-O3/imap/handlers/delete.o build/gcc-O3/imap/handlers/enable.o build/gcc-O3/imap/handlers/expunge.o build/gcc-O3/imap/handlers/fetch.o build/gcc-O3/imap/handlers/genurlauth.o build/gcc-O3/imap/handlers/id.o build/gcc-O3/imap/handlers/idle.o build/gcc-O3/imap/handlers/listext.o build/gcc-O3/imap/handlers/login.o build/gcc-O3/imap/handlers/logout.o build/gcc-O3/imap/handlers/lsub.o build/gcc-O3/imap/handlers/move.o build/gcc-O3/imap/handlers/namespace.o build/gcc-O3/imap/handlers/noop.o build/gcc-O3/imap/handlers/notify.o build/gcc-O3/imap/handlers/quota.o build/gcc-O3/imap/handlers/rename.o build/gcc-O3/imap/handlers/resetkey.o build/gcc-O3/imap/handlers/search.o build/gcc-O3/imap/handlers/select.o build/gcc-O3/imap/handlers/sort.o build/gcc-O3/imap/handlers/starttls.o build/gcc-O3/imap/handlers/status.o build/gcc-O3/imap/handlers/store.o build/gcc-O3/imap/handlers/subscribe.o build/gcc-O3/imap/handlers/thread.o build/gcc-O3/imap/handlers/unselect.o build/gcc-O3/imap/handlers/urlfetch.o build/gcc-O3/imap/imap.o build/gcc-O3/imap/imapparser.o build/gcc-O3/imap/imapsession.o build/gcc-O3/imap/command.o build/gcc-O3/imap/imapurl.o build/gcc-O3/imap/imapurlfetcher.o build/gcc-O3/imap/imapresponse.o build/gcc-O3/imap/mailboxgroup.o build/gcc-O3/imap/eventmap.o build/gcc-O3/pop/pop.o build/gcc-O3/pop/popcommand.o build/gcc-O3/sieve/managesieve.o build/gcc-O3/sieve/managesievecommand.o build/gcc-O3/sieve/sieveaction.o build/gcc-O3/sieve/sievescript.o build/gcc-O3/sieve/sieve.o build/gcc-O3/sieve/sieveparser.o build/gcc-O3/sieve/sieveproduction.o build/gcc-O3/sieve/sievenotify.o build/gcc-O3/smtp/smtp.o build/gcc-O3/smtp/smtpparser.o build/gcc-O3/smtp/smtpcommand.o build/gcc-O3/smtp/smtphelo.o build/gcc-O3/smtp/smtpmailrcpt.o build/gcc-O3/smtp/smtpauth.o build/gcc-O3/smtp/smtpdata.o build/gcc-O3/smtp/spoolmanager.o build/gcc-O3/smtp/deliveryagent.o build/gcc-O3/message/smtpclient.o build/gcc-O3/db/database.o build/gcc-O3/db/postgres.o build/gcc-O3/db/pgmessage.o build/gcc-O3/db/query.o build/gcc-O3/db/transaction.o build/gcc-O3/db/schema.o build/gcc-O3/db/dbsignal.o build/gcc-O3/db/granter.o build/gcc-O3/db/schemachecker.o build/gcc-O3/message/multipart.o build/gcc-O3/message/message.o build/gcc-O3/message/bodypart.o build/gcc-O3/message/header.o build/gcc-O3/message/parser.o build/gcc-O3/message/field.o build/gcc-O3/message/mimefields.o build/gcc-O3/message/datefield.o build/gcc-O3/message/addressfield.o build/gcc-O3/message/address.o build/gcc-O3/message/date.o build/gcc-O3/message/flag.o build/gcc-O3/message/injector.o build/gcc-O3/message/fetcher.o build/gcc-O3/message/annotation.o build/gcc-O3/message/dsn.o build/gcc-O3/message/recipient.o build/gcc-O3/message/listidfield.o build/gcc-O3/message/messagecache.o build/gcc-O3/message/helperrowcreator.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/sasl/mechanism.o build/gcc-O3/sasl/plain.o build/gcc-O3/sasl/anonymous.o build/gcc-O3/sasl/cram-md5.o build/gcc-O3/sasl/digest-md5.o build/gcc-O3/sasl/sasllogin.o build/gcc-O3/sasl/saslconnection.o build/gcc-O3/sasl/ldaprelay.o build/gcc-O3/server/session.o build/gcc-O3/server/mailbox.o build/gcc-O3/server/permissions.o build/gcc-O3/server/selector.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o build/gcc-O3/core/ustring.o build/gcc-O3/core/ustringlist.o build/gcc-O3/encodings/codec.o build/gcc-O3/encodings/iso8859.o build/gcc-O3/encodings/cp.o build/gcc-O3/encodings/koi.o build/gcc-O3/encodings/mac.o build/gcc-O3/encodings/utf.o build/gcc-O3/encodings/unknown.o build/gcc-O3/encodings/gb2312.o build/gcc-O3/encodings/gbk.o build/gcc-O3/encodings/eucjp.o build/gcc-O3/encodings/iso2022jp.o build/gcc-O3/encodings/cp932.o build/gcc-O3/encodings/cp950.o build/gcc-O3/encodings/euckr.o build/gcc-O3/encodings/cp949.o build/gcc-O3/encodings/hproman8.o build/gcc-O3/encodings/viscii.o build/gcc-O3/encodings/ebcdic.o build/gcc-O3/server/user.o build/gcc-O3/extractors/html.o build/gcc-O3/abnf/abnfparser.o build/gcc-O3/collations/collation.o build/gcc-O3/collations/octet.o build/gcc-O3/collations/ascii-numeric.o build/gcc-O3/collations/ascii-casemap.o  `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"` `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/archiveopteryx
	mkdir -p build/gcc-O3/aoximport
	g++ -c -o build/gcc-O3/aoximport/aoximport.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/aoximport.cpp
	g++ -c -o build/gcc-O3/aoximport/migrator.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/migrator.cpp
	g++ -c -o build/gcc-O3/aoximport/dirtree.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/dirtree.cpp
	g++ -c -o build/gcc-O3/aoximport/mbox.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/mbox.cpp
	g++ -c -o build/gcc-O3/aoximport/cyrus.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/cyrus.cpp
	g++ -c -o build/gcc-O3/aoximport/mh.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/mh.cpp
	g++ -c -o build/gcc-O3/aoximport/maildir.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoximport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoximport/maildir.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/aoximport  build/gcc-O3/aoximport/aoximport.o build/gcc-O3/aoximport/migrator.o build/gcc-O3/aoximport/dirtree.o build/gcc-O3/aoximport/mbox.o build/gcc-O3/aoximport/cyrus.o build/gcc-O3/aoximport/mh.o build/gcc-O3/aoximport/maildir.o build/gcc-O3/db/database.o build/gcc-O3/db/postgres.o build/gcc-O3/db/pgmessage.o build/gcc-O3/db/query.o build/gcc-O3/db/transaction.o build/gcc-O3/db/schema.o build/gcc-O3/db/dbsignal.o build/gcc-O3/db/granter.o build/gcc-O3/db/schemachecker.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/server/session.o build/gcc-O3/server/mailbox.o build/gcc-O3/server/permissions.o build/gcc-O3/server/selector.o build/gcc-O3/message/multipart.o build/gcc-O3/message/message.o build/gcc-O3/message/bodypart.o build/gcc-O3/message/header.o build/gcc-O3/message/parser.o build/gcc-O3/message/field.o build/gcc-O3/message/mimefields.o build/gcc-O3/message/datefield.o build/gcc-O3/message/addressfield.o build/gcc-O3/message/address.o build/gcc-O3/message/date.o build/gcc-O3/message/flag.o build/gcc-O3/message/injector.o build/gcc-O3/message/fetcher.o build/gcc-O3/message/annotation.o build/gcc-O3/message/dsn.o build/gcc-O3/message/recipient.o build/gcc-O3/message/listidfield.o build/gcc-O3/message/messagecache.o build/gcc-O3/message/helperrowcreator.o build/gcc-O3/server/user.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o build/gcc-O3/core/ustring.o build/gcc-O3/core/ustringlist.o build/gcc-O3/encodings/codec.o build/gcc-O3/encodings/iso8859.o build/gcc-O3/encodings/cp.o build/gcc-O3/encodings/koi.o build/gcc-O3/encodings/mac.o build/gcc-O3/encodings/utf.o build/gcc-O3/encodings/unknown.o build/gcc-O3/encodings/gb2312.o build/gcc-O3/encodings/gbk.o build/gcc-O3/encodings/eucjp.o build/gcc-O3/encodings/iso2022jp.o build/gcc-O3/encodings/cp932.o build/gcc-O3/encodings/cp950.o build/gcc-O3/encodings/euckr.o build/gcc-O3/encodings/cp949.o build/gcc-O3/encodings/hproman8.o build/gcc-O3/encodings/viscii.o build/gcc-O3/encodings/ebcdic.o build/gcc-O3/extractors/html.o build/gcc-O3/abnf/abnfparser.o  `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"` `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/aoximport
	mkdir -p build/gcc-O3/aoxexport
	g++ -c -o build/gcc-O3/aoxexport/aoxexport.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoxexport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoxexport/aoxexport.cpp
	g++ -c -o build/gcc-O3/aoxexport/exporter.o -g -Werror -funsigned-char -W -Wall -Wno-unused-result -pthread -O3  -Iaoxexport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb -Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop aoxexport/exporter.cpp
	g++ $(LINKFLAGS) -pthread `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lm -o bin/aoxexport  build/gcc-O3/aoxexport/aoxexport.o build/gcc-O3/aoxexport/exporter.o build/gcc-O3/db/database.o build/gcc-O3/db/postgres.o build/gcc-O3/db/pgmessage.o build/gcc-O3/db/query.o build/gcc-O3/db/transaction.o build/gcc-O3/db/schema.o build/gcc-O3/db/dbsignal.o build/gcc-O3/db/granter.o build/gcc-O3/db/schemachecker.o build/gcc-O3/server/connection.o build/gcc-O3/server/endpoint.o build/gcc-O3/server/event.o build/gcc-O3/server/logclient.o build/gcc-O3/server/eventloop.o build/gcc-O3/server/server.o build/gcc-O3/server/timer.o build/gcc-O3/server/resolver.o build/gcc-O3/server/graph.o build/gcc-O3/server/integerset.o build/gcc-O3/server/egd.o build/gcc-O3/server/tlsthread.o build/gcc-O3/server/session.o build/gcc-O3/server/mailbox.o build/gcc-O3/server/permissions.o build/gcc-O3/server/selector.o build/gcc-O3/message/multipart.o build/gcc-O3/message/message.o build/gcc-O3/message/bodypart.o build/gcc-O3/message/header.o build/gcc-O3/message/parser.o build/gcc-O3/message/field.o build/gcc-O3/message/mimefields.o build/gcc-O3/message/datefield.o build/gcc-O3/message/addressfield.o build/gcc-O3/message/address.o build/gcc-O3/message/date.o build/gcc-O3/message/flag.o build/gcc-O3/message/injector.o build/gcc-O3/message/fetcher.o build/gcc-O3/message/annotation.o build/gcc-O3/message/dsn.o build/gcc-O3/message/recipient.o build/gcc-O3/message/listidfield.o build/gcc-O3/message/messagecache.o build/gcc-O3/message/helperrowcreator.o build/gcc-O3/server/user.o build/gcc-O3/core/global.o build/gcc-O3/core/scope.o build/gcc-O3/core/estring.o build/gcc-O3/core/buffer.o build/gcc-O3/core/list.o build/gcc-O3/core/map.o build/gcc-O3/core/dict.o build/gcc-O3/core/allocator.o build/gcc-O3/core/md5.o build/gcc-O3/core/file.o build/gcc-O3/core/logger.o build/gcc-O3/core/log.o build/gcc-O3/core/configuration.o build/gcc-O3/core/estringlist.o build/gcc-O3/core/entropy.o build/gcc-O3/core/stderrlogger.o build/gcc-O3/core/cache.o build/gcc-O3/core/patriciatree.o build/gcc-O3/core/ustring.o build/gcc-O3/core/ustringlist.o build/gcc-O3/encodings/codec.o build/gcc-O3/encodings/iso8859.o build/gcc-O3/encodings/cp.o build/gcc-O3/encodings/koi.o build/gcc-O3/encodings/mac.o build/gcc-O3/encodings/utf.o build/gcc-O3/encodings/unknown.o build/gcc-O3/encodings/gb2312.o build/gcc-O3/encodings/gbk.o build/gcc-O3/encodings/eucjp.o build/gcc-O3/encodings/iso2022jp.o build/gcc-O3/encodings/cp932.o build/gcc-O3/encodings/cp950.o build/gcc-O3/encodings/euckr.o build/gcc-O3/encodings/cp949.o build/gcc-O3/encodings/hproman8.o build/gcc-O3/encodings/viscii.o build/gcc-O3/encodings/ebcdic.o build/gcc-O3/abnf/abnfparser.o build/gcc-O3/extractors/html.o build/gcc-O3/aox/searchsyntax.o  `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"` `uname | grep -Ei "linux|darwin" >/dev/null && echo "-lresolv"` -lssl `uname | grep -Ei "openbsd|darwin" >/dev/null || echo "-lcrypt"`o -lz 
	chmod $(EXEMODE) bin/aoxexport
	touch compile

# Target clean removes all files and directories 'compile' created.
clean:
	-rm -rf compile aox/buildinfo.inc bin/aox bin/aoxdeliver bin/aoxexport bin/aoximport bin/archiveopteryx bin/installer bin/logd bin/recorder db/downgrades.inc db/privileges.inc message/tld.inc doc/man build bin


# Target install needs root, and installs everything.
install: compile
	mkdir -p $(INSTALLROOT)$(BINDIR)
	cp -f bin/aoxdeliver $(INSTALLROOT)$(BINDIR)/aoxdeliver 
	chmod $(EXEMODE) $(INSTALLROOT)$(BINDIR)/aoxdeliver
	mkdir -p $(INSTALLROOT)$(READMEDIR)
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/readme/README > build/gcc-O3/README
	cp -f build/gcc-O3/README $(INSTALLROOT)$(READMEDIR)/README 
	chmod 644 $(INSTALLROOT)$(READMEDIR)/README
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/readme/COPYING > build/gcc-O3/COPYING
	cp -f build/gcc-O3/COPYING $(INSTALLROOT)$(READMEDIR)/COPYING 
	chmod 644 $(INSTALLROOT)$(READMEDIR)/COPYING
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < doc/readme/bsd.txt > build/gcc-O3/bsd.txt
	cp -f build/gcc-O3/bsd.txt $(INSTALLROOT)$(READMEDIR)/bsd.txt 
	chmod 644 $(INSTALLROOT)$(READMEDIR)/bsd.txt
	mkdir -p $(INSTALLROOT)$(MANDIR)
	mkdir -p $(INSTALLROOT)$(MANDIR)/man5
	cp -f doc/man/man5/archiveopteryx.conf.5 $(INSTALLROOT)$(MANDIR)/man5/archiveopteryx.conf.5 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man5/archiveopteryx.conf.5
	cp -f doc/man/man5/aoxsuper.conf.5 $(INSTALLROOT)$(MANDIR)/man5/aoxsuper.conf.5 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man5/aoxsuper.conf.5
	mkdir -p $(INSTALLROOT)$(MANDIR)/man8
	cp -f doc/man/man8/aoximport.8 $(INSTALLROOT)$(MANDIR)/man8/aoximport.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/aoximport.8
	cp -f doc/man/man8/aox.8 $(INSTALLROOT)$(MANDIR)/man8/aox.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/aox.8
	cp -f doc/man/man8/archiveopteryx.8 $(INSTALLROOT)$(MANDIR)/man8/archiveopteryx.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/archiveopteryx.8
	cp -f doc/man/man8/aoxdeliver.8 $(INSTALLROOT)$(MANDIR)/man8/aoxdeliver.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/aoxdeliver.8
	cp -f doc/man/man8/installer.8 $(INSTALLROOT)$(MANDIR)/man8/installer.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/installer.8
	cp -f doc/man/man8/logd.8 $(INSTALLROOT)$(MANDIR)/man8/logd.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/logd.8
	cp -f doc/man/man8/recorder.8 $(INSTALLROOT)$(MANDIR)/man8/recorder.8 
	chmod 644 $(INSTALLROOT)$(MANDIR)/man8/recorder.8
	mkdir -p $(INSTALLROOT)$(SBINDIR)
	cp -f bin/logd $(INSTALLROOT)$(SBINDIR)/logd 
	chmod $(EXEMODE) $(INSTALLROOT)$(SBINDIR)/logd
	cp -f bin/aox $(INSTALLROOT)$(BINDIR)/aox 
	chmod $(EXEMODE) $(INSTALLROOT)$(BINDIR)/aox
	cp -f bin/recorder $(INSTALLROOT)$(SBINDIR)/recorder 
	chmod $(EXEMODE) $(INSTALLROOT)$(SBINDIR)/recorder
	mkdir -p $(INSTALLROOT)$(LIBDIR)
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < schema/schema.pg > build/gcc-O3/schema.pg
	cp -f build/gcc-O3/schema.pg $(INSTALLROOT)$(LIBDIR)/schema.pg 
	chmod 644 $(INSTALLROOT)$(LIBDIR)/schema.pg
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < schema/flag-names > build/gcc-O3/flag-names
	cp -f build/gcc-O3/flag-names $(INSTALLROOT)$(LIBDIR)/flag-names 
	chmod 644 $(INSTALLROOT)$(LIBDIR)/flag-names
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < schema/field-names > build/gcc-O3/field-names
	cp -f build/gcc-O3/field-names $(INSTALLROOT)$(LIBDIR)/field-names 
	chmod 644 $(INSTALLROOT)$(LIBDIR)/field-names
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < schema/downgrades > build/gcc-O3/downgrades
	cp -f build/gcc-O3/downgrades $(INSTALLROOT)$(LIBDIR)/downgrades 
	chmod 644 $(INSTALLROOT)$(LIBDIR)/downgrades
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < schema/fts.pg > build/gcc-O3/fts.pg
	cp -f build/gcc-O3/fts.pg $(INSTALLROOT)$(LIBDIR)/fts.pg 
	chmod 644 $(INSTALLROOT)$(LIBDIR)/fts.pg
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < scripts/archiveopteryx > $(INSTALLROOT)$(INITDIR)/archiveopteryx
	chmod 755 $(INSTALLROOT)$(INITDIR)/archiveopteryx
	mkdir -p $(INSTALLROOT)$(LIBDIR)/contrib ;
	sed -e 's!$$BINDIR!'$(BINDIR)'!' \
	    -e 's!$$SBINDIR!'$(SBINDIR)'!' \
	    -e 's!$$MANDIR!'$(MANDIR)'!' \
	    -e 's!$$LIBDIR!'$(LIBDIR)'!' \
	    -e 's!$$INITDIR!'$(INITDIR)'!' \
	    -e 's!$$PIDFILEDIR!'$(PIDFILEDIR)'!' \
	    -e 's!$$JAILDIR!'$(JAILDIR)'!' \
	    -e 's!$$MESSAGEDIR!'$(MESSAGEDIR)'!' \
	    -e 's!$$CONFIGDIR!'$(CONFIGDIR)'!' \
	    -e 's!$$LOGFILEMODE!'$(LOGFILEMODE)'!' \
	    -e 's!$$LOGFILE!'$(LOGFILE)'!' \
	    -e 's!$$DBNAME!'$(DBNAME)'!' \
	    -e 's!$$DBSCHEMA!'$(DBSCHEMA)'!' \
	    -e 's!$$DBOWNER!'$(DBOWNER)'!' \
	    -e 's!$$DBADDRESS!'$(DBADDRESS)'!' \
	    -e 's!$$AOXUSER!'$(AOXUSER)'!' \
	    -e 's!$$AOXGROUP!'$(AOXGROUP)'!' \
	    -e 's!$$VERSION!'3.2.0'!' \
	    -e 's!$$PREFIX!'$(PREFIX)'!' \
	    < scripts/rrdglue > $(INSTALLROOT)$(LIBDIR)/contrib/rrdglue
	chmod 755 $(INSTALLROOT)$(LIBDIR)/contrib/rrdglue
	cp -f bin/installer $(INSTALLROOT)$(LIBDIR)/installer 
	chmod $(EXEMODE) $(INSTALLROOT)$(LIBDIR)/installer
	cp -f bin/archiveopteryx $(INSTALLROOT)$(SBINDIR)/archiveopteryx 
	chmod $(EXEMODE) $(INSTALLROOT)$(SBINDIR)/archiveopteryx
	cp -f bin/aoximport $(INSTALLROOT)$(BINDIR)/aoximport 
	chmod $(EXEMODE) $(INSTALLROOT)$(BINDIR)/aoximport
	cp -f bin/aoxexport $(INSTALLROOT)$(BINDIR)/aoxexport 
	chmod $(EXEMODE) $(INSTALLROOT)$(BINDIR)/aoxexport
	mkdir -p $(INSTALLROOT)$(JAILDIR) ;
	chmod 701 $(INSTALLROOT)$(JAILDIR)
	mkdir -p $(INSTALLROOT)$(JAILDIR)/var/run ;
	mkdir -p $(INSTALLROOT)$(MESSAGEDIR) ;
	chmod 700 $(INSTALLROOT)$(MESSAGEDIR)
	mkdir -p $(INSTALLROOT)$(PIDFILEDIR) ;
	mkdir -p $(INSTALLROOT)$(CONFIGDIR) ;
	@echo "" ; echo "  To set up the database and generate a configuration file, run $(LIBDIR)/installer as root. The new configuration file will be in $(CONFIGDIR)/archiveopteryx.conf." | fmt ; echo
	@echo "  $(LIBDIR)/installer -n shows what it would do, without making any changes. (If you are just upgrading from an older version, $(BINDIR)/aox upgrade schema may be enough.  $(BINDIR)/aox upgrade schema -n shows what it would do, without making any changes.)" | fmt ; echo
	@echo "  The logfile is $(LOGFILE) by default and man pages are in $(MANDIR)." | fmt ; echo
	@echo "  If you have any problems, the FAQ is at http://www.archiveopteryx.org/faq/ and you can always ask info@aox.org for help." | fmt ; echo

# This is the end. See the Jamfile for the real build system.
