]> git.sesse.net Git - vlc/blobdiff - src/Makefile.am
Separate and refactor the win32 main code
[vlc] / src / Makefile.am
index b9386416e53af0f4f161b99bfec9fc0f60e9192e..7baf8ea691a1c221bc064613c1ed9398d0a7280d 100644 (file)
@@ -435,7 +435,12 @@ if BUILD_VLC
 bin_PROGRAMS = vlc
 endif
 
+if !HAVE_WIN32
 vlc_SOURCES = vlc.c
+else
+vlc_SOURCES = winvlc.c
+endif
+
 vlc_DEPENDENCIES = $(DATA_win32_rc) libvlc.la
 
 vlc_CFLAGS = `$(VLC_CONFIG) --cflags vlc`