diff options
Diffstat (limited to 'mixgtk/Makefile.am')
-rw-r--r-- | mixgtk/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mixgtk/Makefile.am b/mixgtk/Makefile.am index 9fc5b49..ff69759 100644 --- a/mixgtk/Makefile.am +++ b/mixgtk/Makefile.am @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in -# Copyright (C) 2001, 2004, 2006 Free Software Foundation, Inc. +# Copyright (C) 2001, 2004, 2006, 2008 Free Software Foundation, Inc. # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without @@ -18,6 +18,12 @@ else GUILED = endif +if DARWIN_SYSTEM +EDITOR_CMD = "/usr/bin/open -a TextEdit %s" +else +EDITOR_CMD = "/usr/bin/xterm -e vi %s" +endif + if MAKE_GUI pkgdata_DATA = mixgtk.glade @@ -25,6 +31,8 @@ pkgdata_DATA = mixgtk.glade INCLUDES = -I$(includedir) -I$(top_srcdir) \ -DGLADE_FILE=\""$(pkgdatadir)/mixgtk.glade"\"\ -DLOCAL_GLADE_FILE=\""$(srcdir)/mixgtk.glade"\"\ + -DDEFAULT_EDITOR_CMD=\"$(EDITOR_CMD)\"\ + -DDEFAULT_ASM_CMD="\"$(bindir)/mixasm"\"\ $(GUILED) LDADD = $(top_builddir)/mixlib/libmix.a $(top_builddir)/lib/libreplace.a\ $(top_builddir)/mixguile/libmixguile.a $(INTLLIBS) |