Updated Makefile.i to autogenerate on changes -mig

This commit is contained in:
Miguel de Icaza 1998-09-25 18:51:02 +00:00
parent 110da40e59
commit cf76e89b54
3 changed files with 15 additions and 9 deletions

View File

@ -1,6 +1,7 @@
srcdir = @srcdir@
VPATH = @srcdir@
SHELL = /bin/sh
rootdir = $(srcdir)/..
@MCFG@@MCF@
@ -11,6 +12,7 @@ DEFS = $(XDEFS)
LIBS = $(XLIBS) @TERMNET@ $(XLIB) @TERMNET@
OURLIBS = @LVFS@ @LSLANG@ @LEDIT@ @LINTL@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
@ -55,8 +57,10 @@ DISTFILES = \
# Should be: mc $(srcdir)/mc.hlp but it's remaking it always
all: mc mcmfmt @saver_target@
all: mc mcmfmt @saver_target@ Makefile
Makefile: $(srcdir)/Makefile.in $(rootdir)/config.status
cd $(rootdir) && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) $<

View File

@ -700,7 +700,7 @@ static int dlg_try_hotkey (Dlg_head *h, int d_key)
return handled;
}
void dlg_key_event (Dlg_head *h, int d_key)
int dlg_key_event (Dlg_head *h, int d_key)
{
int handled;
@ -730,6 +730,8 @@ void dlg_key_event (Dlg_head *h, int d_key)
if (!handled)
dialog_handle_key (h, d_key);
(*h->callback) (h, d_key, DLG_POST_KEY);
return handled;
}
}

View File

@ -294,7 +294,7 @@ void tk_end_frame ();
void x_set_dialog_title (Dlg_head *h, char *title);
/* The inner workings of run_dlg, exported for the Tk and XView toolkits */
void dlg_key_event (Dlg_head *h, int d_key);
int dlg_key_event (Dlg_head *h, int d_key);
void update_cursor (Dlg_head *h);
#ifdef HAVE_X