mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Cosmetic cleanups of Beos port
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user