#
# 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...