mirror of https://github.com/postgres/postgres
one place. Everything may be moved to src/utils eventually. Add DLLINIT variable to simplify makfiles.REL7_3_STABLE
parent
d76eef3e7c
commit
3cbb9eb265
@ -1,34 +0,0 @@ |
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Makefile for utils
|
||||
#
|
||||
# $Header: /cvsroot/pgsql/src/utils/Attic/Makefile,v 1.12 2002/07/15 23:32:28 momjian Exp $
|
||||
#
|
||||
# About strdup: Some systems have strdup in their standard library, others
|
||||
# don't. Ones that don't will use this make file to compile the strdup.c
|
||||
# in this directory. (You don't see strdup mentioned because the implicit
|
||||
# rule does the job). We don't make strdup.o unless asked to explicitly
|
||||
# because the strdup.c in this directory may conflict with the strdup()
|
||||
# prototype from the system library and cause a compile error.
|
||||
#
|
||||
# dllinit.o is only built on Win32 platform.
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
subdir = src/utils
|
||||
top_builddir = ../..
|
||||
include $(top_builddir)/src/Makefile.global |
||||
|
||||
all: |
||||
# Nothing required here. These C files are compiled in
|
||||
# directories as needed.
|
||||
|
||||
clean distclean maintainer-clean: |
||||
rm -f dllinit.o strdup.o
|
||||
|
||||
depend dep: |
||||
$(CC) $(CFLAGS) -MM *.c >depend
|
||||
|
||||
ifeq (depend,$(wildcard depend)) |
||||
include depend |
||||
endif |
@ -1,6 +0,0 @@ |
||||
The utils directory contains components that are used by multiple subsystems |
||||
in the Postgres source tree. We don't want subsystems reaching into other |
||||
subsystems' directories and messing with the modularity of the system, so |
||||
we gather any cross-subsystem utilities here. |
||||
|
||||
In particular, programs that form an interface between subsystems go here. |
Loading…
Reference in new issue