mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
finally got sw's Makefile.am working too
This commit is contained in:
parent
9aca46416c
commit
87e59c0762
1 changed files with 21 additions and 14 deletions
|
@ -1,29 +1,36 @@
|
||||||
INCLUDES= -I$(top_srcdir)/include
|
INCLUDES= -I$(top_srcdir)/include
|
||||||
|
|
||||||
noinst_LTLIBRARIES= libsw.la libasm.la
|
if ASM_ARCH
|
||||||
|
asm = libasm.la
|
||||||
|
else
|
||||||
|
asm =
|
||||||
|
endif
|
||||||
|
|
||||||
EXTRA_libasm_la_SOURCES= \
|
if BUILD_SW
|
||||||
|
noinst_LTLIBRARIES= libsw.la $(asm)
|
||||||
|
else
|
||||||
|
noinst_LTLIBRARIES=
|
||||||
|
endif
|
||||||
|
|
||||||
|
asm_src= \
|
||||||
d_draw.S d_draw16.S d_parta.S d_polysa.S d_scana.S d_spr8.S d_varsa.S \
|
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 \
|
surf16.S surf8.S sw_raclipa.S sw_raliasa.S sw_rdrawa.S sw_redgea.S \
|
||||||
sw_rvarsa.S transform.S
|
sw_rvarsa.S transform.S
|
||||||
|
|
||||||
EXTRA_libsw_la_SOURCES= \
|
sw_src= \
|
||||||
d_edge.c d_fill.c d_init.c d_modech.c d_part.c d_polyse.c d_scan.c \
|
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 \
|
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 \
|
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_redge.c sw_rmain.c sw_rmisc.c sw_rpart.c sw_rsky.c sw_rsprite.c \
|
||||||
sw_rsurf.c sw_skin.c
|
sw_rsurf.c sw_skin.c
|
||||||
|
|
||||||
if BUILD_SW_ASM
|
libasm_la_SOURCES= $(asm_src)
|
||||||
libasm_la_SOURCES= $(EXTRA_libasm_la_SOURCES)
|
|
||||||
else
|
libsw_la_SOURCES= $(sw_src)
|
||||||
libasm_la_SOURCES=
|
if ASM_ARCH
|
||||||
|
libsw_la_LIBADD= $(asm)
|
||||||
|
libsw_la_DEPENDENCIES= $(asm)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if BUILD_SW
|
EXTRA_libasm_la_SOURCES= $(asm_src)
|
||||||
libsw_la_LIBADD= libasm.la
|
EXTRA_libsw_la_SOURCES= $(sw_src)
|
||||||
libsw_la_SOURCES= $(EXTRA_libsw_la_SOURCES)
|
|
||||||
libsw_la_DEPENDENCIES= libasm.la
|
|
||||||
else
|
|
||||||
libsw_la_SOURCES=
|
|
||||||
endif
|
|
||||||
|
|
Loading…
Reference in a new issue