2009-02-06 19:52:59 +00:00
|
|
|
# Create a shared library libZeroPAD
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
noinst_LIBRARIES = libZeroPAD.a
|
2009-02-25 12:30:10 +00:00
|
|
|
INCLUDES = -I@srcdir@/../../common/include
|
2009-02-06 19:52:59 +00:00
|
|
|
|
|
|
|
libZeroPAD_a_CXXFLAGS = $(shell pkg-config --cflags gtk+-2.0)
|
|
|
|
libZeroPAD_a_CFLAGS = $(shell pkg-config --cflags gtk+-2.0)
|
|
|
|
|
|
|
|
# Create a shared object by faking an exe (thanks to ODE makefiles)
|
|
|
|
traplibdir=$(prefix)
|
|
|
|
|
|
|
|
if DEBUGBUILD
|
|
|
|
preext=d
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXEEXT=$(preext)@so_ext@
|
|
|
|
|
|
|
|
traplib_PROGRAMS=libZeroPAD
|
|
|
|
libZeroPAD_SOURCES=
|
|
|
|
libZeroPAD_DEPENDENCIES = libZeroPAD.a
|
|
|
|
libZeroPAD_LDFLAGS= @SHARED_LDFLAGS@
|
|
|
|
libZeroPAD_LDFLAGS+=-Wl,-soname,@ZEROPAD_SONAME@
|
|
|
|
libZeroPAD_LDADD=$(libZeroPAD_a_OBJECTS)
|
|
|
|
|
2009-05-25 01:59:17 +00:00
|
|
|
libZeroPAD_a_SOURCES = joystick.cpp analog.cpp analog.h zeropad.cpp zeropad.h \
|
|
|
|
Linux/gui.cpp Linux/linux.cpp Linux/support.c Linux/interface.c
|