xenocara/xserver/os/Makefile.am

64 lines
1.1 KiB
Makefile
Raw Normal View History

noinst_LTLIBRARIES = libos.la
2006-11-26 11:13:41 -07:00
AM_CFLAGS = $(DIX_CFLAGS)
SECURERPC_SRCS = rpcauth.c
2007-11-24 12:04:00 -07:00
XDMCP_SRCS = xdmcp.c
STRLCAT_SRCS = strlcat.c strlcpy.c
XORG_SRCS = log.c
PRIVSEP_SRCS = privsep.c
2006-11-26 11:13:41 -07:00
libos_la_SOURCES = \
WaitFor.c \
access.c \
auth.c \
backtrace.c \
2006-11-26 11:13:41 -07:00
connection.c \
io.c \
mitauth.c \
oscolor.c \
osdep.h \
osinit.c \
utils.c \
strcasecmp.c \
strcasestr.c \
2006-11-26 11:13:41 -07:00
xdmauth.c \
xstrans.c \
xprintf.c \
2007-11-24 12:04:00 -07:00
$(XORG_SRCS)
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 NEED_STRLCAT
2007-11-24 12:04:00 -07:00
libos_la_SOURCES += $(STRLCAT_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
2007-11-24 12:04:00 -07:00
EXTRA_DIST = $(SECURERPC_SRCS) $(INTERNALMALLOC_SRCS) \
$(XDMCP_SRCS) $(STRLCAT_SRCS)
2007-11-24 12:04:00 -07:00
if XSERVER_DTRACE
# Generate dtrace object code for probes in libos & libdix
dtrace.o: $(top_srcdir)/dix/Xserver.d $(am_libos_la_OBJECTS)
$(DTRACE) -G -C -o $@ -s $(top_srcdir)/dix/Xserver.d .libs/*.o ../dix/.libs/*.o
noinst_PROGRAMS = os.O
os.O: dtrace.o $(am_libos_la_OBJECTS)
ld -r -o $@ dtrace.o .libs/*.o
endif
os.c:
touch $@
CLEANFILES = os.c