mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Cosmetic cleanups of Beos port
This commit is contained in:
@ -634,7 +634,7 @@ AC_CHECK_LIB(gen, main)
|
|||||||
AC_CHECK_LIB(PW, main)
|
AC_CHECK_LIB(PW, main)
|
||||||
AC_SEARCH_LIBS(crypt, crypt)
|
AC_SEARCH_LIBS(crypt, crypt)
|
||||||
AC_CHECK_LIB(z, inflate)
|
AC_CHECK_LIB(z, inflate)
|
||||||
AC_CHECK_LIB(bind, main)
|
AC_SEARCH_LIBS(inet_ntoa, bind)
|
||||||
|
|
||||||
if test "$with_krb4" = yes ; then
|
if test "$with_krb4" = yes ; then
|
||||||
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library \`des' is required for Kerberos 4])])
|
AC_CHECK_LIB(des, [des_encrypt], [], [AC_MSG_ERROR([library \`des' is required for Kerberos 4])])
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# be converted to Method 2.
|
# be converted to Method 2.
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# 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:
|
qnx4.dir:
|
||||||
$(MAKE) -C qnx4 all
|
$(MAKE) -C qnx4 all
|
||||||
|
|
||||||
beos/SUBSYS.o:
|
beos/SUBSYS.o: beos.dir
|
||||||
|
|
||||||
|
beos.dir:
|
||||||
$(MAKE) -C beos all
|
$(MAKE) -C beos all
|
||||||
|
|
||||||
tas.o: tas.s
|
tas.o: tas.s
|
||||||
|
@ -1,26 +1,18 @@
|
|||||||
#-------------------------------------------------------------------------
|
# $Header: /cvsroot/pgsql/src/backend/port/beos/Attic/Makefile,v 1.2 2000/10/09 16:42:54 petere Exp $
|
||||||
#
|
|
||||||
# Makefile--
|
|
||||||
# Makefile for port/beos
|
|
||||||
#
|
|
||||||
#-------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
subdir = src/backend/port/beos
|
||||||
top_builddir = ../../../..
|
top_builddir = ../../../..
|
||||||
include ../../../Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
INCLUDE_OPT =
|
|
||||||
|
|
||||||
CFLAGS+=$(INCLUDE_OPT)
|
|
||||||
|
|
||||||
OBJS = sem.o shm.o support.o
|
OBJS = sem.o shm.o support.o
|
||||||
|
|
||||||
all: SUBSYS.o
|
all: SUBSYS.o
|
||||||
|
|
||||||
SUBSYS.o: $(OBJS)
|
SUBSYS.o: $(OBJS)
|
||||||
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
|
$(LD) $(LDREL) $(LDOUT) $@ $^
|
||||||
|
|
||||||
depend dep:
|
depend dep:
|
||||||
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
$(CC) -MM $(CFLAGS) $(CPPFLAGS) *.c >depend
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f SUBSYS.o $(OBJS)
|
rm -f SUBSYS.o $(OBJS)
|
||||||
@ -28,4 +20,3 @@ clean:
|
|||||||
ifeq (depend,$(wildcard depend))
|
ifeq (depend,$(wildcard depend))
|
||||||
include depend
|
include depend
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
|
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
#include "errno.h"
|
#include <errno.h>
|
||||||
#include "OS.h"
|
#include <OS.h>
|
||||||
|
|
||||||
// Controle d'un pool de sémaphores
|
// Controle d'un pool de sémaphores
|
||||||
// On considere que le semId utilisé correspond bien a une area de notre adress space
|
// On considere que le semId utilisé correspond bien a une area de notre adress space
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
#include "OS.h"
|
#include <OS.h>
|
||||||
|
|
||||||
// Detachement d'une zone de mémoire partagée
|
// Detachement d'une zone de mémoire partagée
|
||||||
// On detruit le clone de l'area dans notre adress-space
|
// On detruit le clone de l'area dans notre adress-space
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
MK_NO_LORDER=true
|
MK_NO_LORDER=true
|
||||||
ifdef ELF_SYSTEM
|
ifdef ELF_SYSTEM
|
||||||
export_dynamic = -Wl,-E
|
export_dynamic = -Wl,-E
|
||||||
CPPFLAGS+= -I$(top_srcdir)/src/backend/port/beos
|
|
||||||
endif
|
endif
|
||||||
%.so: %.o
|
%.so: %.o
|
||||||
ln -fs $(top_srcdir)/src/backend/postgres _APP_
|
ln -fs $(top_srcdir)/src/backend/postgres _APP_
|
||||||
|
Reference in New Issue
Block a user