mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-27 06:58:16 +02:00
glcore gets linked with -ldl, -lpthread for s3tc and glapi
xserver needs
DLOPEN_LIBS - to dlopen the glcore dso
LD_EXPORT_SYMBOLS_FLAG - to export symbols for glcore to use
the ld flag is added to kdrive only when GLX is enabled, the net overhead for
Xephyr is ~155KB, could be reduced with --dynamic-list.
21 lines
349 B
Makefile
21 lines
349 B
Makefile
INCLUDES = \
|
|
@KDRIVE_PURE_INCS@ \
|
|
@KDRIVE_CFLAGS@ \
|
|
@XSDL_INCS@
|
|
|
|
bin_PROGRAMS = Xsdl
|
|
|
|
Xsdl_SOURCES = sdl.c
|
|
|
|
if GLX
|
|
Xsdl_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
|
endif
|
|
|
|
Xsdl_LDADD = \
|
|
@KDRIVE_LIBS@ \
|
|
@XSDL_LIBS@
|
|
|
|
Xsdl_DEPENDENCIES = @KDRIVE_LOCAL_LIBS@
|
|
|
|
relink:
|
|
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)
|