2015-08-31 01:03:12 +03:00
|
|
|
EXTRA_DIST = \
|
|
|
|
xrdp.sh \
|
|
|
|
xrdp-sesman.service \
|
|
|
|
xrdp.service \
|
|
|
|
$(startscript_DATA)
|
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
|
|
|
|
|
|
|
|
startscript_DATA = \
|
2009-08-12 05:53:34 +04:00
|
|
|
km-0407.ini \
|
|
|
|
km-0409.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 \
|
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 \
|
|
|
|
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
|
|
|
|
#
|
|
|
|
SUBDIRS=
|
|
|
|
if LINUX
|
|
|
|
SUBDIRS+= \
|
|
|
|
pam.d \
|
|
|
|
pulse
|
|
|
|
startscript_DATA+= xrdp.sh
|
|
|
|
if HAVE_SYSTEMD
|
|
|
|
systemdsystemunit_DATA = \
|
|
|
|
xrdp-sesman.service \
|
|
|
|
xrdp.service
|
|
|
|
else
|
|
|
|
SUBDIRS+= \
|
|
|
|
default \
|
|
|
|
init.d
|
|
|
|
endif # HAVE_SYSTEMD
|
|
|
|
endif # LINUX
|
|
|
|
|
|
|
|
if FREEBSD
|
|
|
|
SUBDIRS+= \
|
|
|
|
pam.d \
|
|
|
|
rc.d \
|
|
|
|
pulse
|
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# install-data-hook for each platform
|
|
|
|
#
|
|
|
|
if LINUX
|
2008-08-18 03:08:17 +04:00
|
|
|
# must be tab below
|
|
|
|
install-data-hook:
|
|
|
|
chmod 755 $(DESTDIR)$(sysconfdir)/xrdp/xrdp.sh
|
2015-04-13 05:50:39 +03:00
|
|
|
if [ -f $(DESTDIR)$(sysconfdir)/init.d/xrdp ]; then \
|
|
|
|
chmod 755 $(DESTDIR)$(sysconfdir)/init.d/xrdp; \
|
|
|
|
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:
|
|
|
|
chmod 755 $(DESTDIR)$(sysconfdir)/rc.d/xrdp
|
|
|
|
sed -i '' 's|%%PREFIX%%|$(prefix)|g' $(DESTDIR)$(sysconfdir)/rc.d/xrdp
|
|
|
|
endif
|