| 1 |
## Copyright (C) 2000 Roger Leigh |
| 2 |
## |
| 3 |
## This program is free software; you can redistribute it and/or modify |
| 4 |
## it under the terms of the GNU General Public License as published by |
| 5 |
## the Free Software Foundation; either version 2, or (at your option) |
| 6 |
## any later version. |
| 7 |
## |
| 8 |
## This program is distributed in the hope that it will be useful, |
| 9 |
## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 |
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 |
## GNU General Public License for more details. |
| 12 |
## |
| 13 |
## You should have received a copy of the GNU General Public License |
| 14 |
## along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 15 |
|
| 16 |
## Process this file with automake to produce Makefile.in. |
| 17 |
|
| 18 |
@SET_MAKE@ |
| 19 |
|
| 20 |
include $(top_srcdir)/scripts/global.mk |
| 21 |
|
| 22 |
## Variables |
| 23 |
|
| 24 |
## Programs |
| 25 |
|
| 26 |
if BUILD_GIMP2 |
| 27 |
if BUILD_GIMP2_AS_GUTENPRINT |
| 28 |
gimp2_plug_in_PROGRAMS = gutenprint |
| 29 |
else |
| 30 |
gimp2_plug_in_PROGRAMS = print |
| 31 |
endif |
| 32 |
endif |
| 33 |
|
| 34 |
LOCAL_CPPFLAGS = $(GUTENPRINT_CFLAGS) $(GIMP2_CFLAGS) |
| 35 |
|
| 36 |
COMMON_PRINT_SOURCES = \ |
| 37 |
print-image-gimp.c \ |
| 38 |
print-intl.h \ |
| 39 |
print.c \ |
| 40 |
print_gimp.h |
| 41 |
|
| 42 |
|
| 43 |
print_SOURCES = $(COMMON_PRINT_SOURCES) print-print.c |
| 44 |
print_LDADD = $(GIMP2_LIBS) $(GUTENPRINT_LIBS) $(GUTENPRINTUI2_LIBS) |
| 45 |
print_DEPENDENCIES = $(GUTENPRINT_LIBS) $(GUTENPRINTUI2_LIBS) |
| 46 |
|
| 47 |
gutenprint_SOURCES = $(COMMON_PRINT_SOURCES) print-gutenprint.c |
| 48 |
gutenprint_LDADD = $(print_LDADD) |
| 49 |
gutenprint_DEPENDENCIES = $(print_DEPENDENCIES) |
| 50 |
|
| 51 |
## Clean |
| 52 |
|
| 53 |
MAINTAINERCLEANFILES = Makefile.in |
| 54 |
CLEANFILES = print gutenprint |