diff -urN ../../scintilla/gtk/makefile.orig ./../scintilla/gtk/makefile
old
|
new
|
|
30 | 30 | |
31 | 31 | INCLUDEDIRS=-I ../include -I ../src -I ../lexlib |
32 | 32 | #~ DEPRECATED=-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DDISABLE_GDK_FONT |
33 | | CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -Wno-long-long -pedantic -DGTK -DSCI_LEXER $(INCLUDEDIRS) $(DEPRECATED) |
| 33 | CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -Wno-long-long -pedantic -D__unix__ -DGTK -DSCI_LEXER $(INCLUDEDIRS) $(DEPRECATED) |
34 | 34 | |
35 | 35 | ifdef NOTHREADS |
36 | 36 | THREADFLAGS=-DG_THREADS_IMPL_NONE |
diff -urN scite/gtk/makefile.orig scite/gtk/makefile
old
|
new
|
|
42 | 42 | |
43 | 43 | INCLUDEDIRS=-I ../../scintilla/include -I ../src |
44 | 44 | #~ DEPRECATED=-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED |
45 | | CXXBASEFLAGS=-W -Wall -Wno-char-subscripts -pedantic -DGTK -DSCI_LEXER -DPIXMAP_PATH=\"$(pixmapdir)\" -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" $(INCLUDEDIRS) $(DEPRECATED) |
| 45 | CXXBASEFLAGS=-W -Wall -Wno-char-subscripts -pedantic -D__unix__ -DGTK -DSCI_LEXER -DPIXMAP_PATH=\"$(pixmapdir)\" -DSYSCONF_PATH=\"$(SYSCONF_PATH)\" $(INCLUDEDIRS) $(DEPRECATED) |
46 | 46 | |
47 | 47 | ifdef DEBUG |
48 | 48 | CXXTFLAGS=-DDEBUG -g $(CXXBASEFLAGS) |
… |
… |
|
90 | 90 | FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o StringList.o Exporters.o StringHelpers.o \ |
91 | 91 | PropSetFile.o MultiplexExtension.o DirectorExtension.o SciTEProps.o StyleWriter.o Utf8_16.o \ |
92 | 92 | JobQueue.o GTKMutex.o IFaceTable.o $(COMPLIB) $(LUA_OBJS) |
93 | | $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) -ldl -lstdc++ |
| 93 | $(CC) `$(CONFIGTHREADS)` -rdynamic -DGTK $^ -o $@ $(CONFIGLIB) -ldl -lstdc++ |
94 | 94 | |
95 | 95 | # Automatically generate header dependencies with "make deps" |
96 | 96 | include deps.mak |
… |
… |
|
109 | 109 | done |
110 | 110 | |
111 | 111 | ifdef gnomeprefix |
112 | | $(INSTALL) -m 755 -D SciTE.desktop $(DESTDIR)$(datadir)/applications/SciTE.desktop |
113 | | $(INSTALL) -m 644 -D Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png |
| 112 | $(INSTALL) -m 755 -d $(DESTDIR)$(datadir)/application |
| 113 | $(INSTALL) -m 644 SciTE.desktop $(DESTDIR)$(datadir)/applications |
| 114 | $(INSTALL) -m 644 -d $(DESTDIR)$(pixmapdir) |
| 115 | $(INSTALL) -m 644 Sci48M.png $(DESTDIR)$(pixmapdir)/Sci48M.png |
114 | 116 | endif |
115 | 117 | |
116 | 118 | uninstall: |