makefile.am 667 B

12345678910111213141516171819202122232425
  1. INCLUDES = -iquote$(top_srcdir)/libobs -isystem./glew/include
  2. AM_CFLAGS = -DGLEW_NO_GLU -DGLEW_STATIC
  3. lib_LTLIBRARIES = libobs-opengl.la
  4. libobs_opengl_la_LDFLAGS = -no-undefined
  5. libobs_opengl_la_LIBADD = ../libobs/libobs.la
  6. if OS_WIN
  7. libobs_opengl_la_LDFLAGS += -mwindows -avoid-version
  8. libobs_opengl_la_LIBADD += -lopengl32
  9. endif
  10. libobs_opengl_la_SOURCES = gl-helpers.c \
  11. gl-indexbuffer.c \
  12. gl-shader.c \
  13. gl-shaderparser.c \
  14. gl-stagesurf.c \
  15. gl-subsystem.c \
  16. gl-texture2d.c \
  17. gl-texturecube.c \
  18. gl-vertexbuffer.c \
  19. gl-zstencil.c \
  20. glew/src/glew.c
  21. if OS_WIN
  22. libobs_opengl_la_SOURCES += gl-windows.c
  23. endif