Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 147 lines (122 sloc) 3.326 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
## Process this file with automake to produce Makefile.in


EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.h \
documentprivate.h filetypesprivate.h pluginprivate.h projectprivate.h \
makefile.win32

bin_PROGRAMS = geany

SRCS = \
about.c about.h \
build.c build.h \
callbacks.c callbacks.h \
dialogs.c dialogs.h \
document.c document.h \
editor.c editor.h \
encodings.c encodings.h \
filetypes.c filetypes.h \
geanyentryaction.c geanyentryaction.h \
geanymenubuttonaction.c geanymenubuttonaction.h \
geanyobject.c geanyobject.h \
geanywraplabel.c geanywraplabel.h \
highlighting.c highlighting.h \
highlightingmappings.h \
keybindings.c keybindings.h \
keyfile.c keyfile.h \
log.c log.h \
main.c main.h geany.h \
msgwindow.c msgwindow.h \
navqueue.c navqueue.h \
notebook.c notebook.h \
plugins.c plugins.h \
pluginutils.c pluginutils.h \
prefix.c prefix.h \
prefs.c prefs.h \
printing.c printing.h \
project.c project.h \
sciwrappers.c sciwrappers.h \
search.c search.h \
socket.c socket.h \
stash.c stash.h \
support.h \
symbols.c symbols.h \
templates.c templates.h \
toolbar.c toolbar.h \
tools.c tools.h \
sidebar.c sidebar.h \
ui_utils.c ui_utils.h \
utils.c utils.h


geany_includedir = $(includedir)/geany

# only install headers that define types or macros, not just functions
geany_include_HEADERS = \
build.h \
document.h \
editor.h \
encodings.h \
filetypes.h \
geany.h \
highlighting.h \
keybindings.h \
msgwindow.h \
plugindata.h \
prefs.h \
project.h \
search.h \
stash.h \
support.h \
templates.h \
toolbar.h \
ui_utils.h \
utils.h


INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/scintilla/include \
-I$(top_srcdir)/tagmanager/src \
@GTK_CFLAGS@ @GTHREAD_CFLAGS@

# tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
nodist_EXTRA_geany_SOURCES = dummy.cxx


if MINGW
# build Geany for Windows on non-Windows systems (cross-compile)

geany_SOURCES = $(SRCS) win32.c win32.h

geany_LDADD = \
$(top_builddir)/scintilla/libscintilla.a \
$(top_builddir)/tagmanager/ctags/libctags.a \
$(top_builddir)/tagmanager/mio/libmio.a \
$(top_builddir)/tagmanager/src/libtagmanager.a \
@GTK_LIBS@ \
@GTHREAD_LIBS@ \
$(INTLLIBS) \
-lole32 -luuid -liberty -lwsock32 \
geany_private.res

AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
-DGEANY_DOCDIR=\"\" \
-DGEANY_LIBDIR=\"\" \
-DGEANY_LOCALEDIR=\"\" \
-DGEANY_PREFIX=\"\" \
-DGEANY_PRIVATE \
-DGTK \
-DG_LOG_DOMAIN=\""Geany"\"

geany_LDFLAGS = -mwindows -mms-bitfields

WINDRES = $(host_alias)-windres

geany_private.res:
$(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;

clean-local:
rm -f geany_private.res

else
# build Geany for all other platforms

geany_SOURCES = $(SRCS) vte.c vte.h

geany_LDADD = \
$(top_builddir)/scintilla/libscintilla.a \
$(top_builddir)/tagmanager/ctags/libctags.a \
$(top_builddir)/tagmanager/mio/libmio.a \
$(top_builddir)/tagmanager/src/libtagmanager.a \
@GTK_LIBS@ \
@GTHREAD_LIBS@ \
$(INTLLIBS)

AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
-DGEANY_DOCDIR=\""$(docdir)"\" \
-DGEANY_LIBDIR=\""$(libdir)"\" \
-DGEANY_LOCALEDIR=\""$(localedir)"\" \
-DGEANY_PREFIX=\""$(prefix)"\" \
-DGEANY_PRIVATE \
-DGTK \
-DG_LOG_DOMAIN=\""Geany"\"

clean-local:

endif
Something went wrong with that request. Please try again.