Search
lxdream.org :: lxdream/src/Makefile.am
lxdream 0.9.1
released Jun 29
Download Now
filename src/Makefile.am
changeset 1287:dac8f363f1fe
prev1265:7c6c5d26fd2e
author nkeynes
date Sun Jul 01 13:20:34 2012 +1000 (7 years ago)
permissions -rw-r--r--
last change Add support for Nokia N900
- Generic support for EGL with GTK
- Workaround for nokia bug with egl config
Based on patch from guinux, thanks!
file annotate diff log raw
nkeynes@1
     1
## Process this file with automake to produce Makefile.in
nkeynes@1211
     2
nkeynes@1211
     3
SUBDIRS=tools
nkeynes@1211
     4
nkeynes@738
     5
SVNVERSION=@SVNVERSION@
nkeynes@1
     6
INCLUDES = \
nkeynes@1
     7
	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
nkeynes@1
     8
	-DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
nkeynes@998
     9
	-DPACKAGE_PLUGIN_DIR=\""$(pkglibdir)"\" \
nkeynes@450
    10
	-DPACKAGE_CONF_DIR=\""$(sysconfdir)"\" \
nkeynes@1
    11
        -Ish4 \
nkeynes@1113
    12
	@GLIB_CFLAGS@ @GTK_CFLAGS@ @LIBPNG_CFLAGS@ @PULSE_CFLAGS@ @ESOUND_CFLAGS@ @ALSA_CFLAGS@ @SDL_CFLAGS@ @LIBISOFS_CFLAGS@
nkeynes@1
    13
nkeynes@1024
    14
SOEXT=@SOEXT@
nkeynes@1024
    15
PLUGINCFLAGS = @PLUGINCFLAGS@ 
nkeynes@1024
    16
PLUGINLDFLAGS = @PLUGINLDFLAGS@
nkeynes@516
    17
bin_PROGRAMS = lxdream
nkeynes@1205
    18
check_PROGRAMS = test/testxlt test/testlxpaths
nkeynes@359
    19
nkeynes@1024
    20
pkglib_PROGRAMS=
nkeynes@1027
    21
EXTRA_DIST=drivers/genkeymap.pl checkver.pl drivers/dummy.c
nkeynes@988
    22
AM_CFLAGS = -D__EXTENSIONS__ -D_BSD_SOURCE -D_GNU_SOURCE
nkeynes@738
    23
nkeynes@738
    24
.PHONY: checkversion
nkeynes@738
    25
checkversion:
nkeynes@738
    26
	@$(srcdir)/checkver.pl "$(VERSION)" "$(top_srcdir)" version.c
nkeynes@738
    27
nkeynes@738
    28
version.c: checkversion
nkeynes@738
    29
nkeynes@1205
    30
TESTS = test/testxlt test/testlxpaths
nkeynes@749
    31
BUILT_SOURCES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c sh4/sh4stat.c \
nkeynes@1130
    32
	pvr2/shaders.def pvr2/shaders.h drivers/mac_keymap.h version.c
nkeynes@749
    33
CLEANFILES = sh4/sh4core.c sh4/sh4dasm.c sh4/sh4x86.c sh4/sh4stat.c \
nkeynes@1130
    34
	pvr2/shaders.def pvr2/shaders.h drivers/mac_keymap.h version.c  \
nkeynes@1027
    35
	audio_alsa.lo audio_sdl.lo audio_esd.lo audio_pulse.lo input_lirc.lo \
nkeynes@1027
    36
	lxdream_dummy.lo
nkeynes@738
    37
nkeynes@1024
    38
lxdream_LINK = $(LINK) @LXDREAMLDFLAGS@
nkeynes@1226
    39
lxdream_LDADD = liblxdream-core.a @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @LIBISOFS_LIBS@ $(INTLLIBS) @LXDREAM_LIBS@
nkeynes@1226
    40
lxdream_SOURCES = main.c 
nkeynes@1226
    41
lxdream_LIBS = liblxdream-core.a
nkeynes@1258
    42
lxdream_CPPFLAGS = @LXDREAMCPPFLAGS@
nkeynes@1226
    43
