Search
lxdream.org :: lxdream/src/Makefile.am :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 964:f2f3c7612d06
prev953:f4a156508ad1
next967:ef93b08e2166
author nkeynes
date Thu Jan 15 04:15:11 2009 +0000 (12 years ago)
permissions -rw-r--r--
last change Add support for the Intel ICC compiler (C only, icc doesn't support Obj-C)
- Rename Obj-C source to .m
- Separate paths.c into paths_unix.c and paths_osx.m
- Add configuration detection of ICC, along with specific opt flags
file annotate diff log raw
1.1 --- a/src/Makefile.am Tue Jan 13 11:56:28 2009 +0000
1.2 +++ b/src/Makefile.am Thu Jan 15 04:15:11 2009 +0000
1.3 @@ -31,10 +31,10 @@
1.4
1.5 gendec_SOURCES = tools/gendec.c tools/gendec.h tools/insparse.c tools/actparse.c
1.6 genglsl_SOURCES = tools/genglsl.c
1.7 -
1.8 +lxdream_LINK = $(CCLD)
1.9 lxdream_SOURCES = \
1.10 main.c version.c config.c config.h lxdream.h dream.h gui.h cpu.h hook.h \
1.11 - gettext.h mem.c mem.h sdram.c mmio.h paths.c watch.c \
1.12 + gettext.h mem.c mem.h sdram.c mmio.h watch.c \
1.13 asic.c asic.h clock.h serial.h \
1.14 syscall.c syscall.h bios.c dcload.c \
1.15 gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdimage.c \
1.16 @@ -91,10 +91,12 @@
1.17 endif
1.18
1.19 if GUI_COCOA
1.20 -lxdream_SOURCES += cocoaui/cocoaui.c cocoaui/cocoaui.h \
1.21 - cocoaui/cocoa_win.c cocoaui/cocoa_gd.c cocoaui/cocoa_prefs.c \
1.22 - cocoaui/cocoa_path.c cocoaui/cocoa_ctrl.c \
1.23 - drivers/video_osx.c drivers/mac_keymap.h drivers/mac_keymap.txt
1.24 +lxdream_SOURCES += cocoaui/cocoaui.m cocoaui/cocoaui.h \
1.25 + cocoaui/cocoa_win.m cocoaui/cocoa_gd.m cocoaui/cocoa_prefs.m \
1.26 + cocoaui/cocoa_path.m cocoaui/cocoa_ctrl.m cocoaui/paths_osx.m \
1.27 + drivers/video_osx.m drivers/mac_keymap.h drivers/mac_keymap.txt
1.28 +else
1.29 +lxdream_SOURCES += paths_unix.c
1.30 endif
1.31
1.32 if VIDEO_OSMESA
1.33 @@ -106,11 +108,11 @@
1.34 endif
1.35
1.36 if VIDEO_NSGL
1.37 -lxdream_SOURCES += drivers/video_nsgl.c drivers/video_nsgl.h
1.38 +lxdream_SOURCES += drivers/video_nsgl.m drivers/video_nsgl.h
1.39 endif
1.40
1.41 if AUDIO_OSX
1.42 -lxdream_SOURCES += drivers/audio_osx.c
1.43 +lxdream_SOURCES += drivers/audio_osx.m
1.44 endif
1.45
1.46 if AUDIO_PULSE
1.47 @@ -131,7 +133,7 @@
1.48 endif
1.49
1.50 if CDROM_OSX
1.51 -lxdream_SOURCES += drivers/cd_osx.c drivers/osx_iokit.c drivers/osx_iokit.h
1.52 +lxdream_SOURCES += drivers/cd_osx.c drivers/osx_iokit.m drivers/osx_iokit.h
1.53 endif
1.54
1.55 if CDROM_NONE
.