2009-05-19 12:23:49 +08:00
|
|
|
|
2016-01-30 14:45:00 +08:00
|
|
|
AM_CPPFLAGS = \
|
2009-05-19 12:23:49 +08:00
|
|
|
-DXRDP_CFG_PATH=\"${sysconfdir}/xrdp\" \
|
|
|
|
-DXRDP_SBIN_PATH=\"${sbindir}\" \
|
|
|
|
-DXRDP_SHARE_PATH=\"${datadir}/xrdp\" \
|
2016-01-30 14:45:00 +08:00
|
|
|
-DXRDP_PID_PATH=\"${localstatedir}/run\" \
|
2008-08-10 15:38:07 +08:00
|
|
|
-I$(top_srcdir)/common
|
|
|
|
|
|
|
|
bin_PROGRAMS = \
|
|
|
|
xrdp-keygen
|
|
|
|
|
|
|
|
xrdp_keygen_SOURCES = keygen.c
|
|
|
|
|
|
|
|
xrdp_keygen_LDADD = \
|
2012-07-14 07:18:02 +08:00
|
|
|
$(top_builddir)/common/libcommon.la
|
2016-02-20 15:38:49 +08:00
|
|
|
|
|
|
|
xrdpsysconfdir = $(sysconfdir)/xrdp
|
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
umask 077 && \
|
2016-11-12 13:47:19 +08:00
|
|
|
if [ ! -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini ]; then ./xrdp-keygen xrdp $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini; fi
|
2016-02-20 15:38:49 +08:00
|
|
|
|
|
|
|
uninstall-hook:
|
|
|
|
rm -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini
|