1 ## Process this file with automake to produce Makefile.in
10 keybindingsprivate.h \
17 -I$(top_srcdir)/scintilla/include \
18 -I$(top_srcdir)/tagmanager/src \
21 -DG_LOG_DOMAIN=\""Geany"\" \
22 @GTK_CFLAGS@ @GTHREAD_CFLAGS@ \
23 $(MAC_INTEGRATION_CFLAGS)
26 lib_LTLIBRARIES = libgeany.la
28 geany_SOURCES = main.c
29 geany_LDADD = libgeany.la $(GTK_LIBS) $(GTHREAD_LIBS) $(INTLLIBS)
31 geany_includedir = $(includedir)/geany
33 geany_include_HEADERS = \
62 libgeany_la_SOURCES = \
66 callbacks.c callbacks.h \
68 document.c document.h \
70 encodings.c encodings.h \
71 filetypes.c filetypes.h \
72 geanyentryaction.c geanyentryaction.h \
73 geanymenubuttonaction.c geanymenubuttonaction.h \
74 geanyobject.c geanyobject.h \
75 geanywraplabel.c geanywraplabel.h \
77 highlighting.c highlighting.h \
78 highlightingmappings.h \
79 keybindings.c keybindings.h \
82 libmain.c main.h geany.h \
83 msgwindow.c msgwindow.h \
84 navqueue.c navqueue.h \
85 notebook.c notebook.h \
88 pluginutils.c pluginutils.h \
91 printing.c printing.h \
93 sciwrappers.c sciwrappers.h \
99 templates.c templates.h \
100 toolbar.c toolbar.h \
102 sidebar.c sidebar.h \
103 ui_utils.c ui_utils.h \
106 libgeany_la_CFLAGS = $(AM_CPPFLAGS) @LIBGEANY_CFLAGS@
107 libgeany_la_LDFLAGS = @LIBGEANY_LDFLAGS@
109 libgeany_la_LIBADD = \
110 $(top_builddir)/scintilla/libscintilla.la \
111 $(top_builddir)/tagmanager/ctags/libctags.la \
112 $(top_builddir)/tagmanager/mio/libmio.la \
113 $(top_builddir)/tagmanager/src/libtagmanager.la \
116 $(MAC_INTEGRATION_LIBS) \
119 # tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
120 nodist_EXTRA_libgeany_la_SOURCES = dummy1.cxx
125 # build Geany for Windows (possibly on non-Windows systems -- cross-compile)
128 -DGEANY_DATADIR=\"data\" \
129 -DGEANY_DOCDIR=\"\" \
130 -DGEANY_LIBDIR=\"\" \
131 -DGEANY_LOCALEDIR=\"\" \
134 geany_LDADD += geany_private.res
136 WINDRES = $(host_alias)-windres
138 geany_private.res: $(top_srcdir)/geany_private.rc
139 $(WINDRES) -i $(top_srcdir)/geany_private.rc --input-format=rc -o $@ -O coff
141 libgeany_la_SOURCES += win32.c win32.h
143 libgeany_la_LIBADD += -lole32 -lwsock32 -lcomdlg32
145 libgeany_la_LDFLAGS += -Wl,-luuid -mwindows -mms-bitfields -no-undefined
147 CLEANFILES += geany_private.res
150 # build Geany for all other platforms
153 -DGEANY_DATADIR=\""$(datadir)"\" \
154 -DGEANY_DOCDIR=\""$(docdir)"\" \
155 -DGEANY_LIBDIR=\""$(libdir)"\" \
156 -DGEANY_LOCALEDIR=\""$(localedir)"\" \
157 -DGEANY_PREFIX=\""$(prefix)"\"
159 libgeany_la_SOURCES += vte.c vte.h
163 callbacks.c: signallist.i
165 glade_file=$(top_srcdir)/data/geany.glade
167 signallist.i: $(glade_file) Makefile
169 echo '/* This file is auto-generated, do not edit. */' && \
170 $(SED) -n 's/^.*handler="\([^"]\{1,\}\)".*$$/ITEM(\1)/p' "$(glade_file)" \
171 | $(SORT) | $(UNIQ) \
172 ) > $@ || { $(RM) $@ && exit 1; }
174 CLEANFILES += signallist.i