xrdp/sesman/chansrv/Makefile.am

97 lines
1.8 KiB
Makefile
Raw Permalink Normal View History

EXTRA_DIST = \
clipboard-notes.txt \
pcsc \
wave-format-server.txt
AM_CPPFLAGS = \
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
-DXRDP_SBIN_PATH=\"${sbindir}\" \
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
-DXRDP_SOCKET_ROOT_PATH=\"${socketdir}\" \
-I$(top_srcdir)/sesman/libsesman \
2024-04-16 18:19:06 +03:00
-I$(top_srcdir)/common
CHANSRV_EXTRA_LIBS =
2012-11-03 10:10:36 +04:00
if XRDP_FUSE
2021-03-24 14:32:28 +03:00
AM_CPPFLAGS += -DXRDP_FUSE $(FUSE_CFLAGS) -DFUSE_USE_VERSION=26
CHANSRV_EXTRA_LIBS += $(FUSE_LIBS)
2012-11-03 10:10:36 +04:00
endif
2017-07-28 08:02:04 +03:00
if XRDP_FDK_AAC
AM_CPPFLAGS += -DXRDP_FDK_AAC $(FDKAAC_CFLAGS)
CHANSRV_EXTRA_LIBS += $(FDKAAC_LIBS)
2017-07-28 08:02:04 +03:00
endif
if XRDP_OPUS
AM_CPPFLAGS += -DXRDP_OPUS
CHANSRV_EXTRA_LIBS += -lopus
endif
if XRDP_MP3LAME
AM_CPPFLAGS += -DXRDP_MP3LAME
CHANSRV_EXTRA_LIBS += -lmp3lame
endif
if XRDP_RDPSNDAUDIN
AM_CPPFLAGS += -DXRDP_RDPSNDAUDIN
endif
AM_CFLAGS = $(X_CFLAGS)
2009-04-19 21:16:46 +04:00
sbin_PROGRAMS = \
xrdp-chansrv
xrdp_chansrv_SOURCES = \
chansrv.c \
chansrv.h \
chansrv_common.c \
chansrv_common.h \
2020-07-06 13:53:56 +03:00
chansrv_config.c \
chansrv_config.h \
chansrv_fuse.c \
chansrv_fuse.h \
chansrv_xfs.c \
chansrv_xfs.h \
2009-04-22 08:34:45 +04:00
clipboard.c \
clipboard.h \
clipboard_common.h \
clipboard_file.c \
clipboard_file.h \
2012-07-25 07:47:53 +04:00
devredir.c \
devredir.h \
irp.c \
irp.h \
rail.c \
rail.h \
smartcard.c \
smartcard.h \
2013-08-05 12:10:57 +04:00
smartcard_pcsc.c \
smartcard_pcsc.h \
sound.c \
sound.h \
2012-09-01 11:18:23 +04:00
xcommon.c \
2019-07-04 07:31:52 +03:00
xcommon.h \
2024-04-16 11:21:49 +03:00
input.h \
2019-07-04 07:31:52 +03:00
audin.c \
audin.h
2009-04-19 21:16:46 +04:00
if XRDP_IBUS
AM_CPPFLAGS += -DXRDP_IBUS $(IBUS_CFLAGS) $(GLIB2_CFLAGS)
CHANSRV_EXTRA_LIBS += $(IBUS_LIBS) $(GLIB2_LIBS)
xrdp_chansrv_SOURCES += \
input_ibus.c
endif
2012-05-25 23:36:55 +04:00
xrdp_chansrv_LDFLAGS = \
$(X_LIBS)
2012-05-25 23:36:55 +04:00
2009-04-19 21:16:46 +04:00
xrdp_chansrv_LDADD = \
$(top_builddir)/common/libcommon.la \
$(top_builddir)/sesman/libsesman/libsesman.la \
$(top_builddir)/libipm/libipm.la \
$(X_PRE_LIBS) -lXfixes -lXrandr -lX11 $(X_EXTRA_LIBS) \
$(CHANSRV_EXTRA_LIBS)