Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit52ab652

Browse files
committed
Start of a univel port by "Michael P. Snyder" <msnyder@hawkeye.huntersmoon.com>
1 parent1a63f48 commit52ab652

File tree

3 files changed

+51
-2
lines changed

3 files changed

+51
-2
lines changed

‎src/Makefile.global.in

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
#
99
# IDENTIFICATION
10-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.12 1997/03/06 22:58:48 momjian Exp $
10+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.13 1997/03/25 07:16:30 scrappy Exp $
1111
#
1212
# NOTES
1313
# Essentially all Postgres make files include this file and use the
@@ -59,6 +59,7 @@
5959
# sunos4 SUN SPARC on SunOS 4.1.3
6060
# svr4 Intel x86 on Intel SVR4
6161
# ultrix4 DEC MIPS on Ultrix 4.4
62+
# univel Unixware 2.0x x86
6263
#
6364
# PostgresSQL has known problems/bugs on the following platforms:
6465
#
@@ -598,6 +599,45 @@ DLSUFFIX= .o
598599
endif
599600

600601

602+
#-----------------------------------------------------------------------------
603+
604+
#
605+
#The univel port is almost guaranteed NOT to work yet.
606+
#
607+
ifeq ($(PORTNAME), univel)
608+
#CFLAGS+= -DHAVE_RUSAGE -DTRACEDEBUG -DASYNC_DEBUG
609+
CFLAGS+= -DHAVE_RUSAGE -m486 -Dsvr4
610+
CFLAGS_SL= -fPIC
611+
612+
YACC= bison -y
613+
614+
#
615+
#Some of the Makefiles use LDADD, others use LD_ADD.
616+
#This makes them the same.
617+
#
618+
LDADD= $(LD_ADD)
619+
620+
# MAKE_EXPORTS is required for svr4 loaders that want a file of
621+
# symbol names to tell them what to export/import.
622+
#MAKE_EXPORTS= true
623+
624+
#
625+
# Random things that must be passed everywhere to enable
626+
# everything to compile. :-/
627+
#
628+
# The extra -I flag is to scoop up extra BSD-emulating headers.
629+
CFLAGS_BE+= -I$(SRCDIR)/backend/port/univel
630+
631+
%.so: %.o
632+
$(LD) -G -Bdynamic -o $@ $<
633+
634+
DASH_N= ''
635+
BACKSLASH_C= '\\\\c'
636+
637+
INSTALL= /usr/ucb/install
638+
639+
endif
640+
601641
#---------------------------------------------------------------------------
602642
ifeq ($(PORTNAME), nextstep)
603643
AROPT= rc

‎src/config.sub

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,9 @@ case $os in
671671
-unixware* | svr4*)
672672
os=-sysv4
673673
;;
674+
-univel*)
675+
os=-sysv4
676+
;;
674677
-gnu/linux*)
675678
os=`echo$os| sed -e's|gnu/linux|linux-gnu|'`
676679
;;

‎src/configure.in

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,16 @@ nextstep*) PORTNAME='nextstep';;
1818
irix*) PORTNAME='irix5';;
1919
hpux*) PORTNAME='hpux';;
2020
osf*) PORTNAME='alpha';;
21+
sysv4.2*)
22+
case "$host_vendor" in
23+
univel) PORTNAME='univel';;
24+
*) PORTNAME='unknown';;
25+
esac ;;
2126
*) echo ""
2227
echo "*************************************************************"
2328
echo "configure does not currently recognize your operating system,"
2429
echo "therefore you must do a manual configuration of:"
25-
echo ""
30+
echo "$host_os"
2631
echo "Please contact scrappy@hub.org to see about rectifying this, "
2732
echo "including the above 'checking host system type...' line "
2833
echo "*************************************************************"
@@ -123,6 +128,7 @@ AC_CHECK_LIB(ld, main)
123128
AC_CHECK_LIB(compat, main)
124129
AC_CHECK_LIB(BSD, main)
125130
AC_CHECK_LIB(crypt, main)
131+
AC_CHECK_LIB(gen, main)
126132

127133
dnl Checks for header files.
128134
AC_HEADER_STDC

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp