3 --- Makefile.orig 2002-05-07 08:04:49.000000000 +0000
7 # updated for gkrellm2.0
10 -CFLAGS = -c -O -Wall -fPIC `${EXTRACONF}`
12 +CFLAGS += -c -Wall -fPIC `${EXTRACONF}`
15 -LDFLAGS = -shared -Wl -o
17 +INCPATH = -I. -I${BUILDLINK_DIR}/include
18 INCPATH += ${GKRELL_INC}
20 TARGET = gkrellflynn.so
21 @@ -22,13 +21,13 @@ all:
22 @echo " make gkrellm2"
25 - (make GKRELL_INC=-DGKRELLM EXTRACONF="gtk-config --cflags;imlib-config --cflags-gdk" ${TARGET})
26 + (${MAKE} GKRELL_INC=-DGKRELLM EXTRACONF="gtk-config --cflags;imlib-config --cflags-gdk" ${TARGET})
29 - (make GKRELL_INC=-DGKRELLM2 EXTRACONF="pkg-config --cflags gtk+-2.0 gthread-2.0" ${TARGET})
30 + (${MAKE} GKRELL_INC=-DGKRELLM2 EXTRACONF="pkg-config --cflags gtk+-2.0 gthread-2.0" ${TARGET})
33 - ${LD} ${DEBUG} ${LDFLAGS} ${TARGET} ${OBJS}
34 + ${LD} ${DEBUG} ${LDFLAGS} -shared -o ${TARGET} ${OBJS}
38 @@ -44,7 +43,7 @@ installgkrellm:
39 ./install-sub.sh ${TARGET} gkrellm
42 - ./install-sub.sh ${TARGET} gkrellm2
43 + install -c -s -m 644 ${TARGET} ${DESTDIR}${PREFIX}/lib/gkrellm2/plugins
46 ${CC} ${CFLAGS} $(INCPATH) -o $@ $<