If the current word's tag is on the current line, make Go to Tag
[geany-mirror.git] / src / Makefile.am
blob6866ca747f77ffde186850679212d06bae716921
1 ## Process this file with automake to produce Makefile.in
2 # $Id$
5 EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.h \
6         documentprivate.h filetypesprivate.h pluginprivate.h projectprivate.h
8 bin_PROGRAMS = geany
10 SRCS = \
11         about.c about.h \
12         build.c build.h \
13         callbacks.c callbacks.h \
14         dialogs.c dialogs.h \
15         document.c document.h \
16         editor.c editor.h \
17         encodings.c encodings.h \
18         filetypes.c filetypes.h \
19         geanyentryaction.c geanyentryaction.h \
20         geanymenubuttonaction.c geanymenubuttonaction.h \
21         geanyobject.c geanyobject.h \
22         geanywraplabel.c geanywraplabel.h \
23         highlighting.c highlighting.h \
24         interface.c interface.h \
25         keybindings.c keybindings.h \
26         keyfile.c keyfile.h \
27         log.c log.h \
28         main.c main.h geany.h \
29         msgwindow.c msgwindow.h \
30         navqueue.c navqueue.h \
31         notebook.c notebook.h \
32         plugins.c plugins.h \
33         pluginutils.c pluginutils.h \
34         prefix.c prefix.h \
35         prefs.c prefs.h \
36         printing.c printing.h \
37         project.c project.h \
38         sciwrappers.c sciwrappers.h \
39         search.c search.h \
40         socket.c socket.h \
41         stash.c stash.h \
42         support.h \
43         symbols.c symbols.h \
44         templates.c templates.h \
45         toolbar.c toolbar.h \
46         tools.c tools.h \
47         sidebar.c sidebar.h \
48         ui_utils.c ui_utils.h \
49         utils.c utils.h
52 geany_includedir = $(includedir)/geany
54 # only install headers that define types or macros, not just functions
55 geany_include_HEADERS = \
56         document.h \
57         editor.h \
58         encodings.h \
59         filetypes.h \
60         geany.h \
61         highlighting.h \
62         keybindings.h \
63         msgwindow.h \
64         plugindata.h \
65         prefs.h \
66         project.h \
67         search.h \
68         stash.h \
69         support.h \
70         templates.h \
71         toolbar.h \
72         ui_utils.h \
73         utils.h
76 INCLUDES = -I$(top_srcdir) -I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include \
77                         @GTK_CFLAGS@ @GIO_CFLAGS@
79 # tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
80 nodist_EXTRA_geany_SOURCES = dummy.cxx
83 if MINGW
84 # build Geany for Windows on non-Windows systems (cross-compile)
86 geany_SOURCES = $(SRCS) win32.c win32.h
88 geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ @GIO_LIBS@ \
89                                 $(INTLLIBS) -lole32 -luuid -liberty -lwsock32 geany_private.res
91 AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
92                         -DGEANY_DOCDIR=\"\" \
93                         -DGEANY_LIBDIR=\"\" \
94                         -DGEANY_LOCALEDIR=\"\" \
95                         -DGEANY_PREFIX=\"\" \
96                         -DGEANY_PRIVATE \
97                         -DGTK \
98                         -DG_LOG_DOMAIN=\""Geany"\"
100 geany_LDFLAGS = -mwindows -mms-bitfields
102 WINDRES = $(host_alias)-windres
104 geany_private.res:
105         $(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
107 clean-local:
108         rm -f geany_private.res
110 else
111 # build Geany for all other platforms
113 geany_SOURCES = $(SRCS) vte.c vte.h
115 geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ @GIO_LIBS@ $(INTLLIBS)
117 AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
118                         -DGEANY_DOCDIR=\""$(docdir)"\" \
119                         -DGEANY_LIBDIR=\""$(libdir)"\" \
120                         -DGEANY_LOCALEDIR=\""$(localedir)"\" \
121                         -DGEANY_PREFIX=\""$(prefix)"\" \
122                         -DGEANY_PRIVATE \
123                         -DGTK \
124                         -DG_LOG_DOMAIN=\""Geany"\"
126 clean-local:
128 endif