[retro-gtk/c-port: 4/42] build: Separate public and private headers
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [retro-gtk/c-port: 4/42] build: Separate public and private headers
- Date: Wed, 4 Oct 2017 05:22:44 +0000 (UTC)
commit b657f92e819c2eae32d90ede273e9f75ebcf9900
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 | 34 +++++++++++++++++++++-------------
1 files changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/retro-gtk/Makefile.am b/retro-gtk/Makefile.am
index 4204f9f..5aaf62e 100644
--- a/retro-gtk/Makefile.am
+++ b/retro-gtk/Makefile.am
@@ -27,6 +27,25 @@ 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 \
+ 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 \
\
@@ -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]