2014-03-05 02:23:16 +01:00
|
|
|
--- makefile.orig 2013-10-13 23:38:06.000000000 +0200
|
|
|
|
+++ makefile 2014-01-27 15:50:05.858185668 +0100
|
2013-02-27 12:47:50 +01:00
|
|
|
@@ -5,13 +5,6 @@
|
2003-10-01 12:44:26 +02:00
|
|
|
# GNU make does not like \r\n line endings so should be saved to CVS in binary form.
|
2007-08-22 05:36:05 +02:00
|
|
|
|
2005-02-03 21:07:07 +01:00
|
|
|
.SUFFIXES: .cxx .o .h .a .c
|
2010-06-02 16:05:46 +02:00
|
|
|
-ifdef CLANG
|
2013-06-22 22:09:24 +02:00
|
|
|
-CC = clang -fsanitize=address --std=c++0x
|
|
|
|
-CCOMP = clang -fsanitize=address -Wno-empty-body
|
2010-06-02 16:05:46 +02:00
|
|
|
-else
|
2003-10-01 12:44:26 +02:00
|
|
|
-CC = g++
|
2010-06-02 16:05:46 +02:00
|
|
|
-CCOMP = gcc
|
|
|
|
-endif
|
2003-10-01 12:44:26 +02:00
|
|
|
AR = ar
|
2007-08-22 05:36:05 +02:00
|
|
|
|
2011-07-04 20:25:07 +02:00
|
|
|
ifdef GTK3
|
2013-02-27 12:47:50 +01:00
|
|
|
@@ -24,7 +17,7 @@
|
2011-07-04 20:25:07 +02:00
|
|
|
CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
|
2012-08-13 21:41:49 +02:00
|
|
|
CONFIGLIB:=$(shell pkg-config --libs $(GTKVERSION) gthread-2.0 gmodule-no-export-2.0)
|
2009-08-26 22:33:10 +02:00
|
|
|
CONFIGTHREADS:=
|
2011-07-04 20:25:07 +02:00
|
|
|
-gnomeprefix:=$(shell pkg-config --variable=prefix $(GTKVERSION) 2>/dev/null)
|
2007-08-22 05:36:05 +02:00
|
|
|
+gnomeprefix:=$(PREFIX)
|
2010-06-02 16:05:46 +02:00
|
|
|
ifndef prefix
|
|
|
|
ifdef gnomeprefix
|
|
|
|
prefix=$(gnomeprefix)
|
2014-03-05 02:23:16 +01:00
|
|
|
@@ -116,8 +109,9 @@
|
2011-07-04 20:25:07 +02:00
|
|
|
$(PROG): SciTEGTK.o GUIGTK.o Widget.o \
|
2012-08-13 21:41:49 +02:00
|
|
|
FilePath.o SciTEBase.o FileWorker.o Cookie.o Credits.o SciTEBuffers.o SciTEIO.o StringList.o Exporters.o StringHelpers.o \
|
2014-03-05 02:23:16 +01:00
|
|
|
PropSetFile.o MultiplexExtension.o DirectorExtension.o SciTEProps.o StyleDefinition.o StyleWriter.o Utf8_16.o \
|
2008-10-24 16:22:40 +02:00
|
|
|
- JobQueue.o GTKMutex.o IFaceTable.o $(COMPLIB) $(LUA_OBJS)
|
2013-02-27 12:47:50 +01:00
|
|
|
- $(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) $(LIBDL) -lm -lstdc++
|
2008-10-24 16:22:40 +02:00
|
|
|
+ JobQueue.o GTKMutex.o IFaceTable.o $(LUA_OBJS)
|
2011-09-13 13:32:32 +02:00
|
|
|
+ $(CC) -DGTK $(CXXFLAGS) -rdynamic -Wl,--version-script lua.vers $(LDFLAGS) \
|
2011-09-27 22:06:58 +02:00
|
|
|
+ -o $@ $^ -lscintilla -lscintilla_lexers -Wl,--as-needed $(CONFIGLIB)
|
2007-08-22 05:36:05 +02:00
|
|
|
|
2004-01-12 15:19:07 +01:00
|
|
|
# Automatically generate header dependencies with "make deps"
|
|
|
|
include deps.mak
|