]> granicus.if.org Git - postgresql/blob - src/backend/libpq/Makefile
f4ce69d9c9277eec70bc971417f1b49d7c3dc421
[postgresql] / src / backend / libpq / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for libpq subsystem (backend half of libpq interface)
5 #
6 # IDENTIFICATION
7 #    $Header: /cvsroot/pgsql/src/backend/libpq/Makefile,v 1.22 2000/07/09 13:14:05 petere Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 subdir = src/backend/libpq
12 top_builddir = ../..
13 include ../../Makefile.global
14
15 # be-fsstubs is here for historical reasons, probably belongs elsewhere
16
17 OBJS = be-fsstubs.o \
18         auth.o crypt.o hba.o password.o \
19         pqcomm.o pqformat.o pqpacket.o pqsignal.o util.o
20
21 # This location might depend on the installation directories. Therefore
22 # we can't subsitute it into config.h.
23 ifdef krb_srvtab
24 CPPFLAGS += -DPG_KRB_SRVTAB='"$(krb_srvtab)"'
25 endif
26
27
28 all: SUBSYS.o
29
30 SUBSYS.o: $(OBJS)
31         $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
32
33 depend dep:
34         $(CC) -MM $(CFLAGS) *.c >depend
35
36 clean: 
37         rm -f SUBSYS.o $(OBJS) 
38
39 ifeq (depend,$(wildcard depend))
40 include depend
41 endif
42