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= \
|
2001-09-28 05:33:58 +00:00
|
|
|
d_draw.S d_draw16.S d_parta.S d_polysa.S d_scana.S d_spr8.S d_varsa.S \
|
|
|
|
surf16.S surf8.S sw_raclipa.S sw_raliasa.S sw_rdrawa.S sw_redgea.S \
|
|
|
|
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 \
|
|
|
|
d_sky.c d_sprite.c d_surf.c d_vars.c d_zpoint.c draw.c nonintel.c \
|
|
|
|
screen.c sw_graph.c sw_raclip.c sw_ralias.c sw_rbsp.c sw_rdraw.c \
|
|
|
|
sw_redge.c sw_rmain.c sw_rmisc.c sw_rpart.c sw_rsky.c sw_rsprite.c \
|
|
|
|
sw_rsurf.c sw_skin.c
|
2001-10-02 22:02:10 +00:00
|
|
|
|
2001-10-23 18:48:49 +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
|
|
|
|
2001-10-23 18:48:49 +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)
|