2015-08-31 06:03:12 +08:00
|
|
|
EXTRA_DIST = \
|
|
|
|
xrdp.sh \
|
|
|
|
xrdp-sesman.service \
|
2016-02-23 14:11:57 +08:00
|
|
|
xrdp.service
|
2008-08-17 15:17:58 +08:00
|
|
|
|
2015-03-12 19:22:35 +08:00
|
|
|
#
|
|
|
|
# files for all platforms
|
|
|
|
#
|
2008-08-17 15:17:58 +08:00
|
|
|
startscriptdir=$(sysconfdir)/xrdp
|
|
|
|
|
2016-02-23 14:11:57 +08:00
|
|
|
dist_startscript_DATA = \
|
2016-10-10 23:19:55 +08:00
|
|
|
km-00000407.ini \
|
|
|
|
km-00000409.ini \
|
2016-10-24 14:21:14 +08:00
|
|
|
km-0000040a.ini \
|
2016-10-10 23:19:55 +08:00
|
|
|
km-0000040c.ini \
|
|
|
|
km-00000410.ini \
|
|
|
|
km-00000411.ini \
|
|
|
|
km-00000414.ini \
|
|
|
|
km-00000415.ini \
|
|
|
|
km-00000416.ini \
|
|
|
|
km-00000419.ini \
|
|
|
|
km-0000041d.ini \
|
|
|
|
km-00000807.ini \
|
|
|
|
km-00000809.ini \
|
|
|
|
km-0000080c.ini \
|
|
|
|
km-00000813.ini \
|
|
|
|
km-00000816.ini \
|
|
|
|
km-0000100c.ini \
|
2014-12-01 15:32:18 +08:00
|
|
|
km-e0010411.ini \
|
|
|
|
km-e0200411.ini \
|
|
|
|
km-e0210411.ini
|
2008-08-18 07:08:17 +08:00
|
|
|
|
2015-03-12 19:22:35 +08:00
|
|
|
#
|
|
|
|
# platform specific files
|
|
|
|
#
|
2016-02-12 15:27:54 +08:00
|
|
|
SUBDIRS =
|
2015-03-12 19:22:35 +08:00
|
|
|
if LINUX
|
2016-02-12 15:27:54 +08:00
|
|
|
SUBDIRS += \
|
|
|
|
pam.d \
|
|
|
|
pulse
|
2016-02-23 15:13:16 +08:00
|
|
|
dist_startscript_SCRIPTS = xrdp.sh
|
2015-03-12 19:22:35 +08:00
|
|
|
if HAVE_SYSTEMD
|
2016-02-23 14:11:57 +08:00
|
|
|
dist_systemdsystemunit_DATA = \
|
2016-02-12 15:27:54 +08:00
|
|
|
xrdp-sesman.service \
|
|
|
|
xrdp.service
|
2015-03-12 19:22:35 +08:00
|
|
|
else
|
2016-02-12 15:27:54 +08:00
|
|
|
SUBDIRS += \
|
|
|
|
default \
|
|
|
|
init.d
|
2015-03-12 19:22:35 +08:00
|
|
|
endif # HAVE_SYSTEMD
|
|
|
|
endif # LINUX
|
|
|
|
|
|
|
|
if FREEBSD
|
2016-02-12 15:27:54 +08:00
|
|
|
SUBDIRS += \
|
|
|
|
pam.d \
|
|
|
|
rc.d \
|
|
|
|
pulse
|
2015-03-12 19:22:35 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# install-data-hook for each platform
|
|
|
|
#
|
|
|
|
if LINUX
|
2008-08-18 07:08:17 +08:00
|
|
|
# must be tab below
|
|
|
|
install-data-hook:
|
2015-04-13 10:50:39 +08:00
|
|
|
if [ -f $(DESTDIR)$(sysconfdir)/init.d/xrdp ]; then \
|
|
|
|
sed -i 's|__BASE__|$(prefix)|' $(DESTDIR)$(sysconfdir)/init.d/xrdp; \
|
|
|
|
fi
|
2015-03-12 19:22:35 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
if FREEBSD
|
|
|
|
# must be tab below
|
|
|
|
install-data-hook:
|
|
|
|
sed -i '' 's|%%PREFIX%%|$(prefix)|g' $(DESTDIR)$(sysconfdir)/rc.d/xrdp
|
|
|
|
endif
|