## SXEmacs - Mule Makefile.am
## Copyright (C) 2010 Steve Youngs
## This file is part of SXEmacs.
## SXEmacs 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 3 of the License, or
## (at your option) any later version.
## SXEmacs 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, see .
## Process this file with automake to produce Makefile.in
# Help the Developers and yourself. Just use the C locale and settings
# for the compilation. They can still be overriden by make LANG=
# but that is general a not very good idea
LANG=C
LC_ALL=C
builddir = @builddir@
srcdir = @srcdir@
top_builddir = @top_builddir@
top_build_prefix = $(top_builddir)/
top_srcdir = @top_srcdir@
abs_builddir = @abs_builddir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
AM_CFLAGS = -Demacs $(OPENSSL_CFLAGS) -DUSE_SXEMACS_CONFIG_H -DXTSTRINGDEFINES
AM_CPPFLAGS = -I$(srcdir) -I$(builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_builddir) $(c_switch_system) $(LTDLINCL)
headerdir = $(includedir)/$(instvarsepdir)
archlibdir = ${libdir}/${instvardir}/${configuration}
ETAGS = $(top_builddir)/lib-src/etags
TAGS_DEPENDENCIES = $(ETAGS)
all_sources=
libmule_a_headers = \
file-coding.h mule-ccl.h mule-charset.h
libmule_a_sources =
libmule_a_SOURCES = $(libmule_a_headers) $(libmule_a_sources)
EXTRA_libmule_a_SOURCES = \
file-coding.c mule.c mule-canna.c mule-ccl.c mule-charset.c \
mule-wnnfns.c \
input-method-xlib.c input-method-motif.c
libmule_a_CPPFLAGS = $(AM_CPPFLAGS) $(X_CFLAGS)
libmule_a_LIBADD = $(libmule_objs)
libmule_a_DEPENDENCIES = $(libmule_a_LIBADD)
all_sources += $(libmule_a_sources) $(libmule_objs:.o=.c)
header_HEADERS= $(acgen_headers) $(libmule_a_headers)
noinst_LIBRARIES=libmule.a
#
# Help the SXEmacs developers get nice post-processed source files
## Create preprocessor output (debugging purposes only)
.c.i:
$(COMPILE) -E -o $@ $<
## Create assembler output (debugging purposes only)
.c.s:
$(COMPILE) -S -c $(cflags) $<