##
#
# core/Makefile
#   Makefile of core part of IIRC
#
# $Id: Makefile.in,v 1.1 2002/01/24 20:26:16 sembera Exp $
#
##
#
# IIRC - IIRC Is a Real Client (Modular IRC Client)
# Copyright (C) 2001,2002  Jan Sembera <fis@ji.cz>
# Copyright (C) 2001,2002  Petr Baudis <pasky@ji.cz>
#
# 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
#
##

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sysconfdir = @sysconfdir@
libdir = @libdir@
datadir = @datadir@
includedir = @includedir@
VERSION = @VERSION@
install = @INSTALL@

CC = @CC@
MAKE = @MAKE@
CFLAGS = @CFLAGS@ -I../../include
LDFLAGS = @LDFLAGS@
DEFS = @DEFS@
LIBS = @LIBS@

OBJECTS=main.o hooks.o signal.o

all:	core

core:	core.a

.PHONY:	core.a
core.a:	$(OBJECTS)
	ar r $@ $(OBJECTS)
	cp core.a ..

main.o: iface.h ../back/iface.h ../front/iface.h ../back/irc_ip4.h ../front/dummy.h core.h
hooks.o: core.h
signal.o: 

.PHONY:	clean
clean:
	rm -f *~ *.o *.a a.out core

.PHONY: distclean
distclean:
	rm -f *~ *.o *.a a.out core Makefile

.PHONY: install
install:
	@echo "Nothing to do in this directory, good bye"

