mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
seems automake isn't too happy about nested conditionals and main vars
This commit is contained in:
parent
256f6e94c1
commit
b866bcae61
2 changed files with 7 additions and 7 deletions
|
@ -1515,6 +1515,7 @@ AC_SUBST(VID_TARGETS_NOINST)
|
|||
|
||||
AM_CONDITIONAL(BUILD_GL, test "$BUILD_GL" = "yes")
|
||||
AM_CONDITIONAL(BUILD_SW, test "$BUILD_SW" = "yes")
|
||||
AM_CONDITIONAL(BUILD_SW_ASM, test "$BUILD_SW" = "yes" -a "$ASM_ARCH" = "yes")
|
||||
AM_CONDITIONAL(BUILD_SW32, test "$BUILD_SW32" = "yes")
|
||||
|
||||
dnl Finalization of CFLAGS, LDFLAGS, and LIBS
|
||||
|
|
|
@ -14,17 +14,16 @@ EXTRA_libsw_la_SOURCES= \
|
|||
sw_redge.c sw_rmain.c sw_rmisc.c sw_rpart.c sw_rsky.c sw_rsprite.c \
|
||||
sw_rsurf.c sw_skin.c
|
||||
|
||||
if BUILD_SW
|
||||
if ASM_ARCH
|
||||
libasm_la_SOURCES= $(EXTRA_libasm_la_SOURCES)
|
||||
else
|
||||
libasm_la_SOURCES=
|
||||
endif
|
||||
if BUILD_SW_ASM
|
||||
libasm_la_SOURCES= $(EXTRA_libasm_la_SOURCES)
|
||||
else
|
||||
libasm_la_SOURCES=
|
||||
endif
|
||||
|
||||
if BUILD_SW
|
||||
libsw_la_LIBADD= libasm.la
|
||||
libsw_la_SOURCES= $(EXTRA_libsw_la_SOURCES)
|
||||
libsw_la_DEPENDENCIES= libasm.la
|
||||
else
|
||||
libasm_la_SOURCES=
|
||||
libsw_la_SOURCES=
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue