forked from istopwg/ippsample
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakedefs.in
142 lines (120 loc) · 3.18 KB
/
Makedefs.in
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
#
# Common makefile definitions for the IPP sample code.
#
# Copyright © 2014-2018 by the IEEE-ISTO Printer Working Group.
# Copyright © 2007-2018 by Apple Inc.
# Copyright © 1997-2007 by Easy Software Products, all rights reserved.
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
#
#
# Version of the IPP sample code.
#
IPPSAMPLE_VERSION = @CUPS_VERSION@
#
# Components that get built...
#
IPPFIND_BIN = @IPPFIND_BIN@
IPPFIND_HTML = @IPPFIND_HTML@
IPPFIND_MAN = @IPPFIND_MAN@
IPPTRANSFORM_BIN = @IPPTRANSFORM_BIN@
IPPTRANSFORM_HTML = @IPPTRANSFORM_HTML@
IPPTRANSFORM_MAN = @IPPTRANSFORM_MAN@
IPPTRANSFORM3D_BIN = @IPPTRANSFORM3D_BIN@
IPPTRANSFORM3D_HTML = @IPPTRANSFORM3D_HTML@
IPPTRANSFORM3D_MAN = @IPPTRANSFORM3D_MAN@
#
# Programs...
#
AR = @AR@
AWK = @AWK@
CC = @CC@
CHMOD = @CHMOD@
GZIP = @GZIP@
INSTALL = @INSTALL@
RANLIB = @RANLIB@
RM = @RM@ -f
RMDIR = @RMDIR@
SED = @SED@
SHELL = /bin/sh
#
# Installation programs...
#
INSTALL_BIN = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
INSTALL_DATA = $(INSTALL) -c -m 444
INSTALL_DIR = $(INSTALL) -d
INSTALL_LIB = $(LIBTOOL) $(INSTALL) -c -m 555 @INSTALL_STRIP@
INSTALL_MAN = $(INSTALL) -c -m 444
#
# Libraries...
#
LIBZ = @LIBZ@
#
# Program options...
#
# ARCHFLAGS Defines the default architecture build options.
# OPTIM Defines the common compiler optimization/debugging options
# for all architectures.
# OPTIONS Defines other compile-time options (currently only -DDEBUG
# for extra debug info)
#
ALL_CFLAGS = -I.. -D_CUPS_SOURCE -DCUPS_LITE $(CFLAGS) $(SSLFLAGS) \
@LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ALL_CXXFLAGS = -I.. -D_CUPS_SOURCE -DCUPS_LITE $(CXXFLAGS) $(SSLFLAGS) \
@LARGEFILE@ @PTHREAD_FLAGS@ $(OPTIONS)
ARCHFLAGS = @ARCHFLAGS@
ARFLAGS = @ARFLAGS@
CFLAGS = @CPPFLAGS@ @CFLAGS@
COMMONLIBS = @LIBS@
DNSSDLIBS = @DNSSDLIBS@
LDFLAGS = @LDARCHFLAGS@ @LDFLAGS@ $(OPTIM)
LINKCUPS = ../cups/libcups.a $(SSLLIBS) $(DNSSDLIBS) $(LIBZ)
LIBS = $(LINKCUPS) $(COMMONLIBS)
OPTIM = @OPTIM@
OPTIONS =
PAMLIBS = @PAMLIBS@
SSLFLAGS = @SSLFLAGS@
SSLLIBS = @SSLLIBS@
#
# Directories...
#
# The first section uses the GNU names (which are *extremely*
# difficult to find in a makefile because they are lowercase...)
# We have to define these first because autoconf uses ${prefix}
# and ${exec_prefix} for most of the other directories...
#
# The "datarootdir" variable may not get defined if you are using
# a version of autoconf prior to 2.60.
#
# This is immediately followed by definition in ALL CAPS for the
# needed directories...
#
bindir = @bindir@
datadir = @datadir@
datarootdir = @datarootdir@
exec_prefix = @exec_prefix@
includedir = @includedir@
infodir = @infodir@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
mandir = @mandir@
oldincludedir = @oldincludedir@
prefix = @prefix@
privateinclude = @privateinclude@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
top_srcdir = @top_srcdir@
BUILDROOT = $(DSTROOT)$(DESTDIR)
IPP = @IPP@
#
# Rules...
#
.SILENT:
.SUFFIXES: .a .c .h .o
.c.o:
echo Compiling $<...
$(CC) $(ARCHFLAGS) $(OPTIM) $(ALL_CFLAGS) -c -o $@ $<