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 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 \
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 = \
77 INCLUDES = -I$(top_srcdir) -I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include \
78 @GTK_CFLAGS@ @GIO_CFLAGS@
80 # tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
81 nodist_EXTRA_geany_SOURCES = dummy.cxx
85 # build Geany for Windows on non-Windows systems (cross-compile)
87 geany_SOURCES = $(SRCS) win32.c win32.h
89 geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ @GIO_LIBS@ \
90 $(INTLLIBS) -lole32 -luuid -liberty -lwsock32 geany_private.res
92 AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
95 -DGEANY_LOCALEDIR=\"\" \
99 geany_LDFLAGS = -mwindows -mms-bitfields
101 WINDRES = $(host_alias)-windres
104 $(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
107 rm -f geany_private.res
110 # build Geany for all other platforms
112 geany_SOURCES = $(SRCS) vte.c vte.h
114 geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ @GIO_LIBS@ $(INTLLIBS)
116 AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
117 -DGEANY_DOCDIR=\""$(docdir)"\" \
118 -DGEANY_LIBDIR=\""$(libdir)"\" \
119 -DGEANY_LOCALEDIR=\""$(localedir)"\" \
120 -DGEANY_PREFIX=\""$(prefix)"\" \