]> git.ipfire.org Git - thirdparty/cups.git/blob - test/Makefile
Merge changes from CUPS 1.4svn-r7961.
[thirdparty/cups.git] / test / Makefile
1 #
2 # "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $"
3 #
4 # IPP test makefile for the Common UNIX Printing System (CUPS).
5 #
6 # Copyright 2007-2008 by Apple Inc.
7 # Copyright 1997-2006 by Easy Software Products, all rights reserved.
8 #
9 # These coded instructions, statements, and computer programs are the
10 # property of Apple Inc. and are protected by Federal copyright
11 # law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 # which should have been included with this file. If this file is
13 # file is missing or damaged, see the license at "http://www.cups.org/".
14 #
15
16 include ../Makedefs
17
18
19 #
20 # Make all targets...
21 #
22
23 all: ipptest
24
25
26 #
27 # Make library targets...
28 #
29
30 libs:
31
32
33 #
34 # Make unit tests...
35 #
36
37 unittests:
38
39
40 #
41 # Clean all object files...
42 #
43
44 clean:
45 $(RM) ipptest ipptest.o
46
47
48 #
49 # Update dependencies (without system header dependencies...)
50 #
51
52 depend:
53 makedepend -Y -I.. -fDependencies ipptest.c >/dev/null 2>&1
54
55
56 #
57 # Install all targets...
58 #
59
60 install: all install-data install-headers install-libs install-exec
61
62
63 #
64 # Install data files...
65 #
66
67 install-data:
68
69
70 #
71 # Install programs...
72 #
73
74 install-exec:
75
76
77 #
78 # Install headers...
79 #
80
81 install-headers:
82
83
84 #
85 # Install libraries...
86 #
87
88 install-libs:
89
90
91 #
92 # Unnstall all targets...
93 #
94
95 uninstall:
96
97
98 #
99 # ipptest
100 #
101
102 ipptest: ipptest.o ../cups/libcups.a
103 echo Linking $@...
104 $(CC) $(LDFLAGS) -o ipptest ipptest.o ../cups/libcups.a \
105 $(LIBGSSAPI) $(SSLLIBS) $(COMMONLIBS) $(LIBZ)
106
107
108 #
109 # Dependencies...
110 #
111
112 include Dependencies
113
114
115 #
116 # End of "$Id: Makefile 7871 2008-08-27 21:12:43Z mike $".
117 #