[retro-gtk/c-port: 38/39] build: Moce C files out of subdirs in retro-gtk



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

    build: Moce 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 7610a38..bbbbd8a 100644
--- a/retro-gtk/Makefile.am
+++ b/retro-gtk/Makefile.am
@@ -26,8 +26,6 @@ vapi_DATA = retro-gtk-0.12.vapi
 dist_vapi_DATA = retro-gtk-0.12.deps
 
 libretro_gtk_la_SOURCES = \
-       input/retro-keyboard-key.c \
-       \
        retro-cairo-display.c \
        retro-core-descriptor.c \
        retro-core-view.c \
@@ -35,6 +33,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 \
@@ -44,12 +43,11 @@ 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 \
        libretro-environment.h \
-       \
-       video/retro-video-converter.c \
        $(NULL)
 
 libretro_gtk_la_LDFLAGS =
@@ -151,11 +149,11 @@ pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = retro-gtk-0.12.pc
 
 EXTRA_DIST = \
-       input/retro-keyboard-key.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-rotation.h \
        retro-system-av-info.h \
diff --git a/retro-gtk/retro-core.c b/retro-gtk/retro-core.c
index 87ca223..e35619c 100644
--- a/retro-gtk/retro-core.c
+++ b/retro-gtk/retro-core.c
@@ -3,7 +3,7 @@
 #include "retro-core-private.h"
 
 #include <string.h>
-#include "input/retro-keyboard-key.h"
+#include "retro-keyboard-key.h"
 
 struct _RetroControllerIterator
 {
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]