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
48
49
50
51
52
|
$NetBSD: patch-ab,v 1.1.1.1 2002/10/28 22:28:32 agc Exp $
--- Imakefile 2002/10/28 22:02:11 1.1
+++ Imakefile 2002/10/28 22:02:45
@@ -11,7 +11,7 @@
TAGS = etags
# change if you want it to look elsewhere for its files.
- PIEWMDIR = /usr/local/lib/piewm
+ PIEWMDIR = ${PREFIX}/lib/piewm
#
# Keep uncommented to allow the xloadimage program by Jim Frost to
@@ -19,7 +19,7 @@
# other image formats besides Xpm or Xbm)
# Chris P. Ross
# <cross@eng.umd.edu>
- XLOADIM_DEF = -DXLOADIMAGE=\"/usr/local/bin/xloadimage\"
+ XLOADIM_DEF = -DXLOADIMAGE=\"${PREFIX}/bin/xloadimage\"
MATHLIB = -lm
LOCAL_DEFINES = -DSHAPE
@@ -28,7 +28,7 @@
ULTRIX_DEFINES = -DNOSTEMP
#endif
-LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm
+LOCAL_LIBRARIES = $(XMULIB) $(EXTENSIONLIB) $(XLIB) $(MATHLIB) -lXpm -lfl
LINTLIBS = $(LINTXMU) $(LINTEXTENSIONLIB) $(LINTXLIB)
DEFINES = ExtensionDefines $(LOCAL_DEFINES) $(SIGNAL_DEFINES) $(ULTRIX_DEFINES)
@@ -40,7 +40,7 @@
parse.o menus.o events.o resize.o util.o version.o iconmgr.o \
cursor.o icons.o vdt.o move.o LocPixmap.o
-AllTarget(piewm ssetroot)
+AllTarget(piewm)
SpecialObjectRule(parse.o, vdt.c, '-DPIEWMDIR="$(PIEWMDIR)"')
SpecialObjectRule(vdt.o, vdt.c, $(XLOADIM_DEF))
@@ -51,11 +51,9 @@
depend:: lex.c gram.c deftwmrc.c
ComplexProgramTarget(piewm)
-NormalProgramTarget(ssetroot,ssetroot.o,,$(LOCAL_LIBRARIES),)
MakeDirectories(install,$(TWMDIR))
InstallNonExec(system.twmrc,$(TWMDIR))
-# InstallNamedProg(ssetroot,xsetroot,$(BINDIR))
gram.h gram.c: gram.y
$(YACC) $(YFLAGS) gram.y
|