Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postgres/src/bin/psql/   (Postgres Database Version 18.4©)  Datei vom 11.4.2026 mit Größe 2 kB image not shown  

Quelle  Makefile  Sprache: unbekannt

 
#-------------------------------------------------------------------------
#
# Makefile for src/bin/psql
#
# Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# src/bin/psql/Makefile
#
#-------------------------------------------------------------------------

PGFILEDESC = "psql - the PostgreSQL interactive terminal"
PGAPPICON=win32

subdir = src/bin/psql
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

# make this available to TAP test scripts
export with_readline

REFDOCDIR= $(top_srcdir)/doc/src/sgml/ref

override CPPFLAGS := -I. -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS)
LDFLAGS_INTERNAL += -L$(top_builddir)/src/fe_utils -lpgfeutils $(libpq_pgport)

OBJS = java.lang.NullPointerException
 $(WIN32RES) java.lang.NullPointerException
 command.o java.lang.NullPointerException
 common.o java.lang.NullPointerException
 copy.o java.lang.NullPointerException
 crosstabview.o java.lang.NullPointerException
 describe.o java.lang.NullPointerException
 help.o java.lang.NullPointerException
 input.o java.lang.NullPointerException
 large_obj.o java.lang.NullPointerException
 mainloop.o java.lang.NullPointerException
 prompt.o java.lang.NullPointerException
 psqlscanslash.o java.lang.NullPointerException
 sql_help.o java.lang.NullPointerException
 startup.o java.lang.NullPointerException
 stringutils.o java.lang.NullPointerException
 tab-complete.o java.lang.NullPointerException
 variables.o


all: psql

psql: $(OBJS) | submake-libpq submake-libpgport submake-libpgfeutils
 $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)

help.o: sql_help.h

# See notes in src/backend/parser/Makefile about the following two rules
sql_help.c: sql_help.h
 touch $@

sql_help.h: create_help.pl $(wildcard $(REFDOCDIR)/*.sgml)
 $(PERL) $< --docdir $(REFDOCDIR) --basename $*

psqlscanslash.c: FLEXFLAGS = -Cfe -p -p
psqlscanslash.c: FLEX_NO_BACKUP=yes

tab-complete.c: gen_tabcomplete.pl tab-complete.in.c
 $(PERL) $^ --outfile $@

install: all installdirs
 $(INSTALL_PROGRAM) psql$(X) '$(DESTDIR)$(bindir)/psql$(X)'
 $(INSTALL_DATA) $(srcdir)/psqlrc.sample '$(DESTDIR)$(datadir)/psqlrc.sample'

installdirs:
 $(MKDIR_P) '$(DESTDIR)$(bindir)' '$(DESTDIR)$(datadir)'

uninstall:
 rm -f '$(DESTDIR)$(bindir)/psql$(X)' '$(DESTDIR)$(datadir)/psqlrc.sample'

clean distclean:
 rm -f psql$(X) $(OBJS) lex.backup
 rm -rf tmp_check
 rm -f sql_help.h sql_help.c psqlscanslash.c tab-complete.c

check:
 $(prove_check)

installcheck:
 $(prove_installcheck)

Messung V0.5 in Prozent
C=99 H=99 G=98

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-09-28]