[retro-gtk/wip/aplazas/master: 1/3] build: Separate public and private headers
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/wip/aplazas/master: 1/3] build: Separate public and private headers
- Date: Wed, 4 Oct 2017 20:32:17 +0000 (UTC)
commit fb35ea2bf243eafe69e6dea9d8271e8fec06350f
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Sep 28 14:57:34 2017 +0200
build: Separate public and private headers
retro-gtk/Makefile.am | 36 ++++++++++++++++++++++--------------
1 files changed, 22 insertions(+), 14 deletions(-)
---
diff --git a/retro-gtk/Makefile.am b/retro-gtk/Makefile.am
index 4204f9f..280f87c 100644
--- a/retro-gtk/Makefile.am
+++ b/retro-gtk/Makefile.am
@@ -27,6 +27,26 @@ dist_vapi_DATA = retro-gtk-0.12.vapi retro-gtk-0.12.deps
BUILT_SOURCES = retro-gtk-internal.h
+retro_gtk_public_h_sources = \
+ retro-gtk.h \
+ $(NULL)
+
+retro_gtk_private_h_sources = \
+ input/retro-keyboard-key.h \
+ libretro-environment.h \
+ retro-core.h \
+ retro-core-view-input-device.h \
+ retro-disk-control-callback.h \
+ retro-game-info.h \
+ retro-module.h \
+ retro-option.h \
+ retro-options.h \
+ retro-rotation.h \
+ retro-system-av-info.h \
+ retro-system-info.h \
+ retro-variable.h \
+ $(NULL)
+
libretro_gtk_la_SOURCES = \
audio/pa-player.vala \
\
@@ -59,7 +79,6 @@ libretro_gtk_la_SOURCES = \
video.vala \
retro-core.c \
retro-environment.c \
- libretro-environment.h \
\
video/cairo-display.vala \
video/retro-video-converter.c \
@@ -106,10 +125,7 @@ libretro_gtk_la_LIBADD = $(RETRO_GTK_LIBS)
retro_gtkincludedir = $(includedir)/retro-gtk-0.12
retro_gtkinclude_HEADERS = \
- retro-gtk.h \
- retro-option.h \
- retro-options.h \
- retro-variable.h \
+ $(retro_gtk_public_h_sources) \
$(NULL)
# Add unstable API guard
@@ -149,15 +165,7 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = retro-gtk-0.12.pc
EXTRA_DIST = \
- input/retro-keyboard-key.h \
- retro-core.h \
- retro-core-view-input-device.h \
- retro-disk-control-callback.h \
- retro-game-info.h \
- retro-module.h \
- retro-rotation.h \
- retro-system-av-info.h \
- retro-system-info.h \
+ $(retro_gtk_private_h_sources) \
retro-gtk-0.12.pc.in \
update-from-retroarch.sh \
$(NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]