# ImapProxy - a caching IMAP proxy daemon
# Copyright (C) 2002 Steven Van Acker
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sysconfdir = @sysconfdir@
INSTALL = $(SHELL) @INSTALL@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = config.h
OBJS=network.o output.o database.o splitstring.o configfile.o base64.o misc.o processing_parent.o processing_child.o parsed_message.o imapproxy.o
TARGET=imapproxy
CC = @CC@
CFLAGS = -O3 -I./include
CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
all: $(OBJS)
$(CC) $(CFLAGS) $(CPPFLAGS) $(OBJS) -o $(TARGET) $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
install:
@$(mkinstalldirs) $(DESTDIR)/$(bindir)
@$(INSTALL) $(srcdir)/imapproxy $(DESTDIR)$(bindir)/imapproxy
clean:
rm -f *~ *.o core $(TARGET)
syntax highlighted by Code2HTML, v. 0.9.1