avoid mutually exclusive options causing long Makefile.in lines:

simplify the logic
This commit is contained in:
Bill Currie 2000-05-24 07:29:16 +00:00
parent b1da890046
commit 1cee02c55c
2 changed files with 6 additions and 7 deletions

View file

@ -588,6 +588,7 @@ fi
AM_CONDITIONAL(CDTYPE_WIN32, test "$CDTYPE" = "WIN32") AM_CONDITIONAL(CDTYPE_WIN32, test "$CDTYPE" = "WIN32")
AM_CONDITIONAL(CDTYPE_LINUX, test "$CDTYPE" = "LINUX") AM_CONDITIONAL(CDTYPE_LINUX, test "$CDTYPE" = "LINUX")
AM_CONDITIONAL(CDTYPE_NULL, test "$CDTYPE" != "WIN32" -a "$CDTYPE" != "LINUX")
dnl ================================================================== dnl ==================================================================

View file

@ -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 if SNDTYPE_WIN32
libqfsnd_a_SOURCES = snd_win.c libqfsnd_a_SOURCES = snd_win.c
else endif
if SNDTYPE_OSS if SNDTYPE_OSS
libqfsnd_a_SOURCES = snd_oss.c libqfsnd_a_SOURCES = snd_oss.c
else endif
if SNDTYPE_ALSA if SNDTYPE_ALSA
libqfsnd_a_SOURCES = snd_alsa.c libqfsnd_a_SOURCES = snd_alsa.c
endif endif
endif
endif
EXTRA_libqfsnd_a_SOURCES = snd_win.c snd_oss.c snd_alsa.c EXTRA_libqfsnd_a_SOURCES = snd_win.c snd_oss.c snd_alsa.c
if CDTYPE_WIN32 if CDTYPE_WIN32
libqfcd_a_SOURCES = cd_win.c libqfcd_a_SOURCES = cd_win.c
else endif
if CDTYPE_LINUX if CDTYPE_LINUX
libqfcd_a_SOURCES = cd_linux.c libqfcd_a_SOURCES = cd_linux.c
else
libqfcd_a_SOURCES = cd_null.c
endif endif
if CDTYPE_NULL
libqfcd_a_SOURCES = cd_null.c
endif endif
EXTRA_libqfcd_a_SOURCES = cd_win.c cd_linux.c cd_null.c EXTRA_libqfcd_a_SOURCES = cd_win.c cd_linux.c cd_null.c