Rename generated file.
This commit is contained in:
parent
8e3c512256
commit
4d684d7166
2
src/protocols/rdp/.gitignore
vendored
2
src/protocols/rdp/.gitignore
vendored
@ -35,5 +35,5 @@ ltmain.sh
|
||||
missing
|
||||
|
||||
# Autogenerated sources
|
||||
rdp_keymaps.c
|
||||
_generated_keymaps.c
|
||||
|
||||
|
@ -28,10 +28,10 @@ AM_CFLAGS = -Werror -Wall -Iinclude @LIBGUAC_INCLUDE@
|
||||
lib_LTLIBRARIES = libguac-client-rdp.la
|
||||
|
||||
libguac_client_rdp_la_SOURCES = \
|
||||
_generated_keymaps.c \
|
||||
client.c \
|
||||
default_pointer.c \
|
||||
guac_handlers.c \
|
||||
rdp_keymaps.c \
|
||||
rdp_bitmap.c \
|
||||
rdp_cliprdr.c \
|
||||
rdp_fs.c \
|
||||
@ -106,14 +106,14 @@ guacsnd_libadd = @LIBGUAC_LTLIB@
|
||||
guacdr_libadd = @LIBGUAC_LTLIB@
|
||||
|
||||
# Autogenerate keymaps
|
||||
CLEANFILES = rdp_keymaps.c
|
||||
BUILT_SOURCES = rdp_keymaps.c
|
||||
CLEANFILES = _generated_keymaps.c
|
||||
BUILT_SOURCES = _generated_keymaps.c
|
||||
|
||||
rdp_keymaps = \
|
||||
keymaps/base.keymap \
|
||||
keymaps/en_us_qwerty.keymap
|
||||
|
||||
rdp_keymaps.c: $(rdp_keymaps)
|
||||
_generated_keymaps.c: $(rdp_keymaps)
|
||||
keymaps/generate.pl $(rdp_keymaps)
|
||||
|
||||
if LEGACY_FREERDP_EXTENSIONS
|
||||
|
@ -35,12 +35,12 @@ sub keymap_symbol {
|
||||
}
|
||||
|
||||
#
|
||||
# rdp_keymap.c
|
||||
# _generated_keymaps.c
|
||||
#
|
||||
|
||||
@keymaps = ();
|
||||
|
||||
open OUTPUT, ">", "rdp_keymaps.c";
|
||||
open OUTPUT, ">", "_generated_keymaps.c";
|
||||
print OUTPUT
|
||||
'#include "config.h"' . "\n"
|
||||
. '#include "rdp_keymap.h"' . "\n"
|
||||
@ -252,7 +252,7 @@ for $filename (@ARGV) {
|
||||
}
|
||||
|
||||
print OUTPUT "\n"
|
||||
. 'const guac_rdp_keymap* guac_rdp_keymaps[] = {' . "\n";
|
||||
. 'const guac_rdp_keymap* GUAC_KEYMAPS[] = {' . "\n";
|
||||
|
||||
foreach $keymap (@keymaps) {
|
||||
print OUTPUT " &$keymap,\n";
|
||||
|
Loading…
Reference in New Issue
Block a user