1 ## Process this file with automake to produce Makefile.in
4 EXTRA_DIST = gb.c win32.c win32.h plugindata.h \
5 documentprivate.h filetypesprivate.h pluginprivate.h projectprivate.h \
13 callbacks.c callbacks.h \
15 document.c document.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 \
24 highlighting.c highlighting.h \
25 highlightingmappings.h \
26 keybindings.c keybindings.h \
29 main.c main.h geany.h \
30 msgwindow.c msgwindow.h \
31 navqueue.c navqueue.h \
32 notebook.c notebook.h \
34 pluginutils.c pluginutils.h \
37 printing.c printing.h \
39 sciwrappers.c sciwrappers.h \
45 templates.c templates.h \
49 ui_utils.c ui_utils.h \
53 geany_includedir = $(includedir)/geany
55 # only install headers that define types or macros, not just functions
56 geany_include_HEADERS = \
81 -I$(top_srcdir)/scintilla/include \
82 -I$(top_srcdir)/tagmanager/src \
83 @GTK_CFLAGS@ @GTHREAD_CFLAGS@
85 # tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
86 nodist_EXTRA_geany_SOURCES = dummy.cxx
90 # build Geany for Windows on non-Windows systems (cross-compile)
92 geany_SOURCES = $(SRCS) win32.c win32.h
95 $(top_builddir)/scintilla/libscintilla.a \
96 $(top_builddir)/tagmanager/ctags/libctags.a \
97 $(top_builddir)/tagmanager/mio/libmio.a \
98 $(top_builddir)/tagmanager/src/libtagmanager.a \
102 -lole32 -luuid -liberty -lwsock32 \
105 AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
106 -DGEANY_DOCDIR=\"\" \
107 -DGEANY_LIBDIR=\"\" \
108 -DGEANY_LOCALEDIR=\"\" \
109 -DGEANY_PREFIX=\"\" \
112 -DG_LOG_DOMAIN=\""Geany"\"
114 geany_LDFLAGS = -mwindows -mms-bitfields
116 WINDRES = $(host_alias)-windres
119 $(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
122 rm -f geany_private.res
125 # build Geany for all other platforms
127 geany_SOURCES = $(SRCS) vte.c vte.h
130 $(top_builddir)/scintilla/libscintilla.a \
131 $(top_builddir)/tagmanager/ctags/libctags.a \
132 $(top_builddir)/tagmanager/mio/libmio.a \
133 $(top_builddir)/tagmanager/src/libtagmanager.a \
138 AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
139 -DGEANY_DOCDIR=\""$(docdir)"\" \
140 -DGEANY_LIBDIR=\""$(libdir)"\" \
141 -DGEANY_LOCALEDIR=\""$(localedir)"\" \
142 -DGEANY_PREFIX=\""$(prefix)"\" \
145 -DG_LOG_DOMAIN=\""Geany"\"