Lines 1-5
Link Here
|
1 |
--- makefile.bak Mon Feb 13 07:27:08 2006 |
1 |
--- makefile.orig Wed Aug 1 09:41:29 2007 |
2 |
+++ makefile Sat Jun 24 09:06:54 2006 |
2 |
+++ makefile Wed Aug 1 09:46:30 2007 |
3 |
@@ -5,7 +5,7 @@ |
3 |
@@ -5,7 +5,7 @@ |
4 |
# GNU make does not like \r\n line endings so should be saved to CVS in binary form. |
4 |
# GNU make does not like \r\n line endings so should be saved to CVS in binary form. |
Lines 9-24
Link Here
|
9 |
AR = ar |
9 |
AR = ar |
10 |
# If explicit setting of GTK1 or GTK2 then use that else look for |
10 |
# If explicit setting of GTK1 or GTK2 then use that else look for |
11 |
@@ -28,10 +28,10 @@ |
11 |
@@ -24,14 +24,14 @@ |
|
|
12 |
# "h@h@" is printed here when gnome-config unavailable. Seems harmless. |
13 |
ifdef GTK2 |
14 |
CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0) |
15 |
-CONFIGLIB=$(shell pkg-config --libs gtk+-2.0 gthread-2.0) |
16 |
+CONFIGLIB=pkg-config --libs gtk+-2.0 gthread-2.0 |
12 |
CONFIGTHREADS= |
17 |
CONFIGTHREADS= |
13 |
gnomeprefix:=$(shell pkg-config --variable=prefix gtk+-2.0 2>/dev/null) |
18 |
gnomeprefix:=$(shell pkg-config --variable=prefix gtk+-2.0 2>/dev/null) |
14 |
else |
19 |
else |
15 |
-CONFIGFLAGS=gtk-config --cflags |
20 |
-CONFIGFLAGS=$(shell gtk-config --cflags) |
16 |
-CONFIGLIB=gtk-config --libs |
21 |
-CONFIGLIB=$(shell gtk-config --libs) |
17 |
+CONFIGFLAGS=pkg-config --cflags gtk+ |
22 |
-CONFIGTHREADS=$(shell glib-config --libs gthread) |
18 |
+CONFIGLIB=pkg-config --libs gtk+ |
|
|
19 |
CONFIGTHREADS=glib-config --libs gthread |
20 |
-gnomeprefix:=$(shell gnome-config --prefix 2>/dev/null) |
23 |
-gnomeprefix:=$(shell gnome-config --prefix 2>/dev/null) |
|
|
24 |
+CONFIGFLAGS=$(shell pkg-config --cflags gtk+) |
25 |
+CONFIGLIB=pkg-config --libs gtk+ |
26 |
+CONFIGTHREADS=glib-config --libs gthread |
21 |
+gnomeprefix:=$(PREFIX) |
27 |
+gnomeprefix:=$(PREFIX) |
22 |
endif |
28 |
endif |
23 |
ifndef prefix |
29 |
ifndef prefix |
Lines 31-50
Link Here
|
31 |
+CXXTFLAGS+=-DDEBUG -g $(CXXBASEFLAGS) |
37 |
+CXXTFLAGS+=-DDEBUG -g $(CXXBASEFLAGS) |
32 |
else |
38 |
else |
33 |
-CXXTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) |
39 |
-CXXTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) |
34 |
+CXXTFLAGS+=-DNDEBUG $(CXXBASEFLAGS) |
40 |
+CXXTFLAGS+=-DNDEBUG -Os $(CXXBASEFLAGS) |
35 |
endif |
41 |
endif |
36 |
ifndef NO_LUA |
42 |
ifndef NO_LUA |
37 |
@@ -102,9 +102,9 @@ |
43 |
@@ -102,8 +102,9 @@ |
38 |
$(PROG): SciTEGTK.o FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o Exporters.o \ |
44 |
$(PROG): SciTEGTK.o FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o Exporters.o \ |
39 |
MultiplexExtension.o DirectorExtension.o SciTEProps.o Utf8_16.o \ |
45 |
MultiplexExtension.o DirectorExtension.o SciTEProps.o Utf8_16.o \ |
40 |
- $(COMPLIB) $(LUA_OBJS) |
46 |
- $(COMPLIB) $(LUA_OBJS) |
41 |
- $(CC) `$(CONFIGTHREADS)` -DGTK $^ -o $@ `$(CONFIGLIB)` |
47 |
- $(CC) `$(CONFIGTHREADS)` -DGTK $^ -o $@ $(CONFIGLIB) |
42 |
- |
|
|
43 |
+ $(LUA_OBJS) |
48 |
+ $(LUA_OBJS) |
44 |
+ $(CC) `$(CONFIGLIB)` -lscintilla -lscintilla_lexers \ |
49 |
+ $(CC) `$(CONFIGLIB)` -lscintilla -lscintilla_lexers \ |
45 |
+ `$(CONFIGTHREADS)` -DGTK $^ -o $@ |
50 |
+ `$(CONFIGTHREADS)` -DGTK $^ -o $@ |
|
|
51 |
|
46 |
# Automatically generate header dependencies with "make deps" |
52 |
# Automatically generate header dependencies with "make deps" |
47 |
include deps.mak |
53 |
include deps.mak |
48 |
|
|
|