diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 13 | ||||
-rw-r--r-- | src/rda.h | 2 | ||||
-rw-r--r-- | src/rda_supported_technologies.h.in | 30 |
3 files changed, 45 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 83243b4..11c05a8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,8 +4,21 @@ lib_LTLIBRARIES = librda.la CLEANFILES = DISTCLEANFILES = +EXTRA_DIST = +BUILT_SOURCES = + +st_file = rda_supported_technologies.h + +$(st_file): $(st_file).in + cp $< $@ + for tech in $(SUPPORTED_TECHNOLOGIES); do sed -r -e "s|// \@WITH_REMOTE_AWARENESS_($$tech)\@\s+.*|#define WITH_REMOTE_AWARENESS_\1|" -i $@; done + +CLEANFILES += $(st_file) +EXTRA_DIST += $(st_file).in +BUILT_SOURCES += $(st_file) rda_headers = \ + rda_supported_technologies.h \ rda.h \ $(NULL) @@ -26,6 +26,8 @@ #include <glib.h> +#include <rda_supported_technologies.h> + G_BEGIN_DECLS enum { diff --git a/src/rda_supported_technologies.h.in b/src/rda_supported_technologies.h.in new file mode 100644 index 0000000..6336719 --- /dev/null +++ b/src/rda_supported_technologies.h.in @@ -0,0 +1,30 @@ +/* -*- Mode: C; c-set-style: linux indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */ + +/* rda.h - Remote Desktop Awareness + + Copyright (C) 2018 Mike Gabriel + All rights reserved. + + The RDA Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The RDA Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the Mate Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301, USA. + */ + +#ifndef RDA_SUPPORTED_TECHNOLOGIES_H +#define RDA_SUPPORTED_TECHNOLOGIES_H + +// @WITH_REMOTE_AWARENESS_X2GO@ not supported +// @WITH_REMOTE_AWARENESS_OGON@ not supported + +#endif /* RDA_SUPPORTED_TECHNOLOGIES_H */ |