nkeynes@1226
    44
noinst_LIBRARIES = liblxdream-core.a
nkeynes@1258
    45
liblxdream_core_a_CPPFLAGS = @LXDREAMCPPFLAGS@
nkeynes@1226
    46
liblxdream_core_a_SOURCES = version.c config.c config.h lxdream.h dream.h gui.h cpu.c cpu.h hook.h \
nkeynes@964
    47
        gettext.h mem.c mem.h sdram.c mmio.h watch.c \
nkeynes@731
    48
        asic.c asic.h clock.h serial.h \
nkeynes@998
    49
        syscall.c syscall.h bios.c dcload.c gdbserver.c \
nkeynes@1077
    50
        ioutil.c ioutil.h lxpaths.c lxpaths.h \
nkeynes@1097
    51
        gdrom/ide.c gdrom/ide.h gdrom/packet.h gdrom/gdrom.c gdrom/gdrom.h \
nkeynes@265
    52
        dreamcast.c dreamcast.h eventq.c eventq.h \
nkeynes@378
    53
        sh4/sh4.c sh4/intc.c sh4/intc.h sh4/sh4mem.c sh4/timer.c sh4/dmac.c \
nkeynes@550
    54
        sh4/mmu.c sh4/sh4core.c sh4/sh4core.h sh4/sh4dasm.c sh4/sh4dasm.h \
nkeynes@526
    55
        sh4/sh4mmio.c sh4/sh4mmio.h sh4/scif.c sh4/sh4stat.c sh4/sh4stat.h \
nkeynes@991
    56
	xlat/xltcache.c xlat/xltcache.h sh4/sh4.h sh4/dmac.h sh4/pmm.c \
nkeynes@1201
    57
	sh4/cache.c sh4/mmu.h \
nkeynes@731
    58
        aica/armcore.c aica/armcore.h aica/armdasm.c aica/armdasm.h aica/armmem.c \
nkeynes@67
    59
        aica/aica.c aica/aica.h aica/audio.c aica/audio.h \
nkeynes@1153
    60
	pvr2/pvr2.c pvr2/pvr2.h pvr2/pvr2mem.c pvr2/pvr2mmio.h \
nkeynes@1145
    61
	pvr2/tacore.c pvr2/rendsort.c pvr2/tileiter.h pvr2/shaders.glsl \
nkeynes@653
    62
	pvr2/texcache.c pvr2/yuv.c pvr2/rendsave.c pvr2/scene.c pvr2/scene.h \
nkeynes@1258
    63
	pvr2/shaders.h pvr2/shaders.def pvr2/glutil.c pvr2/glutil.h pvr2/glrender.c \
nkeynes@25
    64
        maple/maple.c maple/maple.h \
nkeynes@1034
    65
        maple/controller.c maple/kbd.c maple/mouse.c maple/lightgun.c maple/vmu.c \
nkeynes@731
    66
        loader.c loader.h elf.h bootstrap.c bootstrap.h util.c gdlist.c gdlist.h \
nkeynes@1034
    67
        vmu/vmuvol.c vmu/vmuvol.h vmu/vmulist.c vmu/vmulist.h \
nkeynes@608
    68
	display.c display.h dckeysyms.h \
nkeynes@1097
    69
	drivers/audio_null.c drivers/video_null.c \
nkeynes@1159
    70
	drivers/video_gl.c drivers/video_gl.h drivers/gl_fbo.c drivers/gl_vbo.c \
nkeynes@1258
    71
	drivers/gl_sl.c drivers/serial_unix.c \
nkeynes@1097
    72
	drivers/cdrom/cdrom.h drivers/cdrom/cdrom.c drivers/cdrom/drive.h \
nkeynes@1097
    73
	drivers/cdrom/sector.h drivers/cdrom/sector.c drivers/cdrom/defs.h \
nkeynes@1097
    74
        drivers/cdrom/cd_nrg.c drivers/cdrom/cd_cdi.c drivers/cdrom/cd_gdi.c \
nkeynes@1097
    75
        drivers/cdrom/edc_ecc.c drivers/cdrom/ecc.h drivers/cdrom/drive.c \
