2015-08-31 01:03:12 +03:00
|
|
|
EXTRA_DIST = \
|
|
|
|
xrdp.sh \
|
|
|
|
xrdp-sesman.service \
|
2016-02-23 09:11:57 +03:00
|
|
|
xrdp.service
|
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 = \
|
2009-08-12 05:53:34 +04:00
|
|
|
km-0407.ini \
|
|
|
|
km-0409.ini \
|
2016-10-21 21:33:57 +03:00
|
|
|
km-040a.ini \
|
2009-10-09 12:03:15 +04:00
|
|
|
km-040c.ini \
|
|
|
|
km-0410.ini \
|
2014-12-01 10:32:18 +03:00
|
|
|
km-0411.ini \
|
2015-08-31 01:03:12 +03:00
|
|
|
km-0414.ini \
|
2014-10-27 14:53:19 +03:00
|
|
|
km-0415.ini \
|
2015-08-31 01:03:12 +03:00
|
|
|
km-0416.ini \
|
2009-10-09 12:03:15 +04:00
|
|
|
km-0419.ini \
|
2013-03-19 02:06:10 +04:00
|
|
|
km-041d.ini \
|
2015-04-19 12:47:27 +03:00
|
|
|
km-0807.ini \
|
2016-09-06 08:12:17 +03:00
|
|
|
km-0809.ini \
|
2015-08-31 01:03:12 +03:00
|
|
|
km-080c.ini \
|
|
|
|
km-0813.ini \
|
2014-12-01 10:32:18 +03:00
|
|
|
km-0816.ini \
|
2015-11-11 04:58:05 +03:00
|
|
|
km-100c.ini \
|
2014-12-01 10:32:18 +03:00
|
|
|
km-e0010411.ini \
|
|
|
|
km-e0200411.ini \
|
|
|
|
km-e0210411.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
|
2016-02-23 10:13:16 +03:00
|
|
|
dist_startscript_SCRIPTS = xrdp.sh
|
2015-03-12 14:22:35 +03:00
|
|
|
if HAVE_SYSTEMD
|
2016-02-23 09:11:57 +03:00
|
|
|
dist_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
|
|
|
|
|
|
|
|
#
|
|
|
|
# install-data-hook for each platform
|
|
|
|
#
|
|
|
|
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:
|
|
|
|
sed -i '' 's|%%PREFIX%%|$(prefix)|g' $(DESTDIR)$(sysconfdir)/rc.d/xrdp
|
|
|
|
endif
|