2013-11-01 14:33:00 -07:00
|
|
|
if OS_WIN
|
|
|
|
if ARCH_X86
|
|
|
|
libobsdir = ../build/bin/32bit
|
|
|
|
else
|
|
|
|
libobsdir = ../build/bin/64bit
|
|
|
|
endif
|
|
|
|
else
|
|
|
|
libobsdir = $(libdir)
|
|
|
|
endif
|
|
|
|
|
|
|
|
libobs_LTLIBRARIES = libobs.la
|
2013-10-29 23:21:40 -07:00
|
|
|
libobs_la_LDFLAGS = -no-undefined --version-info 0:0:0
|
|
|
|
|
|
|
|
if OS_WIN
|
|
|
|
libobs_la_LDFLAGS += -avoid-version
|
|
|
|
endif
|
|
|
|
|
|
|
|
libobs_la_SOURCES = obs.c \
|
|
|
|
obs-display.c \
|
|
|
|
obs-module.c \
|
|
|
|
obs-output.c \
|
|
|
|
obs-scene.c \
|
|
|
|
obs-source.c \
|
|
|
|
obs-video.c \
|
|
|
|
util/base.c \
|
|
|
|
util/bmem.c \
|
|
|
|
util/cf-lexer.c \
|
|
|
|
util/cf-parser.c \
|
|
|
|
util/config-file.c \
|
|
|
|
util/dstr.c \
|
|
|
|
util/lexer.c \
|
|
|
|
util/platform.c \
|
|
|
|
util/text-lookup.c \
|
|
|
|
util/utf8.c \
|
|
|
|
media-io/audio-io.c \
|
|
|
|
media-io/format-conversion.c \
|
2013-10-30 17:07:01 -07:00
|
|
|
media-io/audio-resampler-ffmpeg.c \
|
2013-10-29 23:21:40 -07:00
|
|
|
media-io/media-io.c \
|
|
|
|
media-io/video-io.c \
|
|
|
|
graphics/axisang.c \
|
|
|
|
graphics/bounds.c \
|
|
|
|
graphics/effect.c \
|
|
|
|
graphics/effect-parser.c \
|
|
|
|
graphics/graphics.c \
|
|
|
|
graphics/graphics-imports.c \
|
|
|
|
graphics/math-extra.c \
|
|
|
|
graphics/matrix3.c \
|
|
|
|
graphics/matrix4.c \
|
|
|
|
graphics/plane.c \
|
|
|
|
graphics/quat.c \
|
|
|
|
graphics/shader-parser.c \
|
|
|
|
graphics/texture-render.c \
|
|
|
|
graphics/vec2.c \
|
|
|
|
graphics/vec3.c \
|
|
|
|
graphics/vec4.c
|
|
|
|
|
|
|
|
if OS_WIN
|
2013-11-01 14:33:00 -07:00
|
|
|
libobs_la_SOURCES += util/platform-windows.c obs-windows.c
|
|
|
|
endif
|
|
|
|
|
2013-11-15 05:40:03 -08:00
|
|
|
if OS_OSX
|
2013-12-07 08:40:27 -08:00
|
|
|
libobs_la_SOURCES += util/platform-cocoa.m obs-cocoa.c
|
|
|
|
libobs_la_OBJCFLAGS = -fobjc-arc
|
2013-11-15 05:40:03 -08:00
|
|
|
endif
|
|
|
|
|
2013-11-01 14:33:00 -07:00
|
|
|
if OS_NIX
|
|
|
|
libobs_la_SOURCES += util/platform-nix.c obs-nix.c
|
2013-10-29 23:21:40 -07:00
|
|
|
endif
|