aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/xmbdfed/files/patch-aa
blob: de7c6634acdd41b4a66bba65a3c76ac0eaee6134 (plain) (blame)
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
53
--- Makefile.orig	Wed Oct 28 18:23:15 1998
+++ Makefile	Wed Oct 28 18:26:30 1998
@@ -23,8 +23,8 @@
 #
 # $Id: Makefile,v 1.3 1998/10/17 18:34:10 mleisher Exp $
 #
-CC = gcc
-CFLAGS = -g -Wall
+#CC = gcc
+#CFLAGS = -g -Wall
 
 OTHER = README COPYRIGHTS Makefile Imakefile.lesstif Project.tmpl \
         xmbdfedrc xmbdfed.man
@@ -65,7 +65,7 @@
 # files with a ".gz" extension.  If you don't care about HBF fonts, just
 # comment this line out.
 #
-HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/local/bin/gunzip -c\""
+HBFDEFS = -Dunix -DIN_MEMORY -DGUNZIP_CMD="\"/usr/bin/gunzip -c\""
 
 #
 # Set the defines used for all files except the HBF support.
@@ -83,9 +83,9 @@
 #
 # Uncomment these for Solaris.
 #
-INCS = -I/usr/openwin/include -I/usr/dt/include $(FTYPE_INCS)
-LIBS = -R/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -lXm \
-       -L/usr/openwin/lib -lXmu -lXt -lXext -lX11 $(FTYPE_LIBS)
+#INCS = -I/usr/openwin/include -I/usr/dt/include $(FTYPE_INCS)
+#LIBS = -R/usr/openwin/lib -R/usr/dt/lib -L/usr/dt/lib -lXm \
+#       -L/usr/openwin/lib -lXmu -lXt -lXext -lX11 $(FTYPE_LIBS)
 
 #
 # Uncomment these for Linux.
@@ -114,7 +114,17 @@
 #INCS = $(FTYPE_INCS)
 #LIBS = -lXm -lXmu -lXt -lXext -lX11 -lsocket $(FTYPE_LIBS)
 
+INCS = -I${X11BASE}/include
+LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXpm -lXmu -lXt -lX11 -lSM -lICE -lXext -lxpg4
+
+
 all: xmbdfed
+
+install: xmbdfed
+	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+		xmbdfed ${X11BASE}/bin/xmbdfed
+	${INSTALL} ${COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
+		xmbdfed.man ${X11BASE}/man/man1/xmbdfed.1
 
 xmbdfed: $(OBJS)
 	$(PURIFY) $(CC) $(STATIC) $(CFLAGS) -o xmbdfed $(OBJS) $(LIBS)