## Process this file with automake to produce Makefile.in AM_CFLAGS = -Wall # libraries and files to compile and install lib_LTLIBRARIES = libcalcconv.la libcalcconvincludedir = $(includedir)/calcforge libcalcconvinclude_HEADERS = \ calcconv.h export4.h charset.h # build instructions libcalcconv_la_CPPFLAGS = -I$(top_srcdir)/intl \ -DLOCALEDIR=\"$(datadir)/locale\" \ @GLIB_CFLAGS@ -DCALCCONV_EXPORTS libcalcconv_la_LIBADD = @GLIB_LIBS@ libcalcconv_la_LDFLAGS = -no-undefined -version-info @LT_LIBVERSION@ libcalcconv_la_SOURCES = \ calcconv.c charset.c tokens.c filename.c if USE_ICONV libcalcconv_la_SOURCES += iconv.c endif if OS_WIN32 libcalcconv_la_DEPENDENCIES = ../build/mingw/calcconv-rc.o libcalcconv_la_LDFLAGS += -Wl,../build/mingw/calcconv-rc.o endif if !USE_ICONV install-data-hook: sed -e 's/#define CALCCONV_ICONV_INTERFACE/#undef CALCCONV_ICONV_INTERFACE/g' $(DESTDIR)$(prefix)/include/calcforge/calcconv.h >$(DESTDIR)$(prefix)/include/calcforge/calcconv.h.tmp && mv -f $(DESTDIR)$(prefix)/include/calcforge/calcconv.h.tmp $(DESTDIR)$(prefix)/include/calcforge/calcconv.h; endif