Add patch that contain Mali fixes.
[deb_xorg-server.git] / os / Makefile.am
1 noinst_LTLIBRARIES = libos.la
2
3 AM_CFLAGS = $(DIX_CFLAGS) $(SHA1_CFLAGS)
4
5 SECURERPC_SRCS = rpcauth.c
6 XDMCP_SRCS = xdmcp.c
7 XORG_SRCS = log.c
8 BUSFAULT_SRCS = busfault.c
9
10 libos_la_SOURCES = \
11 WaitFor.c \
12 access.c \
13 auth.c \
14 backtrace.c \
15 client.c \
16 connection.c \
17 io.c \
18 mitauth.c \
19 oscolor.c \
20 osdep.h \
21 osinit.c \
22 utils.c \
23 xdmauth.c \
24 xsha1.c \
25 xstrans.c \
26 xprintf.c \
27 $(XORG_SRCS)
28 libos_la_LIBADD = @SHA1_LIBS@ $(DLOPEN_LIBS) $(LTLIBOBJS)
29
30 if SECURE_RPC
31 libos_la_SOURCES += $(SECURERPC_SRCS)
32 endif
33
34 if XDMCP
35 libos_la_SOURCES += $(XDMCP_SRCS)
36 endif
37
38 if HAVE_LIBUNWIND
39 AM_CFLAGS += $(LIBUNWIND_CFLAGS)
40 libos_la_LIBADD += $(LIBUNWIND_LIBS)
41 endif
42
43 if BUSFAULT
44 libos_la_SOURCES += $(BUSFAULT_SRCS)
45 endif
46
47 EXTRA_DIST = $(SECURERPC_SRCS) $(XDMCP_SRCS)
48
49 if SPECIAL_DTRACE_OBJECTS
50 # Generate dtrace object code for probes in libos & libdix
51 dtrace.o: $(top_srcdir)/dix/Xserver.d $(am_libos_la_OBJECTS)
52 $(AM_V_GEN)$(DTRACE) -G -C -o $@ -s $(top_srcdir)/dix/Xserver.d .libs/*.o ../dix/.libs/*.o
53
54 noinst_PROGRAMS = os.O
55
56 os_O_SOURCES =
57 os.O: dtrace.o $(am_libos_la_OBJECTS)
58 $(AM_V_GEN)ld -r -o $@ dtrace.o .libs/*.o
59 endif