1## Makefile.am -- an automake template for a Makefile.in file
2## EPSON ESC/P-R Printer Driver for Linux
3## Copyright (C) Seiko Epson Corporation 2000-2013.
4##  This program is free software; you can redistribute it and/or modify
5## it under the terms of the GNU General Public License as published by
6## the Free Software Foundation; either version 2 of the License, or
7## (at your option) any later version.
8##
9## This program is distributed in the hope that it will be useful,
10## but WITHOUT ANY WARRANTY; without even the implied warranty of
11## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12## GNU General Public License for more details.
13##
14## You should have received a copy of the GNU General Public License
15## along with this program; if not, write to the Free Software
16## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA.
17
18AM_LDFLAGS = -lpthread
19
20cupsfilterdir = $(CUPS_FILTER_DIR)
21ESCPR_LIB_DIR	=	../escprlib
22
23cupsfilter_PROGRAMS =\
24	epson-escpr \
25	epson-escpr-wrapper
26
27epson_escpr_wrapper_CFLAGS =\
28	-Wall\
29	-DCUPS_FILTER_NAME=\"epson-escpr\" \
30	-DCUPS_FILTER_PATH=\"$(CUPS_FILTER_DIR)\" \
31	$(CUPS_CPPFLAGS)
32
33epson_escpr_wrapper_LDFLAGS =\
34	$(CUPS_LDFLAGS)
35
36epson_escpr_wrapper_SOURCES =\
37	wrapper.c
38
39epson_escpr_CFLAGS = \
40	-I$(top_srcdir)/lib
41
42epson_escpr_SOURCES = \
43	filter.c \
44	libprtX.h \
45	debug.c debug.h	\
46	pipsDef.h \
47	optBase.h \
48	str.c str.h \
49	err.c err.h \
50	mem.c mem.h \
51	linux_cmn.h linux_cmn.c \
52	xfifo.h xfifo.c
53
54epson_escpr_LDADD = \
55	$(top_builddir)/lib/libescpr.la
56
57