[vlc-devel] commit: Skins2: separate the source files included depending on the paltform ( Geoffroy Couprie )

git version control git at videolan.org
Sat Sep 13 02:34:43 CEST 2008


vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Sat Sep 13 02:37:54 2008 +0200| [542e6161b40920f60a80264d6f8c0e0d0181490c] | committer: Geoffroy Couprie 

Skins2: separate the source files included depending on the paltform

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=542e6161b40920f60a80264d6f8c0e0d0181490c
---

 modules/gui/skins2/Modules.am |   30 ++++++++++++++++++++----------
 1 files changed, 20 insertions(+), 10 deletions(-)

diff --git a/modules/gui/skins2/Modules.am b/modules/gui/skins2/Modules.am
index 1951eec..923fd91 100644
--- a/modules/gui/skins2/Modules.am
+++ b/modules/gui/skins2/Modules.am
@@ -182,7 +182,14 @@ SOURCES_skins2 = \
 	vars/time.hpp \
 	vars/volume.cpp \
 	vars/volume.hpp \
-	\
+    unzip/crypt.h \
+	unzip/ioapi.c \
+	unzip/ioapi.h \
+	unzip/unzip.c \
+	unzip/unzip.h
+
+if HAVE_WIN32
+SOURCES_skins2 += \
 	win32/win32_dragdrop.cpp \
 	win32/win32_dragdrop.hpp \
 	win32/win32_factory.cpp \
@@ -199,7 +206,11 @@ SOURCES_skins2 = \
 	win32/win32_tooltip.hpp \
 	win32/win32_window.cpp \
 	win32/win32_window.hpp \
-	\
+    $(NULL)
+endif
+
+if HAVE_LINUX
+SOURCES_skins2 += \
 	x11/x11_display.cpp \
 	x11/x11_display.hpp \
 	x11/x11_dragdrop.cpp \
@@ -218,7 +229,11 @@ SOURCES_skins2 = \
 	x11/x11_window.hpp \
 	x11/x11_tooltip.cpp \
 	x11/x11_tooltip.hpp \
-	\
+    $(NULL)
+endif
+
+if HAVE_DARWIN
+SOURCES_skins2 += \
 	macosx/macosx_dragdrop.cpp \
 	macosx/macosx_dragdrop.hpp \
 	macosx/macosx_factory.cpp \
@@ -235,10 +250,5 @@ SOURCES_skins2 = \
 	macosx/macosx_window.hpp \
 	macosx/macosx_tooltip.cpp \
 	macosx/macosx_tooltip.hpp \
-	\
-	unzip/crypt.h \
-	unzip/ioapi.c \
-	unzip/ioapi.h \
-	unzip/unzip.c \
-	unzip/unzip.h \
-	$(NULL)
+    $(NULL)
+endif




More information about the vlc-devel mailing list