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 \
23 highlighting.c highlighting.h \
24 highlightingmappings.h \
25 keybindings.c keybindings.h \
28 main.c main.h geany.h \
29 msgwindow.c msgwindow.h \
30 navqueue.c navqueue.h \
31 notebook.c notebook.h \
33 pluginutils.c pluginutils.h \
36 printing.c printing.h \
38 sciwrappers.c sciwrappers.h \
44 templates.c templates.h \
48 ui_utils.c ui_utils.h \
52 geany_includedir = $(includedir)/geany
54 # only install headers that define types or macros, not just functions
55 geany_include_HEADERS = \
79 -I$(top_srcdir)/scintilla/include \
80 -I$(top_srcdir)/tagmanager/src \
81 @GTK_CFLAGS@ @GTHREAD_CFLAGS@
83 # tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
84 nodist_EXTRA_geany_SOURCES = dummy.cxx
88 # build Geany for Windows on non-Windows systems (cross-compile)
90 geany_SOURCES = $(SRCS) win32.c win32.h
93 $(top_builddir)/scintilla/libscintilla.a \
94 $(top_builddir)/tagmanager/ctags/libctags.a \
95 $(top_builddir)/tagmanager/mio/libmio.a \
96 $(top_builddir)/tagmanager/src/libtagmanager.a \
100 -lole32 -luuid -liberty -lwsock32 \
103 AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
104 -DGEANY_DOCDIR=\"\" \
105 -DGEANY_LIBDIR=\"\" \
106 -DGEANY_LOCALEDIR=\"\" \
107 -DGEANY_PREFIX=\"\" \
110 -DG_LOG_DOMAIN=\""Geany"\"
112 geany_LDFLAGS = -mwindows -mms-bitfields
114 WINDRES = $(host_alias)-windres
117 $(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
120 rm -f geany_private.res
123 # build Geany for all other platforms
125 geany_SOURCES = $(SRCS) vte.c vte.h
128 $(top_builddir)/scintilla/libscintilla.a \
129 $(top_builddir)/tagmanager/ctags/libctags.a \
130 $(top_builddir)/tagmanager/mio/libmio.a \
131 $(top_builddir)/tagmanager/src/libtagmanager.a \
136 AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
137 -DGEANY_DOCDIR=\""$(docdir)"\" \
138 -DGEANY_LIBDIR=\""$(libdir)"\" \
139 -DGEANY_LOCALEDIR=\""$(localedir)"\" \
140 -DGEANY_PREFIX=\""$(prefix)"\" \
143 -DG_LOG_DOMAIN=\""Geany"\"