| 1 |
INCLUDES=-I.. -I../../compat |
| 2 |
|
| 3 |
lib_LTLIBRARIES = libpsiconv.la |
| 4 |
libpsiconv_la_SOURCES = checkuid.c data.c error.c misc.c\ |
| 5 |
list.c parse_common.c parse_driver.c \ |
| 6 |
parse_layout.c parse_image.c parse_page.c \ |
| 7 |
parse_simple.c parse_texted.c parse_word.c \ |
| 8 |
generate_simple.c generate_layout.c generate_driver.c \ |
| 9 |
generate_common.c generate_texted.c generate_page.c |
| 10 |
libpsiconv_la_LDFLAGS = -version-info 4:1:0 |
| 11 |
libpsiconv_la_LIBADD = ../../compat/libcompat.la |
| 12 |
|
| 13 |
psiconvincludedir = $(includedir)/psiconv |
| 14 |
psiconvinclude_HEADERS = data.h parse.h list.h parse_routines.h error.h \ |
| 15 |
generate_routines.h generate.h common.h |
| 16 |
|
| 17 |
# There must be some automake-way to do this nicer, but for now it works. |
| 18 |
install-data-local: |
| 19 |
$(mkinstalldirs) $(DESTDIR)$(psiconvincludedir) |
| 20 |
p=general.h; \ |
| 21 |
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \ |
| 22 |
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(psiconvincludedir)/$$p"; \ |
| 23 |
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(psiconvincludedir)/$$p; |