# Generated automatically from Makefile.in by configure.
# 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 = /bin/sh

srcdir      = .
top_srcdir  = .
prefix      = /usr/local
exec_prefix = ${prefix}

bindir     = ${exec_prefix}/bin
sysconfdir = ${prefix}/etc

INSTALL       = $(SHELL) /usr/bin/install -c -o root -g wheel
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 = 
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