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
|
|
|
|
|
|
|
|
2007-06-26 16:17:16 +00:00
|
|
|
EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.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 \
|
2007-08-10 16:11:17 +00:00
|
|
|
geanyobject.c geanyobject.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 \
|
|
|
|
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 \
|
2007-01-15 18:12:32 +00:00
|
|
|
support.c support.h \
|
|
|
|
symbols.c symbols.h \
|
|
|
|
templates.c templates.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
|
|
|
|
2007-07-24 09:24:14 +00:00
|
|
|
# just to make "make distcheck" happy
|
|
|
|
noinst_HEADERS = \
|
|
|
|
geany.h \
|
|
|
|
support.h \
|
|
|
|
plugindata.h
|
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
|
|
|
WINDRES = /usr/local/cross-tools/bin/i386-mingw32msvc-windres
|
|
|
|
|
|
|
|
geany_SOURCES = $(SRCS) win32.c win32.h
|
2007-06-26 18:08:00 +00:00
|
|
|
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -lstdc++ @GTK_LIBS@ \
|
2006-07-25 17:45:34 +00:00
|
|
|
$(INTLLIBS) -lgdi32 -limm32 -lshell32 -lole32 -luuid -liberty -lcomdlg32 -lcomctl32 \
|
2006-07-29 08:45:37 +00:00
|
|
|
geany_private.res
|
2007-10-19 16:55:04 +00:00
|
|
|
AM_CFLAGS = -mms-bitfields
|
2006-07-25 17:45:34 +00:00
|
|
|
geany_LDFLAGS = -mwindows
|
|
|
|
|
2007-04-08 16:38:46 +00:00
|
|
|
INCLUDES = -I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include -DENABLE_NLS \
|
2007-06-26 18:08:00 +00:00
|
|
|
-I/usr/local/cross-tools/include @GTK_CFLAGS@
|
2006-07-25 17:45:34 +00:00
|
|
|
|
|
|
|
geany_windres.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
|
|
|
# tell automake we have a C++ file so it uses the C++ linker we need for Scintilla
|
|
|
|
nodist_EXTRA_geany_SOURCES = dummy.cxx
|
|
|
|
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@ $(INTLLIBS)
|
2006-07-25 17:45:34 +00:00
|
|
|
|
|
|
|
INCLUDES = \
|
2007-12-19 15:37:10 +00:00
|
|
|
-DGEANY_DATADIR=\""$(datadir)"\" -DGEANY_LIBDIR=\""$(libdir)"\" \
|
|
|
|
-DGEANY_LOCALEDIR=\""$(localedir)"\" -DGEANY_PREFIX=\""$(prefix)"\" \
|
2007-06-26 18:08:00 +00:00
|
|
|
-I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include @GTK_CFLAGS@
|
2006-07-25 17:45:34 +00:00
|
|
|
|
2006-07-26 17:02:16 +00:00
|
|
|
clean-local:
|
|
|
|
|
2007-07-11 15:27:57 +00:00
|
|
|
|
2006-07-25 17:45:34 +00:00
|
|
|
endif
|