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)
|
|
|
|
|
|
|
|
if X86_64
|
|
|
|
libZeroPAD_a_CXXFLAGS += -fPIC
|
|
|
|
libZeroPAD_a_CFLAGS += -fPIC
|
|
|
|
endif
|
|
|
|
|
|
|
|
# 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)
|
|
|
|
|
|
|
|
libZeroPAD_a_SOURCES = zeropad.cpp Linux/linux.cpp Linux/support.c Linux/interface.c
|