]> git.sesse.net Git - vlc/blobdiff - src/Makefile.am
Implement thread support for OS/2
[vlc] / src / Makefile.am
index 386794b6316677def9afb98f630436eb040eae16..20dd1329e6dd79dbd8adcda2fb8514afb50eed38 100644 (file)
@@ -197,6 +197,7 @@ EXTRA_libvlccore_la_SOURCES = \
        $(SOURCES_libvlc_darwin) \
        $(SOURCES_libvlc_linux) \
        $(SOURCES_libvlc_win32) \
+       $(SOURCES_libvlc_os2) \
        $(SOURCES_libvlc_other) \
        $(SOURCES_libvlc_httpd) \
        $(SOURCES_libvlc_sout) \
@@ -217,12 +218,16 @@ else
 if HAVE_SYMBIAN
 #libvlccore_la_SOURCES += $(SOURCES_libvlc_symbian)
 else
+if HAVE_OS2
+libvlccore_la_SOURCES += $(SOURCES_libvlc_os2)
+else
 libvlccore_la_SOURCES += $(SOURCES_libvlc_other)
 endif
 endif
 endif
 endif
 endif
+endif
 if BUILD_HTTPD
 libvlccore_la_SOURCES += $(SOURCES_libvlc_httpd)
 endif
@@ -271,6 +276,14 @@ SOURCES_libvlc_symbian = \
        win32/plugin.c \
        $(NULL)
 
+SOURCES_libvlc_os2 = \
+       posix/dirs.c \
+       misc/atomic.c \
+       posix/filesystem.c \
+       os2/thread.c \
+       posix/specific.c \
+       $(NULL)
+
 SOURCES_libvlc_other = \
        posix/dirs.c \
        misc/atomic.c \