From f7823bc1646f1885bd9a0a19a9645c0e2cb884bd Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 10 Jul 2010 06:54:11 +0000 Subject: I was really stupid... just use libcdio and everything's fine, no need to deal with different OSes at all. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54442 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfcdrom/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/dfcdrom/Makefile.am') diff --git a/plugins/dfcdrom/Makefile.am b/plugins/dfcdrom/Makefile.am index c205ff15..917ce913 100644 --- a/plugins/dfcdrom/Makefile.am +++ b/plugins/dfcdrom/Makefile.am @@ -9,11 +9,17 @@ libDFCdrom_la_SOURCES = \ cfg.c \ cdr-linux.c \ cdr-null.c \ - cdr-freebsd.c \ - cdr-solaris.c + cdr-libcdio.c \ + util.c +libDFCdrom_la_CFLAGS = libDFCdrom_la_LDFLAGS = -module -avoid-version -lpthread +if USE_LIBCDIO +libDFCdrom_la_CFLAGS += "-DUSE_LIBCDIO=1" +libDFCdrom_la_LDFLAGS += "-lcdio" +endif + INCLUDES = -DPIXMAPDIR=\"${datadir}/pixmaps/\" \ -DLOCALE_DIR=\"${datadir}/locale/\" \ -DDATADIR=\"${datadir}/psemu/\" \ -- cgit v1.2.3