
#
#  Copyright (c) 1998 - 1999, 2001 Karel Zak "Zakkr" <zakkr@zf.jcu.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.
#
#  $Id: Makeconf.in,v 1.3 2001/01/02 14:16:15 zakkr Exp $
#


SHELL		= /bin/sh

PACKAGE 	= aca
VERSION 	= 0.1
PROGRAMS 	= aca

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

bindir		= ${exec_prefix}/bin
libdir		= ${exec_prefix}/lib
mandir		= ${prefix}/share/man/man2
docdir		= ${prefix}/doc/${PACKAGE}
locdir		= ${prefix}/share/locale
includedir 	= ${prefix}/include/${PACKAGE}

BIN_MODE	= 0755
TEXT_MODE	= 0444

INSTALL		= /usr/bin/install -c
INSTALL_DATA	= ${INSTALL} -m 644
INSTALL_SHLIB	= ${INSTALL}
RM		= /bin/rm -f
RMDIR		= /bin/rmdir
CP		= /bin/cp -f
LS		= /bin/ls
LN_S		= ln -s
MAKE		= /usr/bin/make
XGETTEXT	= /usr/bin/xgettext
MSGFMT		= /usr/bin/msgfmt

DEBUG		= 
MOUSE		= yes
CC		= gcc
CFLAGS		= -g -O2 -Wall 
CPPFLAGS	= 
DLSUFFIX	= .so
AROPT		= rcs
SHARED_LIB	= -fpic

LIBS 		= -lncurses -lgpm  
INCLUDE		= 
CFLAGS		+= $(SHARED_LIB)

ifeq ($(DEBUG),yes)
	CFLAGS += -DDEBUG=1
else
	CFLAGS += -DDEBUG=0
endif

ifeq ($(MOUSE),yes)
	CFLAGS += -DHAVE_MOUSE
endif

ACA_INCLUDE 	= $(TOPDIR)/include
ACA_TARGET	= $(TOPDIR)/Share-lib
ACA_EXAMPLES	= $(TOPDIR)/Examples

#DEBUGs
#CFLAGS += -DDEBUG_POSIOTION
