]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scripting/php/Makefile
Load cups into easysw/current.
[thirdparty/cups.git] / scripting / php / Makefile
index 3960571b3381029f9dbfc71e5a9553b1e3e133e1..ec1e3ebc36f8df4ae3338f5158b285c2ad1fcf3f 100644 (file)
@@ -3,7 +3,7 @@
 #
 #   PHP Makefile for the Common UNIX Printing System (CUPS).
 #
-#   Copyright 1997-2006 by Easy Software Products, all rights reserved.
+#   Copyright 1997-2007 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
@@ -78,6 +78,10 @@ install:     all
        echo Installing $(PHPCUPS) in $(PHPDIR)
        $(INSTALL_DIR) $(PHPDIR)
        $(INSTALL_BIN) $(PHPCUPS) $(PHPDIR)
+       if test "x$(SYMROOT)" != x; then \
+               $(INSTALL_DIR) $(SYMROOT); \
+               cp $(PHPCUPS) $(SYMROOT); \
+       fi
 
 
 #
@@ -96,7 +100,7 @@ uninstall:
 phpcups.so:    $(OBJS) ../../Makedefs
        echo Linking $@...
        if test `uname` = Darwin; then \
-               DSOFLAGS="-bundle -flat_namespace -undefined suppress"; \
+               DSOFLAGS="-bundle -flat_namespace -undefined suppress $(RC_CFLAGS)"; \
        else \
                DSOFLAGS="$(DSOFLAGS)"; \
        fi; \