summaryrefslogtreecommitdiff
path: root/print/hp2xx/files/patch-aa
blob: 739b46f4e933292691f3fb9577a9f642dd822915 (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
78
79
80
81
82
83
84
85
86
87
*** ./makefile.orig	Mon Dec  1 03:22:14 1997
--- ./makefile	Sun Jan 17 14:39:04 1999
***************
*** 34,40 ****
  
  # Installation sites (GNU conventions):
  #
! prefix   = /usr/local
  bindir   = $(prefix)/bin
  includedir = $(prefix)/include
  mandir   = $(prefix)/man
--- 34,40 ----
  
  # Installation sites (GNU conventions):
  #
! prefix   = ${PREFIX}
  bindir   = $(prefix)/bin
  includedir = $(prefix)/include
  mandir   = $(prefix)/man
***************
*** 45,53 ****
  # For non-gcc compilers, simply set CFLAGS = -O (to start with)
  #
  #CC       = gcc
! #CFLAGS   = -O2 -Wall -ansi -fstrength-reduce -finline-functions
  CC       = cc
! CFLAGS   = -O
  
  #LFLAGS   =                # only sometimes needed; see below for examples
  #CPPFLAGS = -I.            # only sometimes needed; see below for examples
--- 45,53 ----
  # For non-gcc compilers, simply set CFLAGS = -O (to start with)
  #
  #CC       = gcc
! CFLAGS   = -O2 -Wall -ansi -fstrength-reduce -finline-functions
  CC       = cc
! #CFLAGS   = -O
  
  #LFLAGS   =                # only sometimes needed; see below for examples
  #CPPFLAGS = -I.            # only sometimes needed; see below for examples
***************
*** 56,63 ****
  #
  #	PNG test setup (for build without installed libpng/libz)
  #
! LFLAGS   = -L../../libpng-0.96 -L../../zlib-1.0.4
! CPPFLAGS = -I. -I../../libpng-0.96 -I../../zlib-1.0.4
  BINDCMD  = 
  
  #############################################################################
--- 56,65 ----
  #
  #	PNG test setup (for build without installed libpng/libz)
  #
! #LFLAGS   = -L../../libpng-0.96 -L../../zlib-1.0.4
! LFLAGS = -L${X11BASE}/lib -L$(prefix)/lib
! #CPPFLAGS = -I. -I../../libpng-0.96 -I../../zlib-1.0.4
! CPPFLAGS = -I. -I${X11BASE}/include -I$(prefix)/include
  BINDCMD  =
  
  #############################################################################
***************
*** 208,215 ****
  PROGRAM	= hp2xx
  
  default:
! 	@echo "This makefile needs manual configuration! Edit it now!
! 	@echo "After configuration, you may use the following commands:
  	@echo   ""
  	@echo   "make all             Compile everything"
  	@echo   "make check           Run a color application in preview mode"
--- 210,217 ----
  PROGRAM	= hp2xx
  
  default:
! 	@echo "This makefile needs manual configuration! Edit it now!"
! 	@echo "After configuration, you may use the following commands:"
  	@echo   ""
  	@echo   "make all             Compile everything"
  	@echo   "make check           Run a color application in preview mode"
***************
*** 306,309 ****
  install-man:	../doc/hp2xx.1
  		$(CP) ../doc/hp2xx.1 $(man1dir)
  		$(CHMOD) 644 $(man1dir)/hp2xx.1
- 
--- 308,310 ----