summaryrefslogtreecommitdiff
path: root/src/main/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/Makefile.am')
-rw-r--r--src/main/Makefile.am97
1 files changed, 97 insertions, 0 deletions
diff --git a/src/main/Makefile.am b/src/main/Makefile.am
new file mode 100644
index 0000000..ad673e7
--- /dev/null
+++ b/src/main/Makefile.am
@@ -0,0 +1,97 @@
+## $Id: Makefile.am,v 1.27 2001/09/17 20:37:57 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
+
+MAIN_BIN = libgimpprint.la
+MAIN_SCR = gimpprint-config
+
+bin_SCRIPTS = @MAIN_SCR@
+EXTRA_SCRIPTS = gimpprint-config
+
+lib_LTLIBRARIES = @MAIN_BIN@
+EXTRA_LTLIBRARIES = libgimpprint.la
+
+libgimpprint_la_SOURCES = \
+ gimp-print-internal.h \
+ print-lexmark.c \
+ print-canon.c \
+ print-dither.c \
+ print-escp2.c \
+ print-pcl.c \
+ print-ps.c \
+ print-util.c \
+ print-color.c \
+ print-weave.c \
+ print-version.c \
+ print-dither-matrices.c \
+ 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
+
+MAIN_DAT = gimpprint.m4
+
+m4datadir = $(datadir)/aclocal
+m4data_DATA = @MAIN_DAT@
+
+
+## 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