diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2006-09-19 00:44:51 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2006-09-19 00:44:51 -0400 |
commit | 29b077007f10f28f8e16ec608e490c0fc28e183a (patch) | |
tree | ae46c1681a7f87d70165531ae9e17978e56b50ea /WWW/Library | |
parent | 24a47fee30cfc3e2da82571f9c13c896a601a8df (diff) | |
download | lynx-snapshots-29b077007f10f28f8e16ec608e490c0fc28e183a.tar.gz |
snapshot of project "lynx", label v2-8-6pre_4
Diffstat (limited to 'WWW/Library')
-rw-r--r-- | WWW/Library/vms/descrip.mms | 98 |
1 files changed, 28 insertions, 70 deletions
diff --git a/WWW/Library/vms/descrip.mms b/WWW/Library/vms/descrip.mms index cff613c8..fe275bb2 100644 --- a/WWW/Library/vms/descrip.mms +++ b/WWW/Library/vms/descrip.mms @@ -18,6 +18,7 @@ ! 03 May 95 (FM) Include /NoMember for DECC (not the default on AXP, ! and the code assumes byte alignment). ! 07 Jul 95 (FM) Added GNUC support. +! 15 Sep 06 (TD) Cleanup... ! ! Bugs: ! The dependencies are anything but complete - they were @@ -81,84 +82,41 @@ INCLUDES = /Include=([-.Implementation],[---.src],[---]) ! defines valid for all compilations EXTRADEFINES = ACCESS_AUTH, VC="""$(VC)""" -! DECC flags for all compilations -.ifdef DEC_C -DCFLAGS = /NoMember /Warning=(disable=implicitfunc) $(INCLUDES) -.endif - -.ifdef UCX -TCP = UCX -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), UCX) -.else -CFLAGS = $(DEBUGFLAGS) /Define=($(EXTRADEFINES), UCX) $(INCLUDES) -.endif -.endif - -.ifdef TCPWARE -TCP = TCPWARE -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), UCX, TCPWARE) -.else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), UCX, TCPWARE) $(INCLUDES) -.endif -.endif - -.ifdef MULTINET -TCP = MULTINET -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=(_DECC_V4_SOURCE, __SOCKET_TYPEDEFS, $(EXTRADEFINES), MULTINET) -.else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), MULTINET) $(INCLUDES) -.endif -.endif - .ifdef WIN_TCP -TCP = WIN_TCP -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), WIN_TCP) +NETWORK_DEF = WIN_TCP .else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), WIN_TCP) $(INCLUDES) -.endif -.endif - .ifdef CMU_TCP -TCP = CMU_TCP -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), CMU_TCP) +NETWORK_DEF = CMU_TCP .else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), CMU_TCP) $(INCLUDES) -.endif -.endif - .ifdef SOCKETSHR_TCP -TCP = SOCKETSHR_TCP -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), _DECC_V4_SOURCE, SOCKETSHR_TCP) +NETWORK_DEF = SOCKETSHR_TCP .else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), SOCKETSHR_TCP) $(INCLUDES) -.endif -.endif - -.ifdef DECNET -TCP = DECNET -.ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=($(EXTRADEFINES), DECNET) +.ifdef UCX +NETWORK_DEF = UCX .else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), DECNET) $(INCLUDES) -.endif -.endif - -.ifdef TCP +.ifdef TCPWARE +NETWORK_DEF = TCPWARE,UCX .else -TCP = MULTINET ! (Default to MULTINET) +.ifdef DECnet +NETWORK_DEF = DECNET +.else ! Default to MultiNet +NETWORK_DEF = MULTINET +.endif ! DECnet +.endif ! TCPWARE +.endif ! UCX +.endif ! SOCKETSHR_TCP +.endif ! CMU_TCP +.endif ! WIN_TCP + +! DECC flags for all compilations .ifdef DEC_C -CFLAGS = /decc/Prefix=All $(DEBUGFLAGS) $(DCFLAGS) /Define=(_DECC_V4_SOURCE, __SOCKET_TYPEDEFS, $(EXTRADEFINES), MULTINET) +MY_CFLAGS = /decc/Prefix=All /NoMember /Warning=(disable=implicitfunc) $(INCLUDES) .else -CFLAGS = $(DEBUGFLAGS) /Define = ($(EXTRADEFINES), MULTINET) $(INCLUDES) -.endif +MY_CFLAGS = $(INCLUDES) .endif +CFLAGS = $(DEBUGFLAGS) $(MY_CFLAGS) /Define=($(EXTRADEFINES), $(NETWORK_DEF)) + .ifdef GNU_C CC = gcc .endif @@ -196,12 +154,12 @@ MODULES = HTParse, HTAccess, HTTP, HTFile, HTBTree, HTFTP, HTTCP, HTString, - !___________________________________________________________________ ! WWW Library -!library : $(HEADERS) wwwlib_$(TCP)($(MODULES)) -library : wwwlib_$(TCP)($(MODULES)) +!library : $(HEADERS) wwwlib($(MODULES)) +library : wwwlib($(MODULES)) @ Continue -build_$(TCP).com : descrip.mms - $(MMS) /NoAction /From_Sources /Output = Build_$(TCP).com /Macro = ($(TCP)=1) +build_www.com : descrip.mms + $(MMS) /NoAction /From_Sources /Output = build_www.com /Macro = ($(NETWORK_DEF)=1) clean : - Set Protection = (Owner:RWED) *.*;-1 |