]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/Makefile
Add support for cross-compilation (Issue #4897)
[thirdparty/cups.git] / ppdc / Makefile
index 4024244524477c49844a0be239c0ed72b968eecb..fb35c7fd677127d4f3d46b6c53a7f79021d6be0f 100644 (file)
@@ -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
@@ -211,6 +211,13 @@ uninstall:
        fi
 
 
+#
+# Local programs (not built when cross-compiling...)
+#
+
+local: genstrings
+
+
 #
 # genstrings - generate GNU gettext strings.
 #