| # |
| # PPD compiler example makefile for CUPS. |
| # |
| # Copyright 2007-2011 by Apple Inc. |
| # Copyright 2002-2005 by Easy Software Products. |
| # |
| # Licensed under Apache License v2.0. See the file "LICENSE" for more information. |
| # |
| |
| # |
| # Include standard definitions... |
| # |
| |
| include ../Makedefs |
| |
| |
| # |
| # Examples... |
| # |
| |
| EXAMPLES = \ |
| color.drv \ |
| constraint.drv \ |
| custom.drv \ |
| grouping.drv \ |
| laserjet-basic.drv \ |
| laserjet-pjl.drv \ |
| minimum.drv \ |
| postscript.drv \ |
| r300-basic.drv \ |
| r300-colorman.drv \ |
| r300-remote.drv |
| |
| |
| # |
| # Make everything... |
| # |
| |
| all: |
| |
| |
| # |
| # Make library targets... |
| # |
| |
| libs: |
| |
| |
| # |
| # Make unit tests... |
| # |
| |
| unittests: |
| |
| |
| # |
| # Clean everything... |
| # |
| |
| clean: |
| |
| |
| # |
| # Dummy depend... |
| # |
| |
| depend: |
| |
| |
| # |
| # Install all targets... |
| # |
| |
| install: all install-data install-headers install-libs install-exec |
| |
| |
| # |
| # Install data files... |
| # |
| |
| install-data: |
| $(INSTALL_DIR) $(DATADIR)/examples |
| for file in $(EXAMPLES); do \ |
| $(INSTALL_DATA) $$file $(DATADIR)/examples; \ |
| done |
| |
| |
| # |
| # Install programs... |
| # |
| |
| install-exec: |
| |
| |
| # |
| # Install headers... |
| # |
| |
| install-headers: |
| |
| |
| # |
| # Install libraries... |
| # |
| |
| install-libs: |
| |
| |
| # |
| # Uninstall files... |
| # |
| |
| uninstall: |
| for file in $(EXAMPLES); do \ |
| $(RM) $(DATADIR)/examples/$$file; \ |
| done |
| -$(RMDIR) $(DATADIR)/examples |