2001-11-12 16:23:41 +00:00
|
|
|
AUTOMAKE_OPTIONS= foreign
|
|
|
|
|
2011-05-10 03:44:44 +00:00
|
|
|
AM_CFLAGS= @PREFER_NON_PIC@
|
2007-03-10 12:00:59 +00:00
|
|
|
CCASFLAGS+= @PREFER_NON_PIC@
|
2001-05-24 19:22:35 +00:00
|
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
|
2001-10-03 14:59:43 +00:00
|
|
|
if ASM_ARCH
|
|
|
|
asm = libasm.la
|
|
|
|
else
|
|
|
|
asm =
|
|
|
|
endif
|
|
|
|
|
|
|
|
if BUILD_SW
|
|
|
|
noinst_LTLIBRARIES= libsw.la $(asm)
|
|
|
|
else
|
|
|
|
noinst_LTLIBRARIES=
|
|
|
|
endif
|
2001-09-27 21:53:59 +00:00
|
|
|
|
2001-10-03 14:59:43 +00:00
|
|
|
asm_src= \
|
2002-06-07 15:09:20 +00:00
|
|
|
d_draw.S d_parta.S d_polysa.S d_scana.S d_spr8.S d_varsa.S fpua.S \
|
2001-11-21 19:13:53 +00:00
|
|
|
surf8.S sw_raclipa.S sw_raliasa.S sw_rdrawa.S sw_redgea.S \
|
2001-09-28 05:33:58 +00:00
|
|
|
sw_rvarsa.S transform.S
|
|
|
|
|
2001-10-03 14:59:43 +00:00
|
|
|
sw_src= \
|
2001-09-28 05:33:58 +00:00
|
|
|
d_edge.c d_fill.c d_init.c d_modech.c d_part.c d_polyse.c d_scan.c \
|
2002-06-07 15:09:20 +00:00
|
|
|
d_sky.c d_sprite.c d_surf.c d_vars.c d_zpoint.c draw.c fpu.c nonintel.c \
|
2010-12-10 08:15:47 +00:00
|
|
|
screen.c sw_fog.c sw_graph.c sw_raclip.c sw_ralias.c sw_rbsp.c sw_rdraw.c \
|
2001-09-28 05:33:58 +00:00
|
|
|
sw_redge.c sw_rmain.c sw_rmisc.c sw_rpart.c sw_rsky.c sw_rsprite.c \
|
2012-01-23 07:16:30 +00:00
|
|
|
sw_rsurf.c
|
2001-10-02 22:02:10 +00:00
|
|
|
|
2003-12-22 20:51:08 +00:00
|
|
|
libasm_la_LDFLAGS= @STATIC@
|
2001-10-03 14:59:43 +00:00
|
|
|
libasm_la_SOURCES= $(asm_src)
|
2001-10-02 22:02:10 +00:00
|
|
|
|
2003-12-22 20:51:08 +00:00
|
|
|
libsw_la_LDFLAGS= @STATIC@
|
2001-10-03 14:59:43 +00:00
|
|
|
libsw_la_SOURCES= $(sw_src)
|
|
|
|
if ASM_ARCH
|
|
|
|
libsw_la_LIBADD= $(asm)
|
|
|
|
libsw_la_DEPENDENCIES= $(asm)
|
2001-10-02 22:02:10 +00:00
|
|
|
endif
|
2001-10-03 14:59:43 +00:00
|
|
|
|
2001-10-03 17:50:36 +00:00
|
|
|
EXTRA_DIST= $(sw_src) $(asm_src)
|