1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Simplify make files, add full dependencies.

This commit is contained in:
Bryan Henderson
1996-10-27 09:55:05 +00:00
parent 1e39d14ff3
commit b0d6f0aa63
140 changed files with 3272 additions and 2315 deletions

View File

@ -0,0 +1,36 @@
#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for port/hpux
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile,v 1.1 1996/10/27 09:50:12 bryanh Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../../..
include ../../../Makefile.global
INCLUDE_OPT = -I../.. \
-I../../include \
-I../../../include
CFLAGS+=$(INCLUDE_OPT)
OBJS = port.o dynloader.o tas.o
all: SUBSYS.o
SUBSYS.o: $(OBJS)
$(LD) -r -o SUBSYS.o $(OBJS)
depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:
rm -f SUBSYS.o $(OBJS)
ifeq (depend,$(wildcard depend))
include depend
endif

View File

@ -1,59 +0,0 @@
#-------------------------------------------------------------------------
#
# Makefile.inc--
# Makefile for port/hpux (HP-UX specific stuff)
#
# Copyright (c) 1994, Regents of the University of California
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/port/hpux/Attic/Makefile.inc,v 1.2 1996/10/18 00:33:22 scrappy Exp $
#
#-------------------------------------------------------------------------
#
# HP-UX needs:
# -W l,-E export symbols for linking with the shared libraries
# dynamic loader
# -W p,-H400000 expand cpp #define table size so the Nodes files don't
# break it
#
# -W p,-H400000
ifeq ($(CC), cc)
CFLAGS+= -W l,-E
LDFLAGS+= -W l,-E
LDADD+= -ll -ldld
else
ifeq ($(CC), gcc)
LDADD+= -ll /usr/lib/libdld.sl
endif
endif
#
# The #pragma trick required on 8.07 no longer works -- the #pragma
# is thoroughly broken. However, the +u flag has been extended to
# handle alignment requirement arguments (defaulting to 2) for things
# other than struct references, so the #pragma is no longer needed.
#
#
# (1) The YACC grammar is too big..
# (HP-UX 9.0x, x<2, added basic block limits for +O2; 9.0x, x>=2, changed
# the syntax to something else.)
#
# (2) The 9.00 optimizer chokes on some of our source.
#
#.if (${HPUX_MAJOR} == "09")
#. if !defined(CDEBUG)
#. if (${HPUX_MINOR} == "00" || ${HPUX_MINOR} == "01")
#CFLAGS+= +Obb600
#CFLAGS+= -DWEAK_C_OPTIMIZER
#. else
#CFLAGS+= +Onolimit
#. endif
#. endif
#.endif
HEADERS+= fixade.h machine.h port-protos.h
SUBSRCS+= dynloader.c port.c tas.s