Lines 1-5
Link Here
|
1 |
--- src/gtk/Makefile.orig Tue Feb 18 21:59:04 2003 |
1 |
--- src/gtk/Makefile.orig Sun May 11 22:23:11 2003 |
2 |
+++ src/gtk/Makefile Tue Feb 18 22:01:52 2003 |
2 |
+++ src/gtk/Makefile Mon Jun 30 22:51:16 2003 |
3 |
@@ -1,12 +1,12 @@ |
3 |
@@ -1,12 +1,12 @@ |
4 |
|
4 |
|
5 |
-GUICFLAGS=`gtk-config --cflags` |
5 |
-GUICFLAGS=`gtk-config --cflags` |
Lines 8-14
Link Here
|
8 |
+GUILDFLAGS=`${GTK_CONFIG} --libs` |
8 |
+GUILDFLAGS=`${GTK_CONFIG} --libs` |
9 |
|
9 |
|
10 |
-STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -Wall |
10 |
-STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -Wall |
11 |
+STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -Wall -I${LOCALBASE}/include |
11 |
+STDCFLAGS=-O2 -ffast-math -fomit-frame-pointer -Wall -I${LOCALBASE}/include |
12 |
# STDCFLAGS=-g -Wall -DROADMAP_DEBUG_HEAP |
12 |
# STDCFLAGS=-g -Wall -DROADMAP_DEBUG_HEAP |
13 |
# STDCFLAGS=-g -Wall -pg -fprofile-arcs -g |
13 |
# STDCFLAGS=-g -Wall -pg -fprofile-arcs -g |
14 |
|
14 |
|
Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
RDMLIBS= ../libroadmap.a libgtkroadmap.a ../unix/libosroadmap.a |
18 |
RDMLIBS= ../libroadmap.a libgtkroadmap.a ../unix/libosroadmap.a |
19 |
LIBS=$(RDMLIBS) $(GUILDFLAGS) -lm |
19 |
LIBS=$(RDMLIBS) $(GUILDFLAGS) -lm |
20 |
@@ -23,7 +23,7 @@ |
20 |
@@ -24,7 +24,7 @@ |
21 |
|
21 |
|
22 |
RUNTIME=gtkroadgps gtkroadmap |
22 |
RUNTIME=gtkroadgps gtkroadmap |
23 |
|
23 |
|
Lines 26-28
Link Here
|
26 |
|
26 |
|
27 |
|
27 |
|
28 |
# --- Conventional targets ---------------------------------------- |
28 |
# --- Conventional targets ---------------------------------------- |
|
|
29 |
@@ -32,23 +32,23 @@ |
30 |
all: runtime |
31 |
|
32 |
others: |
33 |
- make -C .. CFLAGS="$(STDCFLAGS)" runtime |
34 |
- make -C .. -C unix CFLAGS="$(STDCFLAGS) -I.." runtime |
35 |
+ ${MAKE} -C .. CFLAGS="$(STDCFLAGS)" runtime |
36 |
+ ${MAKE} -C .. -C unix CFLAGS="$(STDCFLAGS) -I.." runtime |
37 |
|
38 |
build: |
39 |
- make -C .. CFLAGS="$(STDCFLAGS)" build |
40 |
+ ${MAKE} -C .. CFLAGS="$(STDCFLAGS)" build |
41 |
|
42 |
runtime: others $(RUNTIME) |
43 |
|
44 |
clean: cleanone |
45 |
- make -C .. cleanone |
46 |
- make -C .. -C unix cleanone |
47 |
+ ${MAKE} -C .. cleanone |
48 |
+ ${MAKE} -C .. -C unix cleanone |
49 |
|
50 |
cleanone: |
51 |
rm -f *.o *.a *.da $(RUNTIME) |
52 |
|
53 |
install: all |
54 |
- make -C .. install |
55 |
+ ${MAKE} -C .. install |
56 |
cd $(INSTALLDIR)/bin; rm -f $(RUNTIME) roadmap roadgps |
57 |
cp $(RUNTIME) $(INSTALLDIR)/bin |
58 |
ln -s $(INSTALLDIR)/bin/gtkroadmap $(INSTALLDIR)/bin/roadmap |
59 |
@@ -57,7 +57,7 @@ |
60 |
|
61 |
uninstall: |
62 |
cd $(INSTALLDIR)/bin ; rm -f $(RUNTIME) roadmap roadgps |
63 |
- make -C .. uninstall |
64 |
+ ${MAKE} -C .. uninstall |
65 |
|
66 |
# --- The real targets -------------------------------------------- |
67 |
|