blob: ddb211f1fc68bf7e2abc05d102728eac0ff77206 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
$FreeBSD$
--- Makefile.orig Fri Mar 24 04:04:16 2000
+++ Makefile Sat Aug 3 02:32:20 2002
@@ -10,23 +10,23 @@
BUILD = \
LIB_DIRS = \
- -L/usr/local/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/dt/lib
+ -L${LOCALBASE}/lib -L${X11BASE}/lib
LIBS = \
- `gtk-config --libs` -lgdbm -lgdk_imlib
-CFLAGS = \
- -O -g -D_GNU_SOURCE $(DEVFLAGS)
+ `${IMLIB_CONFIG} --libs-gdk` -lgdbm
+CFLAGS += \
+ -D_GNU_SOURCE $(DEVFLAGS)
#CFLAGS = \
# -O -g -W -Wall -Wno-unused -pedantic -pedantic-errors -ansi -D_GNU_SOURCE
-OPTFLAGS = \
- -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
+#OPTFLAGS = \
+# -O6 -mpentium -mcpu=pentium -march=pentium -ffast-math -D_GNU_SOURCE
INCLUDES = \
- `gtk-config --cflags` -I..
+ `${IMLIB_CONFIG} --cflags-gdk` -I..
BIN = e16keyedit
# configurable stuff
-BINARY_DESTINATION = /usr/local/enlightenment/bin
-DATA_DESTINATION = /usr/local/enlightenment/share
+BINARY_DESTINATION = ${PREFIX}/bin
+DATA_DESTINATION = ${PREFIX}/share
# commands to do things
INSTALL = install
@@ -39,7 +39,7 @@
MAKE = make
STRIP = strip
SED = sed
-MAKEDEP = gcc -MM $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES)
+MAKEDEP = ${CC} -MM $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES)
#MAKEDEP = makedepend -f- -s'\# CUT' -- -Y $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) $(EXTRA_INCLUDES) --
# piece together variables
|