nkeynes@1162
    76
        drivers/cdrom/edc_crctable.h drivers/cdrom/edc_encoder.h drivers/cdrom/cdimpl.h \
nkeynes@1097
    77
	drivers/cdrom/edc_l2sq.h drivers/cdrom/edc_scramble.h drivers/cdrom/cd_mmc.c \
nkeynes@1152
    78
	drivers/cdrom/isofs.h drivers/cdrom/isofs.c drivers/cdrom/isomem.c \
nkeynes@1015
    79
	sh4/sh4.def sh4/sh4core.in sh4/sh4x86.in sh4/sh4dasm.in sh4/sh4stat.in \
nkeynes@1015
    80
	hotkeys.c hotkeys.h
nkeynes@1225
    81
nkeynes@1225
    82
if BUILD_PLUGINS
nkeynes@1024
    83
lxdream_SOURCES += plugin.c plugin.h
nkeynes@1024
    84
endif	
nkeynes@1
    85
nkeynes@526
    86
if BUILD_SH4X86
nkeynes@1226
    87
liblxdream_core_a_SOURCES += sh4/sh4x86.c xlat/x86/x86op.h \
nkeynes@993
    88
        xlat/x86/ia32abi.h xlat/x86/amd64abi.h \
nkeynes@1263
    89
        xlat/xlatdasm.c xlat/xlatdasm.h \
nkeynes@1201
    90
        sh4/sh4trans.c sh4/sh4trans.h sh4/mmux86.c sh4/shadow.c \
nkeynes@1264
    91
        xlat/disasm/i386-dis.c xlat/disasm/dis-init.c xlat/disasm/dis-buf.c \
nkeynes@1264
    92
        xlat/disasm/ansidecl.h xlat/disasm/bfd.h xlat/disasm/dis-asm.h \
nkeynes@1265
    93
        xlat/disasm/symcat.h xlat/disasm/sysdep.h xlat/disasm/arm-dis.c \
nkeynes@1265
    94
        xlat/disasm/floatformat.c xlat/disasm/floatformat.h \
nkeynes@1265
    95
        xlat/disasm/arm.h xlat/disasm/safe-ctype.h xlat/disasm/safe-ctype.c
nkeynes@550
    96
nkeynes@1059
    97
test_testsh4x86_LDADD = @LXDREAM_LIBS@ @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@
nkeynes@1263
    98
test_testsh4x86_CPPFLAGS = @LXDREAMCPPFLAGS@
nkeynes@1263
    99
test_testsh4x86_SOURCES = test/testsh4x86.c xlat/xlatdasm.c \
nkeynes@1264
   100
	xlat/xlatdasm.h xlat/disasm/i386-dis.c xlat/disasm/dis-init.c \
nkeynes@1265
   101
	xlat/disasm/dis-buf.c xlat/disasm/arm-dis.c \
nkeynes@1265
   102
        xlat/disasm/arm.h xlat/disasm/safe-ctype.h xlat/disasm/safe-ctype.c \
nkeynes@1265
   103
        xlat/disasm/floatformat.c xlat/disasm/floatformat.h \
nkeynes@1091
   104
	sh4/sh4trans.c sh4/sh4x86.c xlat/xltcache.c sh4/sh4dasm.c \
nkeynes@1091
   105
	xlat/xltcache.h mem.c util.c cpu.c
nkeynes@550
   106
nkeynes@550
   107
check_PROGRAMS += test/testsh4x86
nkeynes@526
   108
endif
nkeynes@526
   109
nkeynes@537
   110
if GUI_GTK
nkeynes@537
   111
lxdream_SOURCES += gtkui/gtkui.c gtkui/gtkui.h \
nkeynes@1072
   112
	gtkui/gtk_win.c gtkui/gtkcb.c gtkui/gtk_cfg.c \
nkeynes@763
   113
        gtkui/gtk_mmio.c gtkui/gtk_debug.c gtkui/gtk_dump.c \
nkeynes@1072
   114
        gtkui/gtk_ctrl.c gtkui/gtk_gd.c \
nkeynes@1226
   115
        drivers/video_gtk.c
nkeynes@537
   116
