2008-12-23 15:00:57 +00:00
|
|
|
# Create a shared library libZeroPAD
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
noinst_LIBRARIES = libZeroPAD.a
|
2009-01-05 13:39:59 +00:00
|
|
|
INCLUDES = -I@srcdir@/../common
|
2008-12-23 15:00:57 +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
|