~ubuntu-branches/ubuntu/raring/geany/raring-proposed

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Damián Viano
  • Date: 2008-05-02 11:37:45 UTC
  • mfrom: (1.2.1 upstream) (9 hardy)
  • mto: (3.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20080502113745-xzp4g6dmovrpoj17
Tags: 0.14-1
New upstream release (Closes: #478126)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
## Process this file with automake to produce Makefile.in
2
 
# $Id: Makefile.am 799 2006-09-07 17:40:44Z eht16 $
3
 
 
4
 
 
5
 
EXTRA_DIST = images.c gb.c win32.c win32.h
 
2
# $Id: Makefile.am 2378 2008-03-21 14:28:26Z eht16 $
 
3
 
 
4
 
 
5
EXTRA_DIST = images.c gb.c win32.c win32.h plugindata.h
6
6
 
7
7
bin_PROGRAMS = geany
8
8
 
9
9
SRCS = \
10
 
        main.c main.h geany.h \
11
 
        search.c search.h \
12
 
        notebook.c notebook.h \
13
 
        keybindings.c keybindings.h \
14
 
        templates.c templates.h \
15
 
        treeviews.c treeviews.h \
16
10
        about.c about.h \
 
11
        build.c build.h \
 
12
        callbacks.c callbacks.h \
 
13
        dialogs.c dialogs.h \
 
14
        document.c document.h \
 
15
        editor.c editor.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 \
 
28
        plugins.c plugins.h \
 
29
        prefix.c prefix.h \
19
30
        prefs.c prefs.h \
20
 
        dialogs.c dialogs.h \
21
 
        msgwindow.c msgwindow.h \
22
 
        build.c build.h \
23
 
        filetypes.c filetypes.h \
24
 
        highlighting.c highlighting.h \
25
 
        sci_cb.c sci_cb.h \
 
31
        printing.c printing.h \
 
32
        project.c project.h \
26
33
        sciwrappers.c sciwrappers.h \
27
 
        document.c document.h \
 
34
        search.c search.h \
28
35
        socket.c socket.h \
29
 
        utils.c utils.h \
 
36
        support.c support.h \
 
37
        symbols.c symbols.h \
 
38
        templates.c templates.h \
 
39
        tools.c tools.h \
 
40
        treeviews.c treeviews.h \
30
41
        ui_utils.c ui_utils.h \
31
 
        support.c support.h \
32
 
        interface.c interface.h \
33
 
        callbacks.c callbacks.h
34
 
 
35
 
 
 
42
        utils.c utils.h
 
43
 
 
44
 
 
45
geany_includedir = $(includedir)/geany/
 
46
geany_include_HEADERS = \
 
47
        dialogs.h \
 
48
        document.h \
 
49
        editor.h \
 
50
        encodings.h \
 
51
        filetypes.h \
 
52
        highlighting.h \
 
53
        keybindings.h \
 
54
        geany.h \
 
55
        msgwindow.h \
 
56
        plugins.h \
 
57
        plugindata.h \
 
58
        prefs.h \
 
59
        project.h \
 
60
        sciwrappers.h \
 
61
        search.h \
 
62
        support.h \
 
63
        templates.h \
 
64
        ui_utils.h \
 
65
        utils.h
 
66
 
 
67
 
 
68
INCLUDES = -I$(srcdir)/../scintilla/include -I$(srcdir)/../tagmanager/include @GTK_CFLAGS@
 
69
 
 
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
36
72
 
37
73
if MINGW
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)
40
75
 
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 \
44
 
                        geany_private.res
45
 
AM_CFLAGS = -Wall -pipe -mms-bitfields
46
 
#AM_CFLAGS = -DGEANY_DEBUG -Wall -pipe -mms-bitfields -g -O0
47
 
geany_LDFLAGS = -mwindows
48
 
 
49
 
INCLUDES = -I../scintilla/include -I../tagmanager/include -DENABLE_NLS \
50
 
           -I/usr/local/cross-tools/include @PACKAGE_CFLAGS@
51
 
 
52
 
geany_windres.res:
 
77
 
 
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
 
81
 
 
82
AM_CFLAGS = -DGEANY_DATADIR=\"data\" \
 
83
                        -DGEANY_DOCDIR=\"\" \
 
84
                        -DGEANY_LIBDIR=\"\" \
 
85
                        -DGEANY_LOCALEDIR=\"data\" \
 
86
                        -DGEANY_PREFIX=\"\"
 
87
 
 
88
geany_LDFLAGS = -mwindows -mms-bitfields
 
89
 
 
90
WINDRES = $(host_alias)-windres
 
91
 
 
92
geany_private.res:
53
93
        $(WINDRES) -i ../geany_private.rc --input-format=rc -o geany_private.res -O coff;
54
94
 
55
95
clean-local:
57
97
 
58
98
else
59
99
# build Geany for all other platforms
60
 
AM_CFLAGS = -Wall -pipe
61
 
#AM_CFLAGS = -DGEANY_DEBUG -Wall -pipe -g -O0
 
100
 
62
101
geany_SOURCES = $(SRCS) vte.c vte.h
63
 
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @PACKAGE_LIBS@ -lstdc++ $(INTLLIBS)
64
 
 
65
 
INCLUDES = \
66
 
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
67
 
        -I../scintilla/include -I../tagmanager/include @PACKAGE_CFLAGS@
 
102
 
 
103
geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a @GTK_LIBS@  $(INTLLIBS)
 
104
 
 
105
AM_CFLAGS = -DGEANY_DATADIR=\""$(datadir)"\" \
 
106
                        -DGEANY_DOCDIR=\""$(docdir)"\" \
 
107
                        -DGEANY_LIBDIR=\""$(libdir)"\" \
 
108
                        -DGEANY_LOCALEDIR=\""$(localedir)"\" \
 
109
                        -DGEANY_PREFIX=\""$(prefix)"\"
68
110
 
69
111
clean-local:
70
112
 
71
113
endif
72
114
 
73
 
#geany_SOURCES = $(SRCS)
74
 
#geany_LDADD = @PACKAGE_LIBS@ -lstdc++ ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a $(INTLLIBS)