summaryrefslogtreecommitdiff
path: root/plugins/dfcdrom/Makefile.am
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-10 06:54:11 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-10 06:54:11 +0000
commitf7823bc1646f1885bd9a0a19a9645c0e2cb884bd (patch)
tree15f115383205088b3fca3f4c41a319e1da183ac7 /plugins/dfcdrom/Makefile.am
parentfcf4fb0933140db08c7bc094abc9edb271c13359 (diff)
downloadpcsxr-f7823bc1646f1885bd9a0a19a9645c0e2cb884bd.tar.gz
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
Diffstat (limited to 'plugins/dfcdrom/Makefile.am')
-rw-r--r--plugins/dfcdrom/Makefile.am10
1 files changed, 8 insertions, 2 deletions
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/\" \