summaryrefslogtreecommitdiff
path: root/pcr/ploticus/Makefile2.42.patch
blob: f03f53f89790f8fb71674bf7f2b64bdd73c83e0e (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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
*** ploticus242/src/Makefile.242.orig	Fri Jun  7 13:05:43 2013
--- ploticus242/src/Makefile	Wed Jan 13 16:38:29 2016
***************
*** 25,45 ****
  
  
  ############ Option 1: build the pl executable (unix), no X11 ....
! NOX11 = -DNOX11
  
  
  
  ############ Option 2: build the pl executable (unix), with X11 enabled .... 
! # NOX11 = 
! # XOBJ = x11.o interact.o
  
  ############ ...AND... activate the lines below for your platform... (X11 libs & header files)
  #### linux
  # XLIBS = -L/usr/X11R6/lib -lX11
  # XINCLUDEDIR = -I/usr/X11R6/include
  #### alt linux
! # XLIBS = -lX11
! # XINCLUDEDIR = -I/usr/include/X11
  #### 64bit linux
  # XLIBS = -L/usr/X11R6/lib64 -lX11
  #### solaris
--- 25,45 ----
  
  
  ############ Option 1: build the pl executable (unix), no X11 ....
! #NOX11 = -DNOX11
  
  
  
  ############ Option 2: build the pl executable (unix), with X11 enabled .... 
! NOX11 = 
! XOBJ = x11.o interact.o
  
  ############ ...AND... activate the lines below for your platform... (X11 libs & header files)
  #### linux
  # XLIBS = -L/usr/X11R6/lib -lX11
  # XINCLUDEDIR = -I/usr/X11R6/include
  #### alt linux
! XLIBS = -lX11
! XINCLUDEDIR = -I/usr/include/X11
  #### 64bit linux
  # XLIBS = -L/usr/X11R6/lib64 -lX11
  #### solaris
***************
*** 91,100 ****
  
  
  ########### Option 1: use bundled GD16 (PNG only).  Requires libpng and zlib.
! exetarget: plpng 
! GD16LIBS = -lpng -lz
! GD16H =  -I/usr/local/include
! ZFLAG = -DWZ
  ### These should remain commented unless your libs are not in usual places, then alter to suit...
  ### GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
  ### GD16H = -I/home/scg/lib
--- 91,100 ----
  
  
  ########### Option 1: use bundled GD16 (PNG only).  Requires libpng and zlib.
! #exetarget: plpng 
! #GD16LIBS = -lpng -lz
! #GD16H =  -I/usr/local/include
! #ZFLAG = -DWZ
  ### These should remain commented unless your libs are not in usual places, then alter to suit...
  ### GD16LIBS = /home/scg/lib/libpng.a /home/scg/lib/libz.a
  ### GD16H = -I/home/scg/lib
***************
*** 111,121 ****
  
  ########### Option 4: use your own GD resource with FreeType2 (ttf) fonts enabled.  
  ###########           Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype
! # exetarget: plgd18 
! # GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
! # GD18H = 
! # GDFREETYPE = -DGDFREETYPE
! # ZFLAG = -DWZ
  
  ########### Option 5: don't use GD at all.
  # exetarget: plnogd 
--- 111,121 ----
  
  ########### Option 4: use your own GD resource with FreeType2 (ttf) fonts enabled.  
  ###########           Requires GD 1.84+, libpng, zlib, libjpeg and libfreetype
! exetarget: plgd18 
! GD18LIBS = -lgd -lpng -lz -ljpeg -lfreetype
! GD18H = 
! GDFREETYPE = -DGDFREETYPE
! ZFLAG = -DWZ
  
  ########### Option 5: don't use GD at all.
  # exetarget: plnogd 
***************
*** 140,151 ****
  
  
  #### If you do a "make install", where do you want the executable(s) to be moved to?
! INSTALLBIN = /usr/local/bin
  
  
  #### For LOCALE support (non-roman alphabets & collation), uncomment the following..
! # LOCALEOBJ = localef.o
! # LOCALE_FLAG = -DLOCALE
  
  #### SVG output is always available by default.
  #### If you want compressed SVG (.svgz), and you selected GD13 or no GD above, 
--- 140,151 ----
  
  
  #### If you do a "make install", where do you want the executable(s) to be moved to?
! INSTALLBIN = /usr/bin
  
  
  #### For LOCALE support (non-roman alphabets & collation), uncomment the following..
! LOCALEOBJ = localef.o
! LOCALE_FLAG = -DLOCALE
  
  #### SVG output is always available by default.
  #### If you want compressed SVG (.svgz), and you selected GD13 or no GD above,