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

4
test/makefile.am Normal file
View File

@@ -0,0 +1,4 @@
SUBDIRS = test-input
if OS_WIN
SUBDIRS += win
endif

View File

@@ -0,0 +1,13 @@
INCLUDES = -iquote$(top_srcdir)/libobs
lib_LTLIBRARIES = libtest-input.la
libtest_input_la_LDFLAGS = -no-undefined
if OS_WIN
libtest_input_la_LDFLAGS += -avoid-version
endif
libtest_input_la_LIBADD = $(top_srcdir)/libobs/libobs.la
libtest_input_la_SOURCES = test-filter.c \
test-input.c \
test-random.c

6
test/win/makefile.am Normal file
View File

@@ -0,0 +1,6 @@
INCLUDES = -iquote$(top_srcdir)/libobs
AM_CPPFLAGS = -DUNICODE -D_UNICODE
bin_PROGRAMS = test
test_LDADD = $(top_srcdir)/libobs/libobs.la
test_LDFLAGS = -mwindows
test_SOURCES = test.cpp