2015-08-31 01:03:12 +03:00
|
|
|
EXTRA_DIST = \
|
2016-12-18 09:43:30 +03:00
|
|
|
keymap-names.txt \
|
2017-05-24 11:57:44 +03:00
|
|
|
xrdp-sesman.service.in \
|
|
|
|
xrdp.service.in
|
|
|
|
|
|
|
|
#
|
|
|
|
# substitute directories in service file
|
|
|
|
#
|
|
|
|
CLEANFILES= \
|
|
|
|
xrdp-sesman.service \
|
|
|
|
xrdp.service
|
|
|
|
|
|
|
|
SUBST_VARS = sed \
|
|
|
|
-e 's|@sbindir[@]|$(sbindir)|g' \
|
|
|
|
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
|
|
|
|
-e 's|@localstatedir[@]|$(localstatedir)|g'
|
|
|
|
|
|
|
|
subst_verbose = $(subst_verbose_@AM_V@)
|
|
|
|
subst_verbose_ = $(subst_verbose_@AM_DEFAULT_V@)
|
|
|
|
subst_verbose_0 = @echo " SUBST $@";
|
|
|
|
|
|
|
|
SUFFIXES = .in
|
|
|
|
.in:
|
|
|
|
$(subst_verbose)$(SUBST_VARS) $< > $@
|
2008-08-17 11:17:58 +04:00
|
|
|
|
2015-03-12 14:22:35 +03:00
|
|
|
#
|
|
|
|
# files for all platforms
|
|
|
|
#
|
2008-08-17 11:17:58 +04:00
|
|
|
startscriptdir=$(sysconfdir)/xrdp
|
|
|
|
|
2016-02-23 09:11:57 +03:00
|
|
|
dist_startscript_DATA = \
|
2019-02-05 18:54:38 +03:00
|
|
|
km-00000406.ini \
|
2016-10-10 18:19:55 +03:00
|
|
|
km-00000407.ini \
|
|
|
|
km-00000409.ini \
|
2016-10-24 09:21:14 +03:00
|
|
|
km-0000040a.ini \
|
2016-11-02 08:49:47 +03:00
|
|
|
km-0000040b.ini \
|
2016-10-10 18:19:55 +03:00
|
|
|
km-0000040c.ini \
|
|
|
|
km-00000410.ini \
|
|
|
|
km-00000411.ini \
|
2016-12-14 09:27:03 +03:00
|
|
|
km-00000412.ini \
|
2016-10-10 18:19:55 +03:00
|
|
|
km-00000414.ini \
|
|
|
|
km-00000415.ini \
|
|
|
|
km-00000416.ini \
|
|
|
|
km-00000419.ini \
|
|
|
|
km-0000041d.ini \
|
|
|
|
km-00000807.ini \
|
|
|
|
km-00000809.ini \
|
2018-11-01 03:22:54 +03:00
|
|
|
km-0000080a.ini \
|
2016-10-10 18:19:55 +03:00
|
|
|
km-0000080c.ini \
|
|
|
|
km-00000813.ini \
|
|
|
|
km-00000816.ini \
|
2017-10-31 15:58:23 +03:00
|
|
|
km-0000100c.ini \
|
2020-06-14 03:59:20 +03:00
|
|
|
km-00010409.ini \
|
|
|
|
km-19360409.ini
|
2008-08-18 03:08:17 +04:00
|
|
|
|
2015-03-12 14:22:35 +03:00
|
|
|
#
|
|
|
|
# platform specific files
|
|
|
|
#
|
2016-02-12 10:27:54 +03:00
|
|
|
SUBDIRS =
|
2015-03-12 14:22:35 +03:00
|
|
|
if LINUX
|
2016-02-12 10:27:54 +03:00
|
|
|
SUBDIRS += \
|
|
|
|
pam.d \
|
|
|
|
pulse
|
2015-03-12 14:22:35 +03:00
|
|
|
if HAVE_SYSTEMD
|
2017-08-16 06:37:04 +03:00
|
|
|
systemdsystemunit_DATA = \
|
2016-02-12 10:27:54 +03:00
|
|
|
xrdp-sesman.service \
|
|
|
|
xrdp.service
|
2015-03-12 14:22:35 +03:00
|
|
|
else
|
2016-02-12 10:27:54 +03:00
|
|
|
SUBDIRS += \
|
|
|
|
default \
|
|
|
|
init.d
|
2015-03-12 14:22:35 +03:00
|
|
|
endif # HAVE_SYSTEMD
|
|
|
|
endif # LINUX
|
|
|
|
|
|
|
|
if FREEBSD
|
2016-02-12 10:27:54 +03:00
|
|
|
SUBDIRS += \
|
|
|
|
pam.d \
|
|
|
|
rc.d \
|
|
|
|
pulse
|
2015-03-12 14:22:35 +03:00
|
|
|
endif
|
|
|
|
|
2018-01-30 12:42:42 +03:00
|
|
|
if MACOS
|
|
|
|
SUBDIRS += pam.d
|
|
|
|
endif
|
|
|
|
|
2015-03-12 14:22:35 +03:00
|
|
|
#
|
|
|
|
# install-data-hook for each platform
|
2017-05-24 11:59:58 +03:00
|
|
|
# TODO: subst these directories as well as service files
|
2015-03-12 14:22:35 +03:00
|
|
|
#
|
|
|
|
if LINUX
|
2008-08-18 03:08:17 +04:00
|
|
|
# must be tab below
|
|
|
|
install-data-hook:
|
2015-04-13 05:50:39 +03:00
|
|
|
if [ -f $(DESTDIR)$(sysconfdir)/init.d/xrdp ]; then \
|
|
|
|
sed -i 's|__BASE__|$(prefix)|' $(DESTDIR)$(sysconfdir)/init.d/xrdp; \
|
|
|
|
fi
|
2015-03-12 14:22:35 +03:00
|
|
|
endif
|
|
|
|
|
|
|
|
if FREEBSD
|
|
|
|
# must be tab below
|
|
|
|
install-data-hook:
|
2018-05-28 18:30:22 +03:00
|
|
|
sed -i '' 's|%%PREFIX%%|$(prefix)|g' $(DESTDIR)$(sysconfdir)/rc.d/xrdp \
|
|
|
|
$(DESTDIR)$(sysconfdir)/rc.d/xrdp-sesman
|
2015-03-12 14:22:35 +03:00
|
|
|
endif
|