update build system to autotools (finally)
This commit is contained in:
4
test/makefile.am
Normal file
4
test/makefile.am
Normal file
@@ -0,0 +1,4 @@
|
||||
SUBDIRS = test-input
|
||||
if OS_WIN
|
||||
SUBDIRS += win
|
||||
endif
|
13
test/test-input/makefile.am
Normal file
13
test/test-input/makefile.am
Normal 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
6
test/win/makefile.am
Normal 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
|
Reference in New Issue
Block a user