forked from NilanjanaLodh/OpenPrinting_CUPS_Backend
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathMakefile.am
More file actions
48 lines (40 loc) · 1.13 KB
/
Makefile.am
File metadata and controls
48 lines (40 loc) · 1.13 KB
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
# cups-notifier
cups_notifier_sources = \
cups-notifier.c \
cups-notifier.h
$(cups_notifier_sources): ../data/org.cups.cupsd.Notifier.xml
gdbus-codegen \
--interface-prefix org.cups.cupsd \
--c-namespace Cups \
--generate-c-code cups-notifier \
../data/org.cups.cupsd.Notifier.xml
BUILT_SOURCES = $(cups_notifier_sources)
CLEANFILES = $(BUILT_SOURCES)
backenddir = $(CPDB_BACKEND_DIR)
backend_PROGRAMS = cups
cups_SOURCES = \
print_backend_cups.c \
backend_helper.c backend_helper.h \
cups-notifier.c cups-notifier.h
Auth.c auth.h
cups_CPPFLAGS = $(CPDB_CFLAGS)
cups_CPPFLAGS += $(LIBCUPSFILTERS_CFLAGS)
cups_CPPFLAGS += $(GLIB_CFLAGS)
cups_CPPFLAGS += $(GIO_CFLAGS)
cups_CPPFLAGS += $(GIOUNIX_CFLAGS)
cups_LDADD = -lcups -lpthread -lm -lcrypt
cups_LDADD += $(CPDB_LIBS)
cups_LDADD += $(LIBCUPSFILTERS_LIBS)
cups_LDADD += $(GLIB_LIBS)
cups_LDADD += $(GIO_LIBS)
cups_LDADD += $(GIOUNIX_LIBS)
cups_LDADD += -lcurl -ljson-c
# ================================
# Tests ("make test"/"make check")
# ================================
TESTS = \
run-tests.sh
EXTRA_DIST = \
run-tests.sh \
test.convs \
testpdf.ppd