update build system to autotools (finally)

This commit is contained in:
jp9000
2013-10-29 23:21:40 -07:00
parent fa0a65a41c
commit 676a0bd67d
16 changed files with 704 additions and 13 deletions

25
libobs-opengl/makefile.am Normal file
View File

@@ -0,0 +1,25 @@
INCLUDES = -iquote$(top_srcdir)/libobs -isystem./glew/include
AM_CFLAGS = -DGLEW_NO_GLU -DGLEW_STATIC
lib_LTLIBRARIES = libobs-opengl.la
libobs_opengl_la_LDFLAGS = -no-undefined
libobs_opengl_la_LIBADD = ../libobs/libobs.la
if OS_WIN
libobs_opengl_la_LDFLAGS += -mwindows -avoid-version
libobs_opengl_la_LIBADD += -lopengl32
endif
libobs_opengl_la_SOURCES = gl-helpers.c \
gl-indexbuffer.c \
gl-shader.c \
gl-shaderparser.c \
gl-stagesurf.c \
gl-subsystem.c \
gl-texture2d.c \
gl-texturecube.c \
gl-vertexbuffer.c \
gl-zstencil.c \
glew/src/glew.c
if OS_WIN
libobs_opengl_la_SOURCES += gl-windows.c
endif