summaryrefslogtreecommitdiff
path: root/ppdc
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-04-24 15:12:39 -0400
committerMichael Sweet <michael.r.sweet@gmail.com>2017-04-24 15:12:39 -0400
commit105922ec6d01484ee6e4724a40562b6c44be2c87 (patch)
treea457e220885d8c084531972a60c0a2e1fc4950cc /ppdc
parent442e03eff1231132220dbc149bda6adf0ce8f31c (diff)
downloadcups-105922ec6d01484ee6e4724a40562b6c44be2c87.tar.gz
Add support for cross-compilation (Issue #4897)
Diffstat (limited to 'ppdc')
-rw-r--r--ppdc/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/ppdc/Makefile b/ppdc/Makefile
index 402424452..fb35c7fd6 100644
--- a/ppdc/Makefile
+++ b/ppdc/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for the CUPS PPD Compiler.
#
-# Copyright 2007-2016 by Apple Inc.
+# Copyright 2007-2017 by Apple Inc.
# Copyright 2002-2006 by Easy Software Products.
#
# These coded instructions, statements, and computer programs are the
@@ -68,7 +68,7 @@ EXECTARGETS = \
TARGETS = \
$(LIBTARGETS) \
$(EXECTARGETS) \
- genstrings
+ $(LOCALTARGET)
#
@@ -99,7 +99,7 @@ unittests: $(UNITTARGETS)
clean:
$(RM) $(OBJS) core
$(RM) *.bak *.bck core.*
- $(RM) $(TARGETS) $(UNITTARGETS)
+ $(RM) $(TARGETS) $(UNITTARGETS) genstrings
$(RM) -r ppd ppd2
$(RM) sample-import.drv sample.c test.drv
$(RM) libcupsppdc.so libcupsppdc.dylib
@@ -212,6 +212,13 @@ uninstall:
#
+# Local programs (not built when cross-compiling...)
+#
+
+local: genstrings
+
+
+#
# genstrings - generate GNU gettext strings.
#