summaryrefslogtreecommitdiff
path: root/hw/xprint/Makefile.am
blob: 1b800484133ca9964e2a6d05b28a4d951898f037 (plain)
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
SUBDIRS = doc pcl pcl-mono raster ps etc config

bin_PROGRAMS = Xprt

Xprt_CFLAGS = @DIX_CFLAGS@ @XPRINT_CFLAGS@ \
	-DXPRINT -DPRINT_ONLY_SERVER -D_XP_PRINT_SERVER_  \
	-DXPRINTDIR=\"$(libdir)/X11/xserver\"    \
	-DXPRASTERDDX -DXPPCLDDX -DXPMONOPCLDDX -DXPPSDDX \
	-DXFree86Server

Xprt_LDFLAGS = -L$(top_srcdir)
XPRINT_LIBS = \
	@XPRINT_LIBS@ \
	ps/libps.la \
	raster/libraster.la \
	pcl/libpcl.la \
	pcl-mono/libpcl.la \
	$(top_builddir)/fb/libfb.la \
	$(top_builddir)/render/librender.la \
	$(XSERVER_LIBS) \
	$(top_builddir)/Xext/libXext.la \
	$(top_builddir)/xkb/libxkb.la \
	$(top_builddir)/xkb/libxkbstubs.la \
	$(top_builddir)/os/libos.la # for Xprintf

Xprt_DEPENDENCIES = $(XPRINT_LIBS)
Xprt_LDADD = $(XPRINT_LIBS) $(XPRINT_SYS_LIBS) $(XSERVER_SYS_LIBS)

miinitext-wrapper.c:
	echo "#include \"$(top_srcdir)/mi/miinitext.c\"" >> $@

dpmsstubs-wrapper.c:
	echo "#include \"$(top_srcdir)/Xext/dpmsstubs.c\"" >> $@

Xprt_SOURCES =			\
	attributes.c		\
	attributes.h		\
	AttrValid.c		\
	AttrValid.h		\
	ddxInit.c		\
	DiPrint.h		\
	Init.c			\
	mediaSizes.c		\
	Oid.c			\
	OidDefs.h		\
	Oid.h			\
	OidStrs.h		\
	spooler.c		\
	spooler.h		\
	Util.c			\
	miinitext-wrapper.c	\
	dpmsstubs-wrapper.c     \
        $(top_srcdir)/fb/fbcmap_mi.c

EXTRA_DIST = ValTree.c

CLEANFILES = miinitext-wrapper.c dpmsstubs-wrapper.c