summaryrefslogtreecommitdiff
path: root/www/Mosaic/patches/patch-aa
blob: be98fd0675af47ae13f46b3b841d5b2c59e1c0b8 (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
*** makefiles/Makefile.bsdi.orig	Wed Jun 12 03:45:25 1996
--- makefiles/Makefile.bsdi	Fri Aug  2 20:40:18 1996
***************
*** 36,46 ****
  sysconfigflags = -DMOTIF1_2
  
  #### System libraries.
! syslibs = -lipc
  
  #### X include file locations -- if your platform puts the X include
! xinc = -I/usr/X11/include
! xlibs = -L/usr/X11/lib -lXm -lXmu -lXt -lXext -lSM -lICE -lXpm -lX11
  
  
  #### DTM AND HDF SUPPORT; READ CAREFULLY
--- 36,46 ----
  sysconfigflags = -DMOTIF1_2
  
  #### System libraries.
! #syslibs = -lipc
  
  #### X include file locations -- if your platform puts the X include
! xinc = -I${X11BASE}/include
! xlibs = ${MOTIFLIB} -L${X11BASE}/lib -lXmu -lXt -lXext -lSM -lICE -lXpm -lX11
  
  
  #### DTM AND HDF SUPPORT; READ CAREFULLY
***************
*** 73,82 ****
  #### For inline PNG support, the following should be defined:
  #### The libraries currently used are PNGLIB 0.81 and ZLIB 0.95
  
! pngdir = /xdev/mosaic/libpng/bsdi
  pnglibdir = $(pngdir)/lib
  pngincludedir = $(pngdir)/include
! pnglibs = $(pnglibdir)/libpng.a $(pnglibdir)/libz.a -lm
  pngflags =  -I$(pngincludedir) -DHAVE_PNG
  
  #pngdir = /work2/mosaic-libs/libpng
--- 73,82 ----
  #### For inline PNG support, the following should be defined:
  #### The libraries currently used are PNGLIB 0.81 and ZLIB 0.95
  
! pngdir = ${LOCALBASE}
  pnglibdir = $(pngdir)/lib
  pngincludedir = $(pngdir)/include
! pnglibs = -L$(pnglibdir) -lpng -lz -lm
  pngflags =  -I$(pngincludedir) -DHAVE_PNG
  
  #pngdir = /work2/mosaic-libs/libpng
***************
*** 90,98 ****
  #### For inline JPEG support, the following should be defined:
  #### The library used is Independent JPEG Group (IJG's) 5.0a.
  
! jpegdir = /work2/mosaic-libs/libjpeg-6
! jpeglibs = $(jpegdir)/libjpeg.a
! jpegflags = -I$(jpegdir) -DHAVE_JPEG
  
  
  #### KERBEROS SUPPORT
--- 90,98 ----
  #### For inline JPEG support, the following should be defined:
  #### The library used is Independent JPEG Group (IJG's) 5.0a.
  
! jpegdir = ${LOCALBASE}
! jpeglibs = -L$(jpegdir) -ljpeg
! jpegflags = -I$(jpegdir)/include -DHAVE_JPEG
  
  
  #### KERBEROS SUPPORT
***************
*** 160,166 ****
  ####      modifying the Makefiles, so you may comment it out without harm.
  ########
  ########
! -include local-defines/$(DEV_ARCH)
  
  
  
--- 160,166 ----
  ####      modifying the Makefiles, so you may comment it out without harm.
  ########
  ########
! #-include local-defines/$(DEV_ARCH)
  
  
  
***************
*** 168,174 ****
  # --------------------- Do Not Modify Below This Line ------------------------
  #
  
! CFLAGS = -g $(sysconfigflags) $(prereleaseflags)
  
  # Don't worry about these -- for development purposes only.
  PURIFY = purify
--- 168,174 ----
  # --------------------- Do Not Modify Below This Line ------------------------
  #
  
! CFLAGS += $(sysconfigflags) $(prereleaseflags)
  
  # Don't worry about these -- for development purposes only.
  PURIFY = purify
***************
*** 199,205 ****
  
  src::
  	@echo --- Building src
! 	cd src; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) LDFLAGS="$(ldflags)" CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(jpegflags) $(dtmflags) $(hdfflags) $(pngflags) $(krbflags) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)" PNG_LIBS="$(pnglibs)" KRB_LIBS="$(krblibs)" LIBNUT_DIR=../libnut MOSAIC="Mosaic"
  
  src-purifyd::
  	@echo --- Building Purify'd src
--- 199,205 ----
  
  src::
  	@echo --- Building src
! 	cd src; $(MAKE) CC=$(CC) RANLIB=$(RANLIB) LDFLAGS="$(ldflags)" CFLAGS="$(CFLAGS) $(customflags) $(xinc) -I.. -I../libXmx -I../libwww2 $(jpegflags) $(dtmflags) $(hdfflags) $(pngflags) $(krbflags)" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)" PNG_LIBS="$(pnglibs)" KRB_LIBS="$(krblibs)" LIBNUT_DIR=../libnut MOSAIC="Mosaic"
  
  src-purifyd::
  	@echo --- Building Purify'd src