forked from michaelrsweet/pappl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makedefs.in
78 lines (66 loc) · 1.58 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
#
# Make definitions for the Printer Application Framework
#
# Copyright © 2019-2022 by Michael R Sweet
#
# Licensed under Apache License v2.0. See the file "LICENSE" for more
# information.
#
# Be silent...
.SILENT:
# Version numbers...
PAPPL_VERSION = @PAPPL_VERSION@
PAPPL_VERSION_MAJOR = @PAPPL_VERSION_MAJOR@
PAPPL_VERSION_MINOR = @PAPPL_VERSION_MINOR@
# Programs and options...
AR = @AR@
ARFLAGS = @ARFLAGS@
CC = @CC@
CFLAGS = @CFLAGS@ $(CPPFLAGS) $(OPTIM) $(WARNINGS)
CODE_SIGN = @CODE_SIGN@
CODESIGN_IDENTITY = -
CPPFLAGS = -I.. @CPPFLAGS@
CSFLAGS = -s "$(CODESIGN_IDENTITY)" @CSFLAGS@ --timestamp
DSOFLAGS = @DSOFLAGS@ $(CFLAGS)
INSTALL = @INSTALL@
LDFLAGS = @LDFLAGS@ $(OPTIM)
LIBS = @LIBS@
LN = @LN@
MKDIR = @MKDIR@ -p
OPTIM = @OPTIM@
RANLIB = @RANLIB@
RM = @RM@ -f
RMDIR = @RMDIR@
SHELL = /bin/sh
SYSTEM_STATUS = @SYSTEM_STATUS@
WARNINGS = @WARNINGS@
# Targets
LIBPAPPL = @LIBPAPPL@
LIBPAPPL_STATIC = @LIBPAPPL_STATIC@
# 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@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
top_srcdir = @top_srcdir@
BUILDROOT = $(DSTROOT)$(RPM_BUILD_ROOT)$(DESTDIR)
# Build commands...
.SUFFIXES: .c .h .m .o
.c.o:
echo Compiling $<...
$(CC) $(CFLAGS) -c -o $@ $<
.m.o:
echo Compiling $<...
$(CC) $(CFLAGS) -c -o $@ $<