]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scripting/php/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / scripting / php / Makefile
index c93559e4b6940a6332a4e9e9cb873da9924845f5..398c2714ec85b8a0afbcb839df2df0e1ec759ab5 100644 (file)
@@ -3,7 +3,7 @@
 #
 #   PHP Makefile for the Common UNIX Printing System (CUPS).
 #
-#   Copyright 1997-2005 by Easy Software Products, all rights reserved.
+#   Copyright 1997-2006 by Easy Software Products, all rights reserved.
 #
 #   These coded instructions, statements, and computer programs are the
 #   property of Easy Software Products and are protected by Federal
 #       Attn: CUPS Licensing Information
 #       Easy Software Products
 #       44141 Airport View Drive, Suite 204
-#       Hollywood, Maryland 20636-3111 USA
+#       Hollywood, Maryland 20636 USA
 #
 #       Voice: (301) 373-9603
 #       EMail: cups-info@cups.org
-#         WWW: http://www.cups.org
+#         WWW: http://www.cups.org/
 #
 
 include ../../Makedefs
 
 
 #
-# Where to install the PHP module...
+# Where to install and how to compile the PHP module...
 #
 
-PHPDIR =       `php-config --extension-dir`
-OPTIONS        =       `php-config --includes` -I../.. -DCOMPILE_DL_PHPCUPS
-PHPLIBS        =       `php-config --ldflags` `php-config --libs`
+PHPDIR =       $(BUILDROOT)`$(PHPCONFIG) --extension-dir`
+OPTIONS        =       -I../.. `$(PHPCONFIG) --includes`
+PHPLIBS        =       `$(PHPCONFIG) --ldflags` `$(PHPCONFIG) --libs`
+
 
 #
 # Object files...