summaryrefslogtreecommitdiff
path: root/time/catclock/patches/patch-aa
blob: 48e77ba87f227ac3b08f17b2dcfa5859fa5b16a4 (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
$NetBSD: patch-aa,v 1.4 2002/01/24 15:07:35 jlam Exp $

--- imakefile.orig	Sun Dec 20 21:24:08 1992
+++ imakefile
@@ -2,18 +2,17 @@
 SRCS = xclock.c alarm.c
 OBJS = xclock.o alarm.o
 
-     MOTIF = /usr/lib/DXM
-MOTIF_LIBS = $(MOTIF)/lib/Xm/libXm.a $(MOTIF)/lib/Xt/libXt.a
-MOTIF_INCS = -I$(MOTIF)/lib -I$(MOTIF)/lib/Xt
-  INCLUDES = -I. $(MOTIF_INCS) -I$(TOP)
+     MOTIF = ${BUILDLINK_DIR}
+MOTIF_LIBS = ${MOTIFLIB} -lSM -lICE
+MOTIF_INCS = -I$(MOTIF)/include
+  INCLUDES = -I. $(MOTIF_INCS) $(TOP_X_INCLUDES)
    DEFINES = -DHAS_GNU_EMACS
-    CFLAGS = $(DEFINES) $(INCLUDES)
 
 LOCAL_LIBRARIES = $(MOTIF_LIBS)
   SYS_LIBRARIES = -lX11 -lm
 
 
-all:: xclock
-
-ComplexProgramTarget(xclock)
+all:: catclock
 
+ComplexProgramTarget(catclock)
+InstallAppDefaults(Catclock)