2011-11-05 07:32:40 -06:00
|
|
|
noinst_LTLIBRARIES = libos.la
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS) $(SHA1_CFLAGS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-12-13 14:47:48 -07:00
|
|
|
SECURERPC_SRCS = rpcauth.c
|
2007-11-24 12:04:00 -07:00
|
|
|
XDMCP_SRCS = xdmcp.c
|
|
|
|
PRIVSEP_SRCS = privsep.c
|
2011-11-05 07:32:40 -06:00
|
|
|
XORG_SRCS = log.c
|
2014-05-02 13:27:46 -06:00
|
|
|
BUSFAULT_SRCS = busfault.c
|
2010-07-27 13:02:24 -06:00
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
libos_la_SOURCES = \
|
|
|
|
WaitFor.c \
|
|
|
|
access.c \
|
|
|
|
auth.c \
|
2009-01-12 13:17:47 -07:00
|
|
|
backtrace.c \
|
2011-11-05 07:32:40 -06:00
|
|
|
client.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
connection.c \
|
|
|
|
io.c \
|
|
|
|
mitauth.c \
|
|
|
|
oscolor.c \
|
|
|
|
osdep.h \
|
|
|
|
osinit.c \
|
|
|
|
utils.c \
|
|
|
|
xdmauth.c \
|
2010-07-27 13:02:24 -06:00
|
|
|
xsha1.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
xstrans.c \
|
2011-11-05 07:32:40 -06:00
|
|
|
xprintf.c \
|
|
|
|
$(XORG_SRCS)
|
|
|
|
|
2012-06-10 07:21:05 -06:00
|
|
|
libos_la_LIBADD = @SHA1_LIBS@ $(DLOPEN_LIBS) $(LTLIBOBJS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2007-12-13 14:47:48 -07:00
|
|
|
if SECURE_RPC
|
|
|
|
libos_la_SOURCES += $(SECURERPC_SRCS)
|
|
|
|
endif
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
if XDMCP
|
2007-11-24 12:04:00 -07:00
|
|
|
libos_la_SOURCES += $(XDMCP_SRCS)
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
2014-05-02 13:27:46 -06:00
|
|
|
if HAVE_LIBUNWIND
|
|
|
|
AM_CFLAGS += $(LIBUNWIND_CFLAGS)
|
|
|
|
libos_la_LIBADD += $(LIBUNWIND_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUSFAULT
|
|
|
|
libos_la_SOURCES += $(BUSFAULT_SRCS)
|
|
|
|
endif
|
|
|
|
|
2006-11-28 13:29:31 -07:00
|
|
|
if X_PRIVSEP
|
2007-11-24 12:04:00 -07:00
|
|
|
libos_la_SOURCES += $(PRIVSEP_SRCS)
|
2006-11-28 13:29:31 -07:00
|
|
|
endif
|
|
|
|
|
2012-06-10 07:21:05 -06:00
|
|
|
EXTRA_DIST = $(SECURERPC_SRCS) $(XDMCP_SRCS)
|
2007-11-24 12:04:00 -07:00
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
if SPECIAL_DTRACE_OBJECTS
|
2007-11-24 12:04:00 -07:00
|
|
|
# Generate dtrace object code for probes in libos & libdix
|
|
|
|
dtrace.o: $(top_srcdir)/dix/Xserver.d $(am_libos_la_OBJECTS)
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_GEN)$(DTRACE) -G -C -o $@ -s $(top_srcdir)/dix/Xserver.d .libs/*.o ../dix/.libs/*.o
|
2007-11-24 12:04:00 -07:00
|
|
|
|
|
|
|
noinst_PROGRAMS = os.O
|
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
os_O_SOURCES =
|
2007-11-24 12:04:00 -07:00
|
|
|
os.O: dtrace.o $(am_libos_la_OBJECTS)
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_GEN)ld -r -o $@ dtrace.o .libs/*.o
|
2007-11-24 12:04:00 -07:00
|
|
|
endif
|