1996-10-27 10:55:05 +01:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Makefile--
|
|
|
|
# Makefile for libpq subsystem (backend half of libpq interface)
|
|
|
|
#
|
|
|
|
# IDENTIFICATION
|
2000-07-09 15:14:19 +02:00
|
|
|
# $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.22 2000/07/09 13:14:05 petere Exp $
|
1996-10-27 10:55:05 +01:00
|
|
|
#
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
2000-07-09 15:14:19 +02:00
|
|
|
subdir = src/backend/libpq
|
|
|
|
top_builddir = ../..
|
1996-10-27 10:55:05 +01:00
|
|
|
include ../../Makefile.global
|
|
|
|
|
2000-07-08 05:04:41 +02:00
|
|
|
# be-fsstubs is here for historical reasons, probably belongs elsewhere
|
|
|
|
|
|
|
|
OBJS = be-fsstubs.o \
|
|
|
|
auth.o crypt.o hba.o password.o \
|
1999-04-25 05:27:15 +02:00
|
|
|
pqcomm.o pqformat.o pqpacket.o pqsignal.o util.o
|
|
|
|
|
2000-07-09 15:14:19 +02:00
|
|
|
# This location might depend on the installation directories. Therefore
|
|
|
|
# we can't subsitute it into config.h.
|
|
|
|
ifdef krb_srvtab
|
|
|
|
CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"'
|
|
|
|
endif
|
|
|
|
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
all: SUBSYS.o
|
|
|
|
|
|
|
|
SUBSYS.o: $(OBJS)
|
1999-12-13 23:35:27 +01:00
|
|
|
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
depend dep:
|
1998-04-06 02:32:26 +02:00
|
|
|
$(CC) -MM $(CFLAGS) *.c >depend
|
1996-10-27 10:55:05 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
|
|
include depend
|
|
|
|
endif
|
|
|
|
|