mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-17 02:11:35 +00:00
74a7e07dfc
CFLAGS is meant to be reserved for the user.
41 lines
957 B
Makefile
41 lines
957 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
AM_CFLAGS= @PREFER_NON_PIC@
|
|
CCASFLAGS+= @PREFER_NON_PIC@
|
|
INCLUDES= -I$(top_srcdir)/include
|
|
|
|
if ASM_ARCH
|
|
asm = libasm.la
|
|
else
|
|
asm =
|
|
endif
|
|
|
|
if BUILD_SW
|
|
noinst_LTLIBRARIES= libsw.la $(asm)
|
|
else
|
|
noinst_LTLIBRARIES=
|
|
endif
|
|
|
|
asm_src= \
|
|
d_draw.S d_parta.S d_polysa.S d_scana.S d_spr8.S d_varsa.S fpua.S \
|
|
surf8.S sw_raclipa.S sw_raliasa.S sw_rdrawa.S sw_redgea.S \
|
|
sw_rvarsa.S transform.S
|
|
|
|
sw_src= \
|
|
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 fpu.c nonintel.c \
|
|
screen.c sw_fog.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
|
|
|
|
libasm_la_LDFLAGS= @STATIC@
|
|
libasm_la_SOURCES= $(asm_src)
|
|
|
|
libsw_la_LDFLAGS= @STATIC@
|
|
libsw_la_SOURCES= $(sw_src)
|
|
if ASM_ARCH
|
|
libsw_la_LIBADD= $(asm)
|
|
libsw_la_DEPENDENCIES= $(asm)
|
|
endif
|
|
|
|
EXTRA_DIST= $(sw_src) $(asm_src)
|