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. |
5 |
|
5 |
|
Lines 9-24
Link Here
|
9 |
AR = ar |
9 |
AR = ar |
10 |
|
10 |
|
11 |
# If explicit setting of GTK1 or GTK2 then use that else look for |
11 |
# If explicit setting of GTK1 or GTK2 then use that else look for |
12 |
@@ -28,10 +28,10 @@ |
12 |
@@ -24,14 +24,14 @@ |
|
|
13 |
# "h@h@" is printed here when gnome-config unavailable. Seems harmless. |
14 |
ifdef GTK2 |
15 |
CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0) |
16 |
-CONFIGLIB=$(shell pkg-config --libs gtk+-2.0 gthread-2.0) |
17 |
+CONFIGLIB=pkg-config --libs gtk+-2.0 gthread-2.0 |
13 |
CONFIGTHREADS= |
18 |
CONFIGTHREADS= |
14 |
gnomeprefix:=$(shell pkg-config --variable=prefix gtk+-2.0 2>/dev/null) |
19 |
gnomeprefix:=$(shell pkg-config --variable=prefix gtk+-2.0 2>/dev/null) |
15 |
else |
20 |
else |
16 |
-CONFIGFLAGS=gtk-config --cflags |
21 |
-CONFIGFLAGS=$(shell gtk-config --cflags) |
17 |
-CONFIGLIB=gtk-config --libs |
22 |
-CONFIGLIB=$(shell gtk-config --libs) |
18 |
+CONFIGFLAGS=pkg-config --cflags gtk+ |
23 |
-CONFIGTHREADS=$(shell glib-config --libs gthread) |
19 |
+CONFIGLIB=pkg-config --libs gtk+ |
|
|
20 |
CONFIGTHREADS=glib-config --libs gthread |
21 |
-gnomeprefix:=$(shell gnome-config --prefix 2>/dev/null) |
24 |
-gnomeprefix:=$(shell gnome-config --prefix 2>/dev/null) |
|
|
25 |
+CONFIGFLAGS=$(shell pkg-config --cflags gtk+) |
26 |
+CONFIGLIB=pkg-config --libs gtk+ |
27 |
+CONFIGTHREADS=glib-config --libs gthread |
22 |
+gnomeprefix:=$(PREFIX) |
28 |
+gnomeprefix:=$(PREFIX) |
23 |
endif |
29 |
endif |
24 |
ifndef prefix |
30 |
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 |
|
42 |
|
37 |
ifndef NO_LUA |
43 |
ifndef NO_LUA |
38 |
@@ -102,9 +102,9 @@ |
44 |
@@ -102,8 +102,9 @@ |
39 |
|
45 |
|
40 |
$(PROG): SciTEGTK.o FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o Exporters.o \ |
46 |
$(PROG): SciTEGTK.o FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o Exporters.o \ |
41 |
MultiplexExtension.o DirectorExtension.o SciTEProps.o Utf8_16.o \ |
47 |
MultiplexExtension.o DirectorExtension.o SciTEProps.o Utf8_16.o \ |
42 |
- $(COMPLIB) $(LUA_OBJS) |
48 |
- $(COMPLIB) $(LUA_OBJS) |
43 |
- $(CC) `$(CONFIGTHREADS)` -DGTK $^ -o $@ `$(CONFIGLIB)` |
49 |
- $(CC) `$(CONFIGTHREADS)` -DGTK $^ -o $@ $(CONFIGLIB) |
44 |
- |
|
|
45 |
+ $(LUA_OBJS) |
50 |
+ $(LUA_OBJS) |
46 |
+ $(CC) `$(CONFIGLIB)` -lscintilla -lscintilla_lexers \ |
51 |
+ $(CC) `$(CONFIGLIB)` -lscintilla -lscintilla_lexers \ |
47 |
+ `$(CONFIGTHREADS)` -DGTK $^ -o $@ |
52 |
+ `$(CONFIGTHREADS)` -DGTK $^ -o $@ |
|
|
53 |
|
48 |
# Automatically generate header dependencies with "make deps" |
54 |
# Automatically generate header dependencies with "make deps" |
49 |
include deps.mak |
55 |
include deps.mak |
50 |
|
|
|