2009-02-06 21:58:59 +00:00
|
|
|
# Create a shared library libZeroGSogl
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
|
|
noinst_LIBRARIES = libZeroGSogl.a
|
2009-02-25 12:30:10 +00:00
|
|
|
INCLUDES = -I@srcdir@/../../../common/include -I@srcdir@/../../../3rdparty
|
2009-02-06 21:58:59 +00:00
|
|
|
|
|
|
|
libZeroGSogl_a_CPPFLAGS = $(shell pkg-config --cflags gtk+-2.0)
|
|
|
|
libZeroGSogl_a_CXXFLAGS = $(shell pkg-config --cflags gtk+-2.0)
|
|
|
|
|
|
|
|
# Create a shared object by faking an exe (thanks to ODE makefiles)
|
|
|
|
traplibdir=$(prefix)
|
|
|
|
|
|
|
|
if RELEASE_TO_PUBLIC
|
|
|
|
preext=r
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXEEXT=$(preext)@so_ext@
|
|
|
|
|
|
|
|
traplib_PROGRAMS=libZeroGSogl
|
|
|
|
libZeroGSogl_SOURCES=
|
|
|
|
libZeroGSogl_DEPENDENCIES = libZeroGSogl.a
|
|
|
|
libZeroGSogl_LDFLAGS= @SHARED_LDFLAGS@
|
|
|
|
libZeroGSogl_LDFLAGS+=-Wl,-soname,@ZEROGS_SONAME@
|
|
|
|
libZeroGSogl_LDADD=$(libZeroGSogl_a_OBJECTS)
|
|
|
|
|
|
|
|
libZeroGSogl_a_SOURCES = \
|
|
|
|
GSmain.cpp memcpy_amd.cpp Regs.cpp x86.cpp zpipe.cpp \
|
2009-12-25 19:12:15 +00:00
|
|
|
Mem.cpp rasterfont.cpp targets.cpp zerogs.cpp GifTransfer.cpp GLWinX11.cpp
|
2009-02-06 21:58:59 +00:00
|
|
|
|
|
|
|
libZeroGSogl_a_SOURCES += x86-32.S
|
|
|
|
|
|
|
|
if SSE2
|
|
|
|
CCASFLAGS+= -DZEROGS_SSE2
|
|
|
|
endif
|
|
|
|
|
|
|
|
libZeroGSogl_a_DEPENDENCIES = Linux/libZeroGSLinux.a
|
|
|
|
libZeroGSogl_LDADD += Linux/libZeroGSLinux.a
|
|
|
|
|
|
|
|
SUBDIRS = Linux .
|