[retro-gtk/wip/aplazas/c-port: 31/36] build: Move C files out of subdirs in retro-gtk



commit 28ac1feca5a7cb1c72eaa8607b5176c1ef62d334
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Sep 26 06:15:41 2017 +0200

    build: Move C files out of subdirs in retro-gtk

 retro-gtk/Makefile.am                         |    8 +++-----
 retro-gtk/retro-core.c                        |    2 +-
 retro-gtk/{input => }/retro-keyboard-key.c    |    0
 retro-gtk/{input => }/retro-keyboard-key.h    |    0
 retro-gtk/{video => }/retro-video-converter.c |    0
 5 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/retro-gtk/Makefile.am b/retro-gtk/Makefile.am
index e794aca..d0e7a9f 100644
--- a/retro-gtk/Makefile.am
+++ b/retro-gtk/Makefile.am
@@ -56,13 +56,13 @@ retro_gtk_public_h_sources = \
        $(NULL)
 
 retro_gtk_private_h_sources = \
-       input/retro-keyboard-key.h \
        libretro-environment.h \
        retro-controller-iterator-private.h \
        retro-core-private.h \
        retro-core-view-input-device.h \
        retro-disk-control-callback.h \
        retro-game-info.h \
+       retro-keyboard-key.h \
        retro-module.h \
        retro-option.h \
        retro-options.h \
@@ -73,8 +73,6 @@ retro_gtk_private_h_sources = \
        $(NULL)
 
 libretro_gtk_la_SOURCES = \
-       input/retro-keyboard-key.c \
-       \
        retro.vala \
        retro-cairo-display.c \
        retro-controller-iterator.c \
@@ -84,6 +82,7 @@ libretro_gtk_la_SOURCES = \
        retro-game-info.c \
        retro-input-descriptor.c \
        retro-input-device.c \
+       retro-keyboard-key.c \
        retro-log.c \
        retro-main-loop.c \
        retro-module.c \
@@ -93,11 +92,10 @@ libretro_gtk_la_SOURCES = \
        retro-options.c \
        retro-pa-player.c \
        retro-pixel-format.c \
+       retro-video-converter.c \
        retro-video-filter.c \
        retro-core.c \
        retro-environment.c \
-       \
-       video/retro-video-converter.c \
        $(NULL)
 
 libretro_gtk_la_LDFLAGS =
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index 78427c9..77c1504 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -4,7 +4,7 @@
 
 #include <string.h>
 #include "retro-controller-iterator-private.h"
-#include "input/retro-keyboard-key.h"
+#include "retro-keyboard-key.h"
 
 #define RETRO_CORE_ERROR (retro_core_error_quark ())
 
diff --git a/retro-gtk/input/retro-keyboard-key.c b/retro-gtk/retro-keyboard-key.c
similarity index 100%
rename from retro-gtk/input/retro-keyboard-key.c
rename to retro-gtk/retro-keyboard-key.c
diff --git a/retro-gtk/input/retro-keyboard-key.h b/retro-gtk/retro-keyboard-key.h
similarity index 100%
rename from retro-gtk/input/retro-keyboard-key.h
rename to retro-gtk/retro-keyboard-key.h
diff --git a/retro-gtk/video/retro-video-converter.c b/retro-gtk/retro-video-converter.c
similarity index 100%
rename from retro-gtk/video/retro-video-converter.c
rename to retro-gtk/retro-video-converter.c


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]