diff options
Diffstat (limited to 'src/utils/Makefile')
| -rw-r--r-- | src/utils/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/utils/Makefile b/src/utils/Makefile index 5a98b17aa1..7726144510 100644 --- a/src/utils/Makefile +++ b/src/utils/Makefile @@ -2,7 +2,7 @@ # # Makefile for utils # -# $PostgreSQL: pgsql/src/utils/Makefile,v 1.20 2003/11/29 19:52:15 pgsql Exp $ +# $PostgreSQL: pgsql/src/utils/Makefile,v 1.21 2004/07/30 12:26:40 petere Exp $ # # dllinit.o is only built on Win32 platform. # @@ -12,7 +12,21 @@ subdir = src/utils top_builddir = ../.. include $(top_builddir)/src/Makefile.global + +ifdef DLLINIT + all: +install: all installdirs + $(INSTALL_DATA) dllinit.o $(DESTDIR)$(pgxsdir)/$(subdir)/ + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(pgxsdir)/$(subdir) + +uninstall: + rm -f $(DESTDIR)$(pgxsdir)/$(subdir)/dllinit.o + clean distclean maintainer-clean: rm -f dllinit.o + +endif # not DLLINIT |
