2005-11-22 12:26:26 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
|
2014-05-18 15:49:22 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
gb.c \
|
|
|
|
win32.c win32.h \
|
|
|
|
plugindata.h \
|
|
|
|
documentprivate.h \
|
|
|
|
filetypesprivate.h \
|
|
|
|
keybindingsprivate.h \
|
|
|
|
pluginprivate.h \
|
|
|
|
projectprivate.h \
|
2014-10-13 14:00:41 -07:00
|
|
|
makefile.win32 \
|
|
|
|
$(top_srcdir)/src/dynamicsymbols.list
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = geany
|
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
SRCS = \
|
2005-11-22 12:26:26 +00:00
|
|
|
about.c about.h \
|
2014-05-18 17:31:51 -07:00
|
|
|
app.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
build.c build.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
callbacks.c callbacks.h \
|
|
|
|
dialogs.c dialogs.h \
|
|
|
|
document.c document.h \
|
2007-06-26 16:17:16 +00:00
|
|
|
editor.c editor.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
encodings.c encodings.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
filetypes.c filetypes.h \
|
2008-12-06 11:10:06 +00:00
|
|
|
geanyentryaction.c geanyentryaction.h \
|
|
|
|
geanymenubuttonaction.c geanymenubuttonaction.h \
|
2007-08-10 16:11:17 +00:00
|
|
|
geanyobject.c geanyobject.h \
|
2008-01-09 13:24:36 +00:00
|
|
|
geanywraplabel.c geanywraplabel.h \
|
2012-09-15 13:52:49 +02:00
|
|
|
gtkcompat.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
highlighting.c highlighting.h \
|
2011-11-08 22:50:53 +01:00
|
|
|
highlightingmappings.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
keybindings.c keybindings.h \
|
|
|
|
keyfile.c keyfile.h \
|
2008-08-11 18:16:35 +00:00
|
|
|
log.c log.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
main.c main.h geany.h \
|
|
|
|
msgwindow.c msgwindow.h \
|
2007-06-02 16:14:07 +00:00
|
|
|
navqueue.c navqueue.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
notebook.c notebook.h \
|
2015-02-04 01:01:13 +01:00
|
|
|
osx.c osx.h \
|
2014-10-13 16:36:36 -07:00
|
|
|
pluginexport.h \
|
2007-06-26 16:17:16 +00:00
|
|
|
plugins.c plugins.h \
|
2009-07-28 11:35:33 +00:00
|
|
|
pluginutils.c pluginutils.h \
|
2007-12-12 20:04:45 +00:00
|
|
|
prefix.c prefix.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
prefs.c prefs.h \
|
2007-11-17 14:04:27 +00:00
|
|
|
printing.c printing.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
project.c project.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
sciwrappers.c sciwrappers.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
search.c search.h \
|
2006-09-07 17:40:44 +00:00
|
|
|
socket.c socket.h \
|
2008-11-28 12:52:19 +00:00
|
|
|
stash.c stash.h \
|
2008-12-18 21:21:53 +00:00
|
|
|
support.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
symbols.c symbols.h \
|
|
|
|
templates.c templates.h \
|
2008-12-06 11:10:06 +00:00
|
|
|
toolbar.c toolbar.h \
|
2006-12-13 00:46:14 +00:00
|
|
|
tools.c tools.h \
|
2009-09-28 11:16:59 +00:00
|
|
|
sidebar.c sidebar.h \
|
2006-09-05 14:24:47 +00:00
|
|
|
ui_utils.c ui_utils.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
utils.c utils.h
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-03-13 12:15:26 +00:00
|
|
|
|
2009-01-12 00:33:29 +00:00
|
|
|
geany_includedir = $(includedir)/geany
|
2009-10-26 13:06:51 +00:00
|
|
|
|
|
|
|
# only install headers that define types or macros, not just functions
|
2008-03-13 12:15:26 +00:00
|
|
|
geany_include_HEADERS = \
|
2014-05-18 17:31:51 -07:00
|
|
|
app.h \
|
2012-02-17 09:26:03 +11:00
|
|
|
build.h \
|
2014-10-13 19:08:57 -07:00
|
|
|
dialogs.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
document.h \
|
|
|
|
editor.h \
|
|
|
|
encodings.h \
|
|
|
|
filetypes.h \
|
2009-10-26 13:06:51 +00:00
|
|
|
geany.h \
|
2012-09-15 23:40:13 +02:00
|
|
|
gtkcompat.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
highlighting.h \
|
|
|
|
keybindings.h \
|
2014-10-13 19:08:57 -07:00
|
|
|
main.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
msgwindow.h \
|
2014-10-13 19:08:57 -07:00
|
|
|
navqueue.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
plugindata.h \
|
2014-10-13 19:08:57 -07:00
|
|
|
pluginutils.h \
|
2008-03-14 07:30:08 +00:00
|
|
|
prefs.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
project.h \
|
2014-10-13 19:08:57 -07:00
|
|
|
sciwrappers.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
search.h \
|
2010-03-30 16:29:38 +00:00
|
|
|
stash.h \
|
2007-07-24 09:24:14 +00:00
|
|
|
support.h \
|
2014-10-13 19:08:57 -07:00
|
|
|
symbols.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
templates.h \
|
2008-12-06 15:26:59 +00:00
|
|
|
toolbar.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
ui_utils.h \
|
2009-10-26 13:06:51 +00:00
|
|
|
utils.h
|
2008-03-13 12:15:26 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2013-03-15 02:49:17 +01:00
|
|
|
AM_CPPFLAGS = \
|
2012-05-08 22:14:29 +02:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/scintilla/include \
|
|
|
|
-I$(top_srcdir)/tagmanager/src \
|
2015-02-04 00:27:34 +01:00
|
|
|
@GTK_CFLAGS@ @GTHREAD_CFLAGS@ $(MAC_INTEGRATION_CFLAGS)
|
2008-02-22 09:56:31 +00:00
|
|
|
|
|
|
|
# tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
|
|
|
|
nodist_EXTRA_geany_SOURCES = dummy.cxx
|
|
|
|
|
2008-12-02 16:34:32 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
if MINGW
|
2007-10-19 16:55:04 +00:00
|
|
|
# build Geany for Windows on non-Windows systems (cross-compile)
|
2006-07-25 17:45:34 +00:00
|
|
|
|
|
|
|
geany_SOURCES = $(SRCS) win32.c win32.h
|
2008-02-22 09:56:31 +00:00
|
|
|
|
2012-05-08 22:14:29 +02:00
|
|
|
geany_LDADD = \
|
|
|
|
$(top_builddir)/scintilla/libscintilla.a \
|
|
|
|
$(top_builddir)/tagmanager/ctags/libctags.a \
|
|
|
|
$(top_builddir)/tagmanager/mio/libmio.a \
|
|
|
|
$(top_builddir)/tagmanager/src/libtagmanager.a \
|
|
|
|
@GTK_LIBS@ \
|
|
|
|
@GTHREAD_LIBS@ \
|
|
|
|
$(INTLLIBS) \
|
2014-11-09 17:11:31 +01:00
|
|
|
-lole32 -luuid -lwsock32 \
|
2012-05-08 22:14:29 +02:00
|
|
|
geany_private.res
|
2008-02-22 09:56:31 +00:00
|
|
|
|
2008-02-20 12:36:59 +00:00
|
|
|
AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
|
2008-03-21 14:28:26 +00:00
|
|
|
-DGEANY_DOCDIR=\"\" \
|
2008-02-20 12:36:59 +00:00
|
|
|
-DGEANY_LIBDIR=\"\" \
|
2009-06-08 18:05:34 +00:00
|
|
|
-DGEANY_LOCALEDIR=\"\" \
|
2009-08-26 14:56:05 +00:00
|
|
|
-DGEANY_PREFIX=\"\" \
|
2010-05-16 17:44:40 +00:00
|
|
|
-DGEANY_PRIVATE \
|
2010-05-25 19:49:49 +00:00
|
|
|
-DGTK \
|
|
|
|
-DG_LOG_DOMAIN=\""Geany"\"
|
2008-02-22 09:56:31 +00:00
|
|
|
|
2011-09-22 17:49:07 -07:00
|
|
|
geany_LDFLAGS = -mwindows -mms-bitfields
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-02-22 09:56:31 +00:00
|
|
|
WINDRES = $(host_alias)-windres
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2014-10-30 02:33:03 +01:00
|
|
|
geany_private.res: $(top_srcdir)/geany_private.rc
|
|
|
|
$(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2006-07-26 17:02:16 +00:00
|
|
|
clean-local:
|
2006-07-29 08:45:37 +00:00
|
|
|
rm -f geany_private.res
|
2006-07-26 17:02:16 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
else
|
|
|
|
# build Geany for all other platforms
|
2007-07-11 15:27:57 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
geany_SOURCES = $(SRCS) vte.c vte.h
|
2007-07-11 15:27:57 +00:00
|
|
|
|
2012-05-08 22:14:29 +02:00
|
|
|
geany_LDADD = \
|
|
|
|
$(top_builddir)/scintilla/libscintilla.a \
|
|
|
|
$(top_builddir)/tagmanager/ctags/libctags.a \
|
|
|
|
$(top_builddir)/tagmanager/mio/libmio.a \
|
|
|
|
$(top_builddir)/tagmanager/src/libtagmanager.a \
|
|
|
|
@GTK_LIBS@ \
|
|
|
|
@GTHREAD_LIBS@ \
|
2015-02-04 00:27:34 +01:00
|
|
|
$(MAC_INTEGRATION_LIBS) \
|
2012-05-08 22:14:29 +02:00
|
|
|
$(INTLLIBS)
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2014-10-13 14:00:41 -07:00
|
|
|
geany_LDFLAGS = -Wl,--dynamic-list="$(srcdir)/dynamicsymbols.list"
|
|
|
|
|
2008-02-22 09:56:31 +00:00
|
|
|
AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
|
2008-03-21 14:28:26 +00:00
|
|
|
-DGEANY_DOCDIR=\""$(docdir)"\" \
|
2008-02-22 09:56:31 +00:00
|
|
|
-DGEANY_LIBDIR=\""$(libdir)"\" \
|
|
|
|
-DGEANY_LOCALEDIR=\""$(localedir)"\" \
|
2009-08-26 14:56:05 +00:00
|
|
|
-DGEANY_PREFIX=\""$(prefix)"\" \
|
2010-05-16 17:44:24 +00:00
|
|
|
-DGEANY_PRIVATE \
|
2010-05-25 19:49:49 +00:00
|
|
|
-DGTK \
|
|
|
|
-DG_LOG_DOMAIN=\""Geany"\"
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2006-07-26 17:02:16 +00:00
|
|
|
clean-local:
|
|
|
|
|
2014-10-13 14:00:41 -07:00
|
|
|
# Helper rule to rebuild the dynamicsymbols.list file when handlers are
|
|
|
|
# added to data/geany.glade. Run `make dynamic-symbols' from the src builddir.
|
|
|
|
$(top_srcdir)/src/dynamicsymbols.list: $(top_srcdir)/data/geany.glade
|
|
|
|
-python $(top_srcdir)/scripts/dynamicsymbols.py -o $@ $(top_srcdir)/data/geany.glade
|
|
|
|
dynamic-symbols: $(top_srcdir)/src/dynamicsymbols.list
|
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
endif
|