1
1
## Process this file with automake to produce Makefile.in
2
# $Id: Makefile.am 799 2006-09-07 17:40:44Z eht16 $
5
EXTRA_DIST = images.c gb.c win32.c win32.h
2
# $Id: Makefile.am 2378 2008-03-21 14:28:26Z eht16 $
5
EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.h
10
main.c main.h geany.h \
12
notebook.c notebook.h \
13
keybindings.c keybindings.h \
14
templates.c templates.h \
15
treeviews.c treeviews.h \
12
callbacks.c callbacks.h \
14
document.c document.h \
17
16
encodings.c encodings.h \
17
filetypes.c filetypes.h \
18
geanyobject.c geanyobject.h \
19
geanywraplabel.c geanywraplabel.h \
20
highlighting.c highlighting.h \
21
interface.c interface.h \
22
keybindings.c keybindings.h \
18
23
keyfile.c keyfile.h \
24
main.c main.h geany.h \
25
msgwindow.c msgwindow.h \
26
navqueue.c navqueue.h \
27
notebook.c notebook.h \
21
msgwindow.c msgwindow.h \
23
filetypes.c filetypes.h \
24
highlighting.c highlighting.h \
31
printing.c printing.h \
26
33
sciwrappers.c sciwrappers.h \
27
document.c document.h \
28
35
socket.c socket.h \
38
templates.c templates.h \
40
treeviews.c treeviews.h \
30
41
ui_utils.c ui_utils.h \
32
interface.c interface.h \
33
callbacks.c callbacks.h
45
geany_includedir = $(includedir)/geany/
46
geany_include_HEADERS = \
68
INCLUDES = -I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include @GTK_CFLAGS@
70
# tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
71
nodist_EXTRA_geany_SOURCES = dummy.cxx
38
# build Geany for Windows
39
WINDRES = /usr/local/cross-tools/bin/i386-mingw32msvc-windres
74
# build Geany for Windows on non-Windows systems (cross-compile)
41
76
geany_SOURCES = $(SRCS) win32.c win32.h
42
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -lstdc++ @PACKAGE_LIBS@ \
43
$(INTLLIBS) -lgdi32 -limm32 -lshell32 -lole32 -luuid -liberty -lcomdlg32 -lcomctl32 \
45
AM_CFLAGS = -Wall -pipe -mms-bitfields
46
#AM_CFLAGS = -DGEANY_DEBUG -Wall -pipe -mms-bitfields -g -O0
47
geany_LDFLAGS = -mwindows
49
INCLUDES = -I../scintilla/include -I../tagmanager/include -DENABLE_NLS \
50
-I/usr/local/cross-tools/include @PACKAGE_CFLAGS@
78
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ $(INTLLIBS) \
79
-lkernel32 -limm32 -lshfolder -lshell32 -lole32 -luuid -lcomdlg32 \
80
-lcomctl32 -liberty -lwsock32 geany_private.res
82
AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
85
-DGEANY_LOCALEDIR=\"data\" \
88
geany_LDFLAGS = -mwindows -mms-bitfields
90
WINDRES = $(host_alias)-windres
53
93
$(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
59
99
# build Geany for all other platforms
60
AM_CFLAGS = -Wall -pipe
61
#AM_CFLAGS = -DGEANY_DEBUG -Wall -pipe -g -O0
62
101
geany_SOURCES = $(SRCS) vte.c vte.h
63
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @PACKAGE_LIBS@ -lstdc++ $(INTLLIBS)
66
-DPACKAGE_DATA_DIR=\""$(datadir)"\" -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
67
-I../scintilla/include -I../tagmanager/include @PACKAGE_CFLAGS@
103
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ $(INTLLIBS)
105
AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
106
-DGEANY_DOCDIR=\""$(docdir)"\" \
107
-DGEANY_LIBDIR=\""$(libdir)"\" \
108
-DGEANY_LOCALEDIR=\""$(localedir)"\" \
109
-DGEANY_PREFIX=\""$(prefix)"\"
73
#geany_SOURCES = $(SRCS)
74
#geany_LDADD = @PACKAGE_LIBS@ -lstdc++ ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a $(INTLLIBS)