Handle SDL scancode -> Mac keycode map files

This commit is contained in:
gbeauche 2004-06-27 18:14:43 +00:00
parent 1d86d66bd7
commit 4b7c7d22a1
2 changed files with 6 additions and 1 deletions

View File

@ -11,6 +11,8 @@ datadir = @datadir@
mandir = @mandir@ mandir = @mandir@
man1dir = $(mandir)/man1 man1dir = $(mandir)/man1
KEYCODES = @KEYCODES@
DESTDIR = DESTDIR =
CC = @CC@ CC = @CC@
@ -70,7 +72,7 @@ modules:
install: $(APP) installdirs install: $(APP) installdirs
$(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP) $(INSTALL_PROGRAM) $(APP) $(DESTDIR)$(bindir)/$(APP)
-$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1 -$(INSTALL_DATA) $(APP).1 $(DESTDIR)$(man1dir)/$(APP).1
$(INSTALL_DATA) keycodes $(DESTDIR)$(datadir)/$(APP)/keycodes $(INSTALL_DATA) $(KEYCODES) $(DESTDIR)$(datadir)/$(APP)/keycodes
$(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices $(INSTALL_DATA) fbdevices $(DESTDIR)$(datadir)/$(APP)/fbdevices
$(INSTALL_DATA) tunconfig $(DESTDIR)$(datadir)/$(APP)/tunconfig $(INSTALL_DATA) tunconfig $(DESTDIR)$(datadir)/$(APP)/tunconfig

View File

@ -420,8 +420,10 @@ fi
if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then if [[ "x$WANT_SDL_VIDEO" = "xyes" ]]; then
VIDEOSRCS="../SDL/video_sdl.cpp ../dummy/clip_dummy.cpp" VIDEOSRCS="../SDL/video_sdl.cpp ../dummy/clip_dummy.cpp"
AC_DEFINE(USE_SDL_VIDEO, 1, [Define to enable SDL video graphics support]) AC_DEFINE(USE_SDL_VIDEO, 1, [Define to enable SDL video graphics support])
KEYCODES="../SDL/keycodes"
else else
VIDEOSRCS="video_x.cpp clip_unix.cpp" VIDEOSRCS="video_x.cpp clip_unix.cpp"
KEYCODES="keycodes"
fi fi
dnl Use 68k CPU natively? dnl Use 68k CPU natively?
@ -1235,6 +1237,7 @@ AC_SUBST(SYSSRCS)
AC_SUBST(CPUINCLUDES) AC_SUBST(CPUINCLUDES)
AC_SUBST(CPUSRCS) AC_SUBST(CPUSRCS)
AC_SUBST(BLESS) AC_SUBST(BLESS)
AC_SUBST(KEYCODES)
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_OUTPUT AC_OUTPUT