xenocara/xserver/os/Makefile.am

56 lines
1.0 KiB
Makefile
Raw Normal View History

2011-11-05 07:32:40 -06:00
noinst_LTLIBRARIES = libos.la
2006-11-26 11:13:41 -07:00
AM_CFLAGS = $(DIX_CFLAGS) $(SHA1_CFLAGS)
2006-11-26 11:13:41 -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
2006-11-26 11:13:41 -07:00
libos_la_SOURCES = \
WaitFor.c \
access.c \
auth.c \
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 \
xsha1.c \
2006-11-26 11:13:41 -07:00
xstrans.c \
2011-11-05 07:32:40 -06:00
xprintf.c \
$(XORG_SRCS)
libos_la_LIBADD = @SHA1_LIBS@ $(DLOPEN_LIBS) $(LTLIBOBJS)
2006-11-26 11:13:41 -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
if X_PRIVSEP
2007-11-24 12:04:00 -07:00
libos_la_SOURCES += $(PRIVSEP_SRCS)
endif
EXTRA_DIST = $(SECURERPC_SRCS) $(XDMCP_SRCS)
2007-11-24 12:04:00 -07: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)
$(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)
$(AM_V_GEN)ld -r -o $@ dtrace.o .libs/*.o
2007-11-24 12:04:00 -07:00
endif