mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-04 00:02:52 -05:00 
			
		
		
		
	Start of a univel port by "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
This commit is contained in:
		
							parent
							
								
									1a63f48b28
								
							
						
					
					
						commit
						52ab6525fb
					
				@ -7,7 +7,7 @@
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# IDENTIFICATION
 | 
					# IDENTIFICATION
 | 
				
			||||||
#    $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.12 1997/03/06 22:58:48 momjian Exp $
 | 
					#    $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.13 1997/03/25 07:16:30 scrappy Exp $
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# NOTES
 | 
					# NOTES
 | 
				
			||||||
#    Essentially all Postgres make files include this file and use the 
 | 
					#    Essentially all Postgres make files include this file and use the 
 | 
				
			||||||
@ -59,6 +59,7 @@
 | 
				
			|||||||
#   sunos4         SUN SPARC on SunOS 4.1.3
 | 
					#   sunos4         SUN SPARC on SunOS 4.1.3
 | 
				
			||||||
#   svr4           Intel x86 on Intel SVR4
 | 
					#   svr4           Intel x86 on Intel SVR4
 | 
				
			||||||
#   ultrix4        DEC MIPS on Ultrix 4.4
 | 
					#   ultrix4        DEC MIPS on Ultrix 4.4
 | 
				
			||||||
 | 
					#   univel         Unixware 2.0x x86
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# PostgresSQL has known problems/bugs on the following platforms:
 | 
					# PostgresSQL has known problems/bugs on the following platforms:
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
@ -598,6 +599,45 @@ DLSUFFIX= .o
 | 
				
			|||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#-----------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					#	The univel port is almost guaranteed NOT to work yet.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					ifeq ($(PORTNAME), univel)
 | 
				
			||||||
 | 
					#CFLAGS+= -DHAVE_RUSAGE -DTRACEDEBUG -DASYNC_DEBUG
 | 
				
			||||||
 | 
					CFLAGS+= -DHAVE_RUSAGE -m486 -Dsvr4
 | 
				
			||||||
 | 
					CFLAGS_SL= -fPIC
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					YACC= bison -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					#	Some of the Makefiles use LDADD, others use LD_ADD.
 | 
				
			||||||
 | 
					#	This makes them the same.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					LDADD= $(LD_ADD)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# MAKE_EXPORTS is required for svr4 loaders that want a file of
 | 
				
			||||||
 | 
					# symbol names to tell them what to export/import.
 | 
				
			||||||
 | 
					#MAKE_EXPORTS= true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# Random things that must be passed everywhere to enable
 | 
				
			||||||
 | 
					# everything to compile.  :-/
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# The extra -I flag is to scoop up extra BSD-emulating headers.
 | 
				
			||||||
 | 
					CFLAGS_BE+= -I$(SRCDIR)/backend/port/univel
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					%.so: %.o
 | 
				
			||||||
 | 
						$(LD) -G -Bdynamic -o $@ $<
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					DASH_N= ''
 | 
				
			||||||
 | 
					BACKSLASH_C= '\\\\c'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					INSTALL= /usr/ucb/install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#---------------------------------------------------------------------------
 | 
					#---------------------------------------------------------------------------
 | 
				
			||||||
ifeq ($(PORTNAME), nextstep)
 | 
					ifeq ($(PORTNAME), nextstep)
 | 
				
			||||||
AROPT= rc
 | 
					AROPT= rc
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										3
									
								
								src/config.sub
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								src/config.sub
									
									
									
									
										vendored
									
									
								
							@ -671,6 +671,9 @@ case $os in
 | 
				
			|||||||
	-unixware* | svr4*)
 | 
						-unixware* | svr4*)
 | 
				
			||||||
		os=-sysv4
 | 
							os=-sysv4
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
 | 
						-univel*)
 | 
				
			||||||
 | 
							os=-sysv4
 | 
				
			||||||
 | 
							;;
 | 
				
			||||||
	-gnu/linux*)
 | 
						-gnu/linux*)
 | 
				
			||||||
		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
 | 
							os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
 | 
				
			||||||
		;;
 | 
							;;
 | 
				
			||||||
 | 
				
			|||||||
@ -18,11 +18,16 @@ nextstep*) PORTNAME='nextstep';;
 | 
				
			|||||||
    irix*) PORTNAME='irix5';;
 | 
					    irix*) PORTNAME='irix5';;
 | 
				
			||||||
    hpux*) PORTNAME='hpux';;
 | 
					    hpux*) PORTNAME='hpux';;
 | 
				
			||||||
     osf*) PORTNAME='alpha';;
 | 
					     osf*) PORTNAME='alpha';;
 | 
				
			||||||
 | 
					 sysv4.2*) 
 | 
				
			||||||
 | 
					       case "$host_vendor" in
 | 
				
			||||||
 | 
					               univel) PORTNAME='univel';;
 | 
				
			||||||
 | 
					                    *) PORTNAME='unknown';;
 | 
				
			||||||
 | 
					       esac ;;
 | 
				
			||||||
*) echo ""
 | 
					*) echo ""
 | 
				
			||||||
   echo "*************************************************************"
 | 
					   echo "*************************************************************"
 | 
				
			||||||
   echo "configure does not currently recognize your operating system,"
 | 
					   echo "configure does not currently recognize your operating system,"
 | 
				
			||||||
   echo "therefore you must do a manual configuration of:"
 | 
					   echo "therefore you must do a manual configuration of:"
 | 
				
			||||||
   echo ""
 | 
					   echo "$host_os"
 | 
				
			||||||
   echo "Please contact scrappy@hub.org to see about rectifying this, "
 | 
					   echo "Please contact scrappy@hub.org to see about rectifying this, "
 | 
				
			||||||
   echo "including the above 'checking host system type...' line "
 | 
					   echo "including the above 'checking host system type...' line "
 | 
				
			||||||
   echo "*************************************************************"
 | 
					   echo "*************************************************************"
 | 
				
			||||||
@ -123,6 +128,7 @@ AC_CHECK_LIB(ld,       main)
 | 
				
			|||||||
AC_CHECK_LIB(compat,   main)
 | 
					AC_CHECK_LIB(compat,   main)
 | 
				
			||||||
AC_CHECK_LIB(BSD,      main)
 | 
					AC_CHECK_LIB(BSD,      main)
 | 
				
			||||||
AC_CHECK_LIB(crypt,      main)
 | 
					AC_CHECK_LIB(crypt,      main)
 | 
				
			||||||
 | 
					AC_CHECK_LIB(gen,      main)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dnl Checks for header files.
 | 
					dnl Checks for header files.
 | 
				
			||||||
AC_HEADER_STDC
 | 
					AC_HEADER_STDC
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user