1 ## Process this file with automake to produce Makefile.in
5 EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.h \
6 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 interface.c interface.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 = \
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
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\" \
94 -DGEANY_LOCALEDIR=\"\" \
98 -DG_LOG_DOMAIN=\""Geany"\"
100 geany_LDFLAGS = -mwindows -mms-bitfields
102 WINDRES = $(host_alias)-windres
105 $(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
108 rm -f geany_private.res
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)"\" \
124 -DG_LOG_DOMAIN=\""Geany"\"