summaryrefslogtreecommitdiff
path: root/x11-fonts/xmbdfed/files/patch-aa
blob: e9743a3caa9c41128364e169640131eaea6e748d (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
*** Makefile.orig	Wed Nov  5 02:39:24 1997
--- Makefile	Sun Nov  9 10:32:13 1997
***************
*** 22,29 ****
  #
  # $Id: Makefile,v 1.14 1997/10/27 01:48:16 mleisher Exp mleisher $
  #
! CC = gcc
! CFLAGS = -g -Wall
  
  OTHER = README COPYRIGHTS Makefile Imakefile.lesstif xmbdfedrc xmbdfed.man
  
--- 22,29 ----
  #
  # $Id: Makefile,v 1.14 1997/10/27 01:48:16 mleisher Exp mleisher $
  #
! #CC = gcc
! #CFLAGS = -g -Wall
  
  OTHER = README COPYRIGHTS Makefile Imakefile.lesstif xmbdfedrc xmbdfed.man
  
***************
*** 55,61 ****
  # 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\""
  
  #
  # Set the defines used for all files except the HBF support.
--- 55,61 ----
  # 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/bin/gunzip -c\""
  
  #
  # Set the defines used for all files except the HBF support.
***************
*** 65,72 ****
  #
  # Uncomment these for SunOS.
  #
! INCS = -I/usr/local/include/X11R5 $(FTYPE_INCS)
! LIBS = -L/usr/local/lib/X11R5 -lXm -lXmu -lXt -lX11 $(FTYPE_LIBS)
  
  #
  # Uncomment these for Solaris.
--- 65,72 ----
  #
  # Uncomment these for SunOS.
  #
! #INCS = -I/usr/local/include/X11R5 $(FTYPE_INCS)
! #LIBS = -L/usr/local/lib/X11R5 -lXm -lXmu -lXt -lX11 $(FTYPE_LIBS)
  
  #
  # Uncomment these for Solaris.
***************
*** 80,87 ****
--- 80,96 ----
  #INCS = -I/usr/X11/include -I/usr/Motif-2.0.1/include $(FTYPE_INCS)
  #LIBS = -L/usr/Motif-2.0.1/lib -lXm -L/usr/X11/lib -lXpm -lXmu -lXt -lX11 -lSM -lICE $(FTYPE_LIBS)
  
+ INCS = -I${X11BASE}/include
+ LIBS = -L${X11BASE}/lib ${MOTIFLIB} -lXpm -lXmu -lXt -lX11 -lSM -lICE -lXext
+ 
  
  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)