Makefile.in
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:1k
- #-------------------------------------------------------------------------
- #
- # Makefile.inc--
- # Makefile for bin/pg_dump
- #
- # Copyright (c) 1994, Regents of the University of California
- #
- #
- # IDENTIFICATION
- # $Header: /usr/local/cvsroot/pgsql/src/bin/pg_dump/Makefile.in,v 1.11 1999/01/17 06:19:05 momjian Exp $
- #
- #-------------------------------------------------------------------------
- SRCDIR= ../..
- include ../../Makefile.global
- OBJS= pg_dump.o common.o @STRDUP@
- CFLAGS+= -I$(LIBPQDIR)
- #
- # And where libpq goes, so goes the authentication stuff...
- #
- ifdef KRBVERS
- LDFLAGS+= $(KRBLIBS)
- CFLAGS+= $(KRBFLAGS)
- endif
- all: submake pg_dump
- pg_dump: $(OBJS) $(LIBPQDIR)/libpq.a
- $(CC) -o pg_dump -L$(LIBPQDIR) $(OBJS) -lpq $(LDFLAGS)
- ../../utils/strdup.o:
- $(MAKE) -C ../../utils strdup.o
- .PHONY: submake
- submake:
- $(MAKE) -C $(LIBPQDIR) libpq.a
- install: pg_dump
- $(INSTALL) $(INSTL_EXE_OPTS) pg_dump$(X) $(BINDIR)/pg_dump$(X)
- $(INSTALL) $(INSTL_EXE_OPTS) pg_dumpall $(BINDIR)/pg_dumpall
- $(INSTALL) $(INSTL_EXE_OPTS) pg_upgrade $(BINDIR)/pg_upgrade
- depend dep:
- $(CC) -MM $(CFLAGS) *.c >depend
- clean:
- rm -f pg_dump$(X) $(OBJS)
- ifeq (depend,$(wildcard depend))
- include depend
- endif