## Makefile.am -- Process this file with automake to produce Makefile.in
##
## Copyright (C) 2006 Ryo Dairiki
##
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation and 
## appearing in the file LICENSE.LGPL included in the package of this file.
## You can also redistribute it and/or modify it under the terms of 
## the GNU General Public License as published by the Free Software Foundation and 
## appearing in the file LICENSE.GPL included in the package of this file.
##
## This library 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.

if SCIM_BUILD_IMMODULE

AM_CPPFLAGS	= -I$(top_builddir) \
              -I$(top_builddir)/src \
              -I$(top_srcdir) \
              -I$(top_srcdir)/src \
              -I$(top_srcdir)/intl \
              -I$(top_srcdir)/data \
              -I$(top_srcdir)/utils \
              -I$(top_srcdir)/extras/panel \
			  -I$(top_srcdir)/extras/immodules/common \
			  -I$(top_srcdir)/extras/immodules/client-common \
              -DSCIM_DATADIR=\"@SCIM_DATADIR@\" \
              -DSCIM_LOCALEDIR=\"@SCIM_LOCALEDIR@\" \
              -DSCIM_SYSCONFDIR=\"@SCIM_SYSCONFDIR@\" \
              -DSCIM_LIBEXECDIR=\"@SCIM_LIBEXECDIR@\" \
              -DSCIM_ICONDIR=\"@SCIM_ICONDIR@\" \
              -DSCIM_MODULE_PATH=\"@SCIM_MODULE_PATH@\" \
              -DSCIM_TEMPDIR=\"@SCIM_TEMPDIR@\" \
              -DSCIM_KEYBOARD_ICON_FILE=\"@SCIM_ICONDIR@/keyboard.png\"


noinst_HEADERS		= scim-bridge-client.h  scim-bridge-client-protected.h scim-bridge-client-imcontext.h

noinst_LTLIBRARIES	= libscimbridgeclientcommon.la

libscimbridgeclientcommon_la_SOURCES	= scim-bridge-client.c \
										  scim-bridge-client-output.c \
										  scim-bridge-client-debug.c

#libscimbridgeclientcommon_la_CFLAGS	= @SCIM_CFLAGS@
#libscimbridgeclientcommon_la_CXXFLAGS	= @SCIM_CFLAGS@
#libscimbridgeclientcommon_la_LDFLAGS	= @SCIM_LIBS@ 

endif

MAINTAINERCLEANFILES	= Makefile.in

