2005-11-22 12:26:26 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
2005-11-27 20:54:28 +00:00
|
|
|
# $Id$
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
|
2008-06-02 15:31:59 +00:00
|
|
|
EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.h \
|
|
|
|
documentprivate.h
|
2005-11-22 12:26:26 +00:00
|
|
|
|
|
|
|
bin_PROGRAMS = geany
|
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
SRCS = \
|
2005-11-22 12:26:26 +00:00
|
|
|
about.c about.h \
|
|
|
|
build.c build.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
callbacks.c callbacks.h \
|
|
|
|
dialogs.c dialogs.h \
|
|
|
|
document.c document.h \
|
2007-06-26 16:17:16 +00:00
|
|
|
editor.c editor.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
encodings.c encodings.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
filetypes.c filetypes.h \
|
2008-12-06 11:10:06 +00:00
|
|
|
geanyentryaction.c geanyentryaction.h \
|
|
|
|
geanymenubuttonaction.c geanymenubuttonaction.h \
|
2007-08-10 16:11:17 +00:00
|
|
|
geanyobject.c geanyobject.h \
|
2008-01-09 13:24:36 +00:00
|
|
|
geanywraplabel.c geanywraplabel.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
highlighting.c highlighting.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
interface.c interface.h \
|
|
|
|
keybindings.c keybindings.h \
|
|
|
|
keyfile.c keyfile.h \
|
2008-08-11 18:16:35 +00:00
|
|
|
log.c log.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
main.c main.h geany.h \
|
|
|
|
msgwindow.c msgwindow.h \
|
2007-06-02 16:14:07 +00:00
|
|
|
navqueue.c navqueue.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
notebook.c notebook.h \
|
2007-06-26 16:17:16 +00:00
|
|
|
plugins.c plugins.h \
|
2007-12-12 20:04:45 +00:00
|
|
|
prefix.c prefix.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
prefs.c prefs.h \
|
2007-11-17 14:04:27 +00:00
|
|
|
printing.c printing.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
project.c project.h \
|
2005-11-22 12:26:26 +00:00
|
|
|
sciwrappers.c sciwrappers.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
search.c search.h \
|
2006-09-07 17:40:44 +00:00
|
|
|
socket.c socket.h \
|
2008-11-28 12:52:19 +00:00
|
|
|
stash.c stash.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
support.c support.h \
|
|
|
|
symbols.c symbols.h \
|
|
|
|
templates.c templates.h \
|
2008-12-06 11:10:06 +00:00
|
|
|
toolbar.c toolbar.h \
|
2006-12-13 00:46:14 +00:00
|
|
|
tools.c tools.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
treeviews.c treeviews.h \
|
2006-09-05 14:24:47 +00:00
|
|
|
ui_utils.c ui_utils.h \
|
2007-01-15 18:12:32 +00:00
|
|
|
utils.c utils.h
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-03-13 12:15:26 +00:00
|
|
|
|
|
|
|
geany_includedir = $(includedir)/geany/
|
|
|
|
geany_include_HEADERS = \
|
|
|
|
dialogs.h \
|
|
|
|
document.h \
|
|
|
|
editor.h \
|
|
|
|
encodings.h \
|
|
|
|
filetypes.h \
|
|
|
|
highlighting.h \
|
|
|
|
keybindings.h \
|
2007-07-24 09:24:14 +00:00
|
|
|
geany.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
msgwindow.h \
|
|
|
|
plugins.h \
|
|
|
|
plugindata.h \
|
2008-03-14 07:30:08 +00:00
|
|
|
prefs.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
project.h \
|
|
|
|
sciwrappers.h \
|
|
|
|
search.h \
|
2007-07-24 09:24:14 +00:00
|
|
|
support.h \
|
2008-03-13 12:15:26 +00:00
|
|
|
templates.h \
|
|
|
|
ui_utils.h \
|
|
|
|
utils.h
|
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-02-24 10:22:35 +00:00
|
|
|
INCLUDES = -I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include @GTK_CFLAGS@
|
2008-02-22 09:56:31 +00:00
|
|
|
|
|
|
|
# tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
|
|
|
|
nodist_EXTRA_geany_SOURCES = dummy.cxx
|
|
|
|
|
2008-12-02 16:34:32 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
if MINGW
|
2007-10-19 16:55:04 +00:00
|
|
|
# build Geany for Windows on non-Windows systems (cross-compile)
|
2006-07-25 17:45:34 +00:00
|
|
|
|
|
|
|
geany_SOURCES = $(SRCS) win32.c win32.h
|
2008-02-22 09:56:31 +00:00
|
|
|
|
|
|
|
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ $(INTLLIBS) \
|
|
|
|
-lkernel32 -limm32 -lshfolder -lshell32 -lole32 -luuid -lcomdlg32 \
|
|
|
|
-lcomctl32 -liberty -lwsock32 geany_private.res
|
|
|
|
|
2008-02-20 12:36:59 +00:00
|
|
|
AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
|
2008-03-21 14:28:26 +00:00
|
|
|
-DGEANY_DOCDIR=\"\" \
|
2008-02-20 12:36:59 +00:00
|
|
|
-DGEANY_LIBDIR=\"\" \
|
2008-03-21 14:28:26 +00:00
|
|
|
-DGEANY_LOCALEDIR=\"data\" \
|
2008-02-22 09:56:31 +00:00
|
|
|
-DGEANY_PREFIX=\"\"
|
|
|
|
|
2008-02-20 12:36:59 +00:00
|
|
|
geany_LDFLAGS = -mwindows -mms-bitfields
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-02-22 09:56:31 +00:00
|
|
|
WINDRES = $(host_alias)-windres
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-02-20 12:36:59 +00:00
|
|
|
geany_private.res:
|
2006-07-29 08:45:37 +00:00
|
|
|
$(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2006-07-26 17:02:16 +00:00
|
|
|
clean-local:
|
2006-07-29 08:45:37 +00:00
|
|
|
rm -f geany_private.res
|
2006-07-26 17:02:16 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
else
|
|
|
|
# build Geany for all other platforms
|
2007-07-11 15:27:57 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
geany_SOURCES = $(SRCS) vte.c vte.h
|
2007-07-11 15:27:57 +00:00
|
|
|
|
2007-10-19 16:55:04 +00:00
|
|
|
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ $(INTLLIBS)
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2008-02-22 09:56:31 +00:00
|
|
|
AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
|
2008-03-21 14:28:26 +00:00
|
|
|
-DGEANY_DOCDIR=\""$(docdir)"\" \
|
2008-02-22 09:56:31 +00:00
|
|
|
-DGEANY_LIBDIR=\""$(libdir)"\" \
|
|
|
|
-DGEANY_LOCALEDIR=\""$(localedir)"\" \
|
|
|
|
-DGEANY_PREFIX=\""$(prefix)"\"
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2006-07-26 17:02:16 +00:00
|
|
|
clean-local:
|
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
endif
|
2008-02-22 09:56:31 +00:00
|
|
|
|