endif
nkeynes@537
   117
nkeynes@1239
   118
if GUI_ANDROID
nkeynes@1287
   119
lxdream_SOURCES += gui_none.c
nkeynes@1239
   120
noinst_PROGRAMS=liblxdream.so
nkeynes@1239
   121
liblxdream_so_LINK = $(LINK) -Wl,-soname,liblxdream.so -shared
nkeynes@1239
   122
liblxdream_so_LDADD = liblxdream-core.a @GLIB_LIBS@ @GTK_LIBS@ @LIBPNG_LIBS@ @LIBISOFS_LIBS@ $(INTLLIBS) @LXDREAM_LIBS@ -lm
nkeynes@1245
   123
liblxdream_so_SOURCES = gui_android.c drivers/cdrom/cd_none.c drivers/video_egl.c drivers/video_egl.h tqueue.c tqueue.h
nkeynes@1239
   124
liblxdream_so_LIBS = liblxdream-core.a
nkeynes@1239
   125
endif
nkeynes@1239
   126
nkeynes@681
   127
if GUI_COCOA
nkeynes@1226
   128
liblxdream_core_a_SOURCES += cocoaui/paths_osx.m drivers/io_osx.m drivers/mac_keymap.h drivers/mac_keymap.txt
nkeynes@1072
   129
lxdream_SOURCES += cocoaui/cocoaui.m cocoaui/cocoaui.h cocoaui/cocoa_cfg.m \
nkeynes@964
   130
	cocoaui/cocoa_win.m cocoaui/cocoa_gd.m cocoaui/cocoa_prefs.m \
nkeynes@1226
   131
	cocoaui/cocoa_ctrl.m drivers/video_osx.m
nkeynes@635
   132
else
nkeynes@1226
   133
liblxdream_core_a_SOURCES += paths_unix.c drivers/io_glib.c
nkeynes@681
   134
endif
nkeynes@681
   135
nkeynes@658
   136
if VIDEO_OSMESA
nkeynes@731
   137
lxdream_SOURCES += drivers/video_gdk.c
nkeynes@489
   138
endif
nkeynes@489
   139
nkeynes@658
   140
if VIDEO_GLX 
nkeynes@658
   141
lxdream_SOURCES += drivers/video_glx.c drivers/video_glx.h
nkeynes@658
   142
endif
nkeynes@658
   143
nkeynes@658
   144
if VIDEO_NSGL
nkeynes@964
   145
lxdream_SOURCES += drivers/video_nsgl.m drivers/video_nsgl.h
nkeynes@614
   146
endif
nkeynes@614
   147
nkeynes@1287
   148
if VIDEO_EGL
nkeynes@1287
   149
lxdream_SOURCES += drivers/video_egl.c drivers/video_egl.h
nkeynes@1287
   150
endif
nkeynes@1287
   151
nkeynes@697
   152
if AUDIO_OSX
nkeynes@964
   153
lxdream_SOURCES += drivers/audio_osx.m
nkeynes@697
   154
endif
nkeynes@697
   155
nkeynes@1225
   156
if BUILD_PLUGINS
nkeynes@1027
   157
nkeynes@1027
   158
pkglib_PROGRAMS += lxdream_dummy.@SOEXT@
nkeynes@1027
   159
lxdream_dummy_@SOEXT@_SOURCES =
nkeynes@1027
   160
lxdream_dummy_@SOEXT@_LDADD = lxdream_dummy.lo @SDL_LIBS@
nkeynes@1027
   161
lxdream_dummy_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)
nkeynes@1027
   162
lxdream_dummy.lo: drivers/dummy.c
nkeynes@1027
   163
	$(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
nkeynes@1027
   164
nkeynes@1024
   165
if AUDIO_SDL
nkeynes@1024
   166
pkglib_PROGRAMS += audio_sdl.@SOEXT@
nkeynes@1024
   167
audio_sdl_@SOEXT@_SOURCES =
nkeynes@1024
   168
audio_sdl_@SOEXT@_LDADD = audio_sdl.lo @SDL_LIBS@
nkeynes@1024
   169
audio_sdl_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)
nkeynes@1024
   170
