blob: dfdc5514ad64efaa020722287638a85bfccd298d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
## $Id: Makefile.am,v 1.27.4.2 2003/07/12 20:47:44 rleigh Exp $
## Copyright (C) 2000 Roger Leigh
##
## This program 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 2, or (at your option)
## any later version.
##
## This program 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, write to the Free Software
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
## Process this file with automake to produce Makefile.in.
AUTOMAKE_OPTIONS = 1.4 gnu
@SET_MAKE@
MAINT_CHARSET = latin1
## Variables
AM_CFLAGS = $(GNUCFLAGS)
INCLUDES = @INCLUDES@
## Programs
bin_SCRIPTS = gimpprint-config
lib_LTLIBRARIES = libgimpprint.la
libgimpprint_la_SOURCES = \
gimp-print-internal.h \
print-lexmark.c \
print-canon.c \
print-dither.c \
print-escp2.c \
print-escp2.h \
print-escp2-data.c \
print-pcl.c \
print-ps.c \
print-util.c \
print-color.c \
print-weave.c \
print-version.c \
print-dither-matrices.c \
print-dither.h \
quickmatrix257.h \
ran.367.179.h \
ran.509.131.h
libgimpprint_la_LIBADD = $(GIMPPRINT_DEPLIBS)
# Uncommment to build an unversioned library (version in soname)
#libgimpprint_la_LDFLAGS = -release $(GIMPPRINT_VERSION) -rpath $(libdir)
# Uncomment to build a versioned library
libgimpprint_la_LDFLAGS = \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-rpath $(libdir)
## Data
m4datadir = $(datadir)/aclocal
m4data_DATA = gimpprint.m4
## Rules
print-util.lo: print-printers.c $(srcdir)/print-util.c
print-printers.c: ../printdef/printdef $(srcdir)/printers.xml
../printdef/printdef < $(srcdir)/printers.xml > print-printers.c
printdefl.o: printdefy.o
../printdef/printdef: $(addprefix ../printdef/, printdefl.l printdefy.y printdef.h)
cd ../printdef ; \
$(MAKE)
## Clean
CLEANFILES = print-printers.c
DISTCLEANFILES = gimpprint-config
MAINTAINERCLEANFILES = Makefile.in
EXTRA_DIST = gimpprint.m4 gimpprint-config.in printers.xml
|