Search
lxdream.org :: lxdream/src/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 489:45c8ddcf52cb
prev464:8e099fad42a6
next492:84e33e4dda1c
author nkeynes
date Sun Nov 04 05:07:49 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Test for presence of linux/cdrom.h at configure time, and only build the
linux driver if it's found successfully
file annotate diff log raw
1.1 --- a/src/Makefile.am Sat Oct 27 05:44:54 2007 +0000
1.2 +++ b/src/Makefile.am Sun Nov 04 05:07:49 2007 +0000
1.3 @@ -20,7 +20,7 @@
1.4 asic.c asic.h \
1.5 syscall.c syscall.h bios.c dcload.c \
1.6 gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
1.7 - gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c gdrom/linux.c \
1.8 + gdrom/gdrom.c gdrom/gdrom.h gdrom/nrg.c gdrom/cdi.c \
1.9 dreamcast.c dreamcast.h eventq.c eventq.h \
1.10 sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
1.11 sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
1.12 @@ -46,6 +46,12 @@
1.13 drivers/gl_common.c drivers/gl_common.h drivers/gl_fbo.c \
1.14 drivers/gl_sl.c drivers/gl_slsrc.c
1.15
1.16 +if CDROM_LINUX
1.17 +lxdream_SOURCES += gdrom/linux.c
1.18 +else
1.19 +lxdream_SOURCES += gdrom/cdnone.c
1.20 +endif
1.21 +
1.22 lxdream_LDADD = @PACKAGE_LIBS@ $(INTLLIBS) -lesd
1.23
1.24 gendec_LDADD = @PACKAGE_LIBS@ $(INTLLIBS)
.