1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
|
#
# Example files makefile for libcups.
#
# Copyright © 2021-2022 by OpenPrinting.
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
#
#
# Include standard definitions...
#
include ../Makedefs
#
# Examples...
#
DATAFILES = \
color.jpg \
document-a4.pdf \
document-a4.ps \
document-letter.pdf \
document-letter.ps \
gray.jpg \
onepage-a4.pdf \
onepage-a4.ps \
onepage-letter.pdf \
onepage-letter.ps \
testfile.jpg \
testfile.pcl \
testfile.pdf \
testfile.ps \
testfile.txt
TESTFILES = \
cancel-current-job.test \
create-job-format.test \
create-job-sheets.test \
create-job-timeout.test \
create-job.test \
create-printer-subscription.test \
cups-create-local-printer.test \
fax-job.test \
get-completed-jobs.test \
get-devices.test \
get-job-attributes.test \
get-job-attributes2.test \
get-job-template-attributes.test \
get-jobs.test \
get-notifications.test \
get-ppd-printer.test \
get-ppd.test \
get-ppds-drv-only.test \
get-ppds-language.test \
get-ppds-make-and-model.test \
get-ppds-make.test \
get-ppds-product.test \
get-ppds-psversion.test \
get-ppds.test \
get-printer-attributes-suite.test \
get-printer-attributes.test \
get-printer-description-attributes.test \
get-printers-printer-id.test \
get-printers.test \
get-subscriptions.test \
identify-printer-display.test \
identify-printer-multiple.test \
identify-printer.test \
ipp-1.1.test \
ipp-2.0.test \
ipp-2.1.test \
ipp-2.2.test \
ipp-backend.test \
ipp-everywhere.test \
print-job.test \
print-job-and-wait.test \
print-job-deflate.test \
print-job-gzip.test \
print-job-hold.test \
print-job-letter.test \
print-job-manual.test \
print-job-media-col.test \
print-job-media-needed.test \
print-job-password.test \
print-job-raster.test \
print-uri.test \
set-attrs-hold.test \
validate-job.test
#
# Make everything...
#
all:
#
# Make library targets...
#
libs:
#
# Make unit tests...
#
unittests:
#
# Clean everything...
#
clean:
#
# Dummy depend...
#
depend:
#
# Install all targets...
#
install:
echo "Installing sample ipptool files in $(BUILDROOT)$(datadir)/cups/ipptool..."
$(INSTALL_DIR) $(BUILDROOT)$(datadir)/cups/ipptool
for file in $(DATAFILES) $(TESTFILES); do \
$(INSTALL_DATA) $$file $(BUILDROOT)$(datadir)/cups/ipptool; \
done
#
# Uninstall files...
#
uninstall:
echo "Uninstalling sample ipptool files from $(BUILDROOT)$(datadir)/cups/ipptool..."
for file in $(DATAFILES) $(TESTFILES); do \
$(RM) $(BUILDROOT)$(datadir)/cups/ipptool/$$file; \
done
-$(RMDIR) $(BUILDROOT)$(datadir)/cups/ipptool
|