Cosmetic cleanups of Beos port

This commit is contained in:
Peter Eisentraut 2000-10-09 16:42:55 +00:00
parent 5c163daa27
commit c4ccc6146b
7 changed files with 252 additions and 241 deletions

455
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -634,7 +634,7 @@ AC_CHECK_LIB(gen, main)
AC_CHECK_LIB(PW, main)
AC_SEARCH_LIBS(crypt, crypt)
AC_CHECK_LIB(z, inflate)
AC_CHECK_LIB(bind, main)
AC_SEARCH_LIBS(inet_ntoa, bind)
if test "$with_krb4" = yes ; then
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library \`des' is required for Kerberos 4])])

View File

@ -13,7 +13,7 @@
# be converted to Method 2.
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.25 2000/10/07 14:39:10 momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/port/Attic/Makefile.in,v 1.26 2000/10/09 16:42:53 petere Exp $
#
#-------------------------------------------------------------------------
@ -40,7 +40,9 @@ qnx4/SUBSYS.o: qnx4.dir
qnx4.dir:
$(MAKE) -C qnx4 all
beos/SUBSYS.o:
beos/SUBSYS.o: beos.dir
beos.dir:
$(MAKE) -C beos all
tas.o: tas.s

View File

@ -1,26 +1,18 @@
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/beos
#
#-------------------------------------------------------------------------
# $Header: /cvsroot/pgsql/src/backend/port/beos/Attic/Makefile,v 1.2 2000/10/09 16:42:54 petere Exp $
subdir = src/backend/port/beos
top_builddir = ../../../..
include ../../../Makefile.global
INCLUDE_OPT =
CFLAGS+=$(INCLUDE_OPT)
include $(top_builddir)/src/Makefile.global
OBJS = sem.o shm.o support.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
$(LD) $(LDREL) $(LDOUT) $@ $^
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
$(CC) -MM $(CFLAGS) $(CPPFLAGS) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
@ -28,4 +20,3 @@ clean:
ifeq (depend,$(wildcard depend))
include depend
endif

View File

@ -10,9 +10,9 @@
#include "postgres.h"
#include "stdio.h"
#include "errno.h"
#include "OS.h"
#include <stdio.h>
#include <errno.h>
#include <OS.h>
// Controle d'un pool de sémaphores
// On considere que le semId utilisé correspond bien a une area de notre adress space

View File

@ -9,8 +9,8 @@
*/
#include "postgres.h"
#include "stdio.h"
#include "OS.h"
#include <stdio.h>
#include <OS.h>
// Detachement d'une zone de mémoire partagée
// On detruit le clone de l'area dans notre adress-space

View File

@ -1,7 +1,6 @@
MK_NO_LORDER=true
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
CPPFLAGS+= -I$(top_srcdir)/src/backend/port/beos
endif
%.so: %.o
ln -fs $(top_srcdir)/src/backend/postgres _APP_