obs-studio/obs/makefile.am

40 lines
839 B
Plaintext

AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = -I$(top_srcdir)/libobs
if OS_WIN
if ARCH_X86_64
obsdir = ../build/bin/64bit
else
obsdir = ../build/bin/32bit
endif
else
obsdir = $(bindir)
endif
obs_PROGRAMS = obs
obs_LDADD = $(top_srcdir)/libobs/libobs.la
obs_SOURCES = window-basic-main.cpp \
window-basic-settings.cpp \
window-namedialog.cpp \
settings-basic.cpp \
settings-basic-general.cpp \
settings-basic-video.cpp \
obs-app.cpp \
wx-subclass.cpp \
wx-wrappers.cpp \
forms/OBSWindows.cpp
if OS_WIN
obs_SOURCES += platform-windows.cpp
endif
if OS_OSX
obs_SOURCES += platform-osx.mm
endif
if OS_NIX
obs_CPPFLAGS = $(AM_CPPFLAGS) $(GTK_CFLAGS) $(X11_CFLAGS) $(XINERAMA_CFLAGS)
obs_SOURCES += platform-x11.cpp
obs_LDADD += $(GTK_LIBS) $(X11_LIBS) $(XINERAMA_LIBS)
endif