mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
avoid mutually exclusive options causing long Makefile.in lines:
simplify the logic
This commit is contained in:
parent
b1da890046
commit
1cee02c55c
2 changed files with 6 additions and 7 deletions
|
@ -588,6 +588,7 @@ fi
|
|||
|
||||
AM_CONDITIONAL(CDTYPE_WIN32, test "$CDTYPE" = "WIN32")
|
||||
AM_CONDITIONAL(CDTYPE_LINUX, test "$CDTYPE" = "LINUX")
|
||||
AM_CONDITIONAL(CDTYPE_NULL, test "$CDTYPE" != "WIN32" -a "$CDTYPE" != "LINUX")
|
||||
|
||||
|
||||
dnl ==================================================================
|
||||
|
|
|
@ -22,25 +22,23 @@ EXTRA_libqfsys_sv_a_SOURCES = sv_sys_unix.c sv_sys_win.c sys_win.c sys_unix.c fn
|
|||
|
||||
if SNDTYPE_WIN32
|
||||
libqfsnd_a_SOURCES = snd_win.c
|
||||
else
|
||||
endif
|
||||
if SNDTYPE_OSS
|
||||
libqfsnd_a_SOURCES = snd_oss.c
|
||||
else
|
||||
endif
|
||||
if SNDTYPE_ALSA
|
||||
libqfsnd_a_SOURCES = snd_alsa.c
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
EXTRA_libqfsnd_a_SOURCES = snd_win.c snd_oss.c snd_alsa.c
|
||||
|
||||
if CDTYPE_WIN32
|
||||
libqfcd_a_SOURCES = cd_win.c
|
||||
else
|
||||
endif
|
||||
if CDTYPE_LINUX
|
||||
libqfcd_a_SOURCES = cd_linux.c
|
||||
else
|
||||
libqfcd_a_SOURCES = cd_null.c
|
||||
endif
|
||||
if CDTYPE_NULL
|
||||
libqfcd_a_SOURCES = cd_null.c
|
||||
endif
|
||||
EXTRA_libqfcd_a_SOURCES = cd_win.c cd_linux.c cd_null.c
|
||||
|
||||
|
|
Loading…
Reference in a new issue