audio_sdl.lo: drivers/audio_sdl.c
nkeynes@1024
   171
	$(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
nkeynes@1024
   172
endif
nkeynes@1024
   173
nkeynes@1024
   174
if AUDIO_PULSE
nkeynes@1024
   175
pkglib_PROGRAMS += audio_pulse.@SOEXT@
nkeynes@1024
   176
audio_pulse_@SOEXT@_SOURCES =
nkeynes@1024
   177
audio_pulse_@SOEXT@_LDADD = audio_pulse.lo @PULSE_LIBS@
nkeynes@1024
   178
audio_pulse_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)
nkeynes@1024
   179
audio_pulse.lo: drivers/audio_pulse.c
nkeynes@1024
   180
	$(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
nkeynes@1024
   181
endif
nkeynes@1024
   182
nkeynes@1024
   183
if AUDIO_ESOUND
nkeynes@1024
   184
pkglib_PROGRAMS += audio_esd.@SOEXT@
nkeynes@1024
   185
audio_esd_@SOEXT@_SOURCES =
nkeynes@1024
   186
audio_esd_@SOEXT@_LDADD = audio_esd.lo @ESOUND_LIBS@
nkeynes@1024
   187
audio_esd_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)
nkeynes@1024
   188
audio_esd.lo: drivers/audio_esd.c
nkeynes@1024
   189
	$(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
nkeynes@1024
   190
endif
nkeynes@1024
   191
nkeynes@1024
   192
if AUDIO_ALSA
nkeynes@1024
   193
pkglib_PROGRAMS += audio_alsa.@SOEXT@
nkeynes@1024
   194
audio_alsa_@SOEXT@_SOURCES =
nkeynes@1024
   195
audio_alsa_@SOEXT@_LDADD = audio_alsa.lo @ALSA_LIBS@
nkeynes@1024
   196
audio_alsa_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)
nkeynes@1024
   197
audio_alsa.lo: drivers/audio_alsa.c
nkeynes@1024
   198
	$(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
nkeynes@1024
   199
endif
nkeynes@1024
   200
nkeynes@1024
   201
if INPUT_LIRC
nkeynes@1024
   202
pkglib_PROGRAMS += input_lirc.@SOEXT@
nkeynes@1024
   203
input_lirc_@SOEXT@_SOURCES =
nkeynes@1024
   204
input_lirc_@SOEXT@_LDADD = input_lirc.lo	 -llirc_client
nkeynes@1024
   205
input_lirc_@SOEXT@_LDFLAGS = $(PLUGINLDFLAGS)
nkeynes@1024
   206
input_lirc.lo: drivers/input_lirc.c
nkeynes@1024
   207
	$(COMPILE) -DPLUGIN $(PLUGINCFLAGS) -c $< -o $@
nkeynes@1024
   208
endif
nkeynes@1024
   209
nkeynes@1024
   210
else # build statically
nkeynes@989
   211
if AUDIO_SDL
nkeynes@989
   212
lxdream_SOURCES += drivers/audio_sdl.c
nkeynes@1024
   213
lxdream_LDADD += @SDL_LIBS@
nkeynes@697
   214
endif
nkeynes@697
   215
nkeynes@657
   216
if AUDIO_PULSE
nkeynes@657
   217
lxdream_SOURCES += drivers/audio_pulse.c
nkeynes@1024
   218
lxdream_LDADD += @PULSE_LIBS@
nkeynes@657
   219
endif
nkeynes@657
   220
nkeynes@529
   221
if AUDIO_ESOUND
nkeynes@529
   222
lxdream_SOURCES += drivers/audio_esd.c
nkeynes@1024
   223
lxdream_LDADD += @ESOUND_LIBS@
nkeynes@529
   224
endif
nkeynes@529
   225
bhaal22@643
   226
if AUDIO_ALSA
bhaal22@643
   227
lxdream_SOURCES += drivers/audio_alsa.c
nkeynes@1024
   228
lxdream_LDADD += @ALSA_LIBS@
bhaal22@643
   229
endif
bhaal22@643
   230
nkeynes@1024
   231
if INPUT_LIRC
nkeynes@1024
   232
lxdream_SOURCES += drivers/input_lirc.c
nkeynes@1024
   233
lxdream_LDADD += -llirc_client
nkeynes@1024
   234
endif
nkeynes@1024
   235
endif # end shared/static control
nkeynes@658
   236
nkeynes@658
   237
if CDROM_LINUX
nkeynes@1097
   238
lxdream_SOURCES += drivers/cdrom/cd_linux.c
nkeynes@709
   239
endif
nkeynes@709
   240
nkeynes@709
   241
if CDROM_OSX
nkeynes@1097
   242
lxdream_SOURCES += drivers/cdrom/cd_osx.c drivers/osx_iokit.m drivers/osx_iokit.h
nkeynes@709
   243
endif
nkeynes@709
   244
nkeynes@709
   245
if CDROM_NONE
nkeynes@1097
   246
lxdream_SOURCES += drivers/cdrom/cd_none.c
nkeynes@658
   247
endif
nkeynes@658
   248
nkeynes@658
   249
if JOY_LINUX
nkeynes@748
   250
lxdream_SOURCES += drivers/joy_linux.c drivers/joy_linux.h
nkeynes@658
   251
endif
nkeynes@658
   252
nkeynes@658
   253
nkeynes@991
   254
test_testxlt_SOURCES = test/testxlt.c xlat/xltcache.c xlat/xltcache.h
nkeynes@1205
   255
test_testlxpaths_SOURCES = test/testlxpaths.c lxpaths.c
nkeynes@1213
   256
test_testlxpaths_LDADD = @GLIB_LIBS@ @GTK_LIBS@
nkeynes@359
   257
nkeynes@1211
   258
GENDEC = tools/gendec$(EXEEXT)
nkeynes@1211
   259
GENGLSL = tools/genglsl$(EXEEXT)
nkeynes@1211
   260
GENMACH = totols/genmach$(EXEEXT)
nkeynes@1211
   261
nkeynes@1211
   262
$(GENDEC) $(GENGLSL) $(GENMACH):
nkeynes@1211
   263
	$(MAKE) $(AM_MAKEFLAGS) -C tools
nkeynes@1211
   264
nkeynes@1211
   265
sh4/sh4core.c: $(GENDEC) sh4/sh4.def sh4/sh4core.in
nkeynes@1086
   266
	$(mkdir_p) `dirname $@`
nkeynes@1211
   267
	$(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4core.in -o $@
nkeynes@1211
   268
sh4/sh4dasm.c: $(GENDEC) sh4/sh4.def sh4/sh4dasm.in
nkeynes@1086
   269
	$(mkdir_p) `dirname $@`
nkeynes@1211
   270
	$(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4dasm.in -o $@
nkeynes@1211
   271
sh4/sh4x86.c: $(GENDEC) sh4/sh4.def sh4/sh4x86.in
nkeynes@1086
   272
	$(mkdir_p) `dirname $@`
nkeynes@1211
   273
	$(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4x86.in -o $@
nkeynes@1211
   274
sh4/sh4stat.c: $(GENDEC) sh4/sh4.def sh4/sh4stat.in
nkeynes@1086
   275
	$(mkdir_p) `dirname $@`
nkeynes@1211
   276
	$(GENDEC) $(srcdir)/sh4/sh4.def $(srcdir)/sh4/sh4stat.in -o $@
nkeynes@1211
   277
pvr2/shaders.def: $(GENGLSL) pvr2/shaders.glsl
nkeynes@1086
   278
	$(mkdir_p) `dirname $@`
nkeynes@1234
   279
	$(GENGLSL) $(srcdir)/pvr2/shaders.glsl -o $@
nkeynes@1130
   280
pvr2/shaders.h: pvr2/shaders.def
nkeynes@1183
   281
drivers/mac_keymap.h: dckeysyms.h drivers/mac_keymap.txt drivers/genkeymap.pl
nkeynes@1086
   282
	$(mkdir_p) `dirname $@`
nkeynes@1183
   283
	$(srcdir)/drivers/genkeymap.pl mac $(srcdir)/dckeysyms.h $(srcdir)/drivers/mac_keymap.txt $@
.