blob: 183fa255333d47606389cb9005041f712bda0402 (
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
|
$NetBSD: patch-aa,v 1.2 2001/07/16 00:52:52 jlam Exp $
--- ./Makefile.orig Fri Mar 26 02:08:33 1999
+++ ./Makefile Thu Oct 7 04:41:07 1999
@@ -1,16 +1,16 @@
CP=cp -f
MKDIR=mkdir -p
-CFLAGS = -Wall -g
+CFLAGS += -Wall
-GNOME_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
+GNOME_CC = $(CC) $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock-gtk/"\" \
-DASCLOCK_GNOME `gnome-config --cflags gnomeui gnome gtk`
GNOME_OBJS = .gnome/draw.o .gnome/asclock.o .gnome/config.o .gnome/rot.o .gnome/parser.o \
.gnome/symbols.o .gnome/dialogs.o .gnome/timezone.o .gnome/gnome_config.o
GNOME_LIBS = -lpanel -lpanel_applet `gnome-config --libs gnomeui gnome gtk gnorba`
-GTK_CC = gcc $(CFLAGS) -DASCLOCK_THEMES_DIR=\""/usr/local/share/asclock"\" \
+GTK_CC = $(CC) $(CFLAGS) -DASCLOCK_THEMES_DIR=\""${PREFIX}/share/asclock-gtk/"\" \
-DASCLOCK_GTK `$(CONFIG_PATH)gtk-config --cflags`
GTK_OBJS = .gtk/draw.o .gtk/asclock.o .gtk/config.o .gtk/rot.o .gtk/parser.o .gtk/symbols.o
GTK_LIBS = `$(CONFIG_PATH)gtk-config --libs`
|