##########################################################################
-all: submake-libpgport submake-catalog-headers submake-utils-headers postgres $(POSTGRES_IMP)
+all: submake-libpgport submake-catalog-headers submake-utils-headers postgres
ifneq ($(PORTNAME), cygwin)
ifneq ($(PORTNAME), win32)
$(call install_llvm_module,postgres,$(call expand_subsys, $(filter-out $(top_builddir)/src/timezone/objfiles.txt, $(SUBDIROBJS))))
endif
-install-bin: postgres $(POSTGRES_IMP) installdirs
+install-bin: postgres installdirs
$(INSTALL_PROGRAM) postgres$(X) '$(DESTDIR)$(bindir)/postgres$(X)'
-ifeq ($(MAKE_EXPORTS), true)
- $(INSTALL_DATA) $(POSTGRES_IMP) '$(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)'
- $(INSTALL_PROGRAM) $(MKLDEXPORT) '$(DESTDIR)$(pgxsdir)/$(MKLDEXPORT_DIR)/mkldexport.sh'
-endif
.PHONY: install-bin
$(MKDIR_P) '$(DESTDIR)$(libdir)'
endif
endif
-ifeq ($(MAKE_EXPORTS), true)
- $(MKDIR_P) '$(DESTDIR)$(pkglibdir)'
- $(MKDIR_P) '$(DESTDIR)$(pgxsdir)/$(MKLDEXPORT_DIR)'
-endif
##########################################################################
uninstall:
rm -f '$(DESTDIR)$(bindir)/postgres$(X)'
-ifeq ($(MAKE_EXPORTS), true)
- rm -f '$(DESTDIR)$(pkglibdir)/$(POSTGRES_IMP)'
- rm -f '$(DESTDIR)$(pgxsdir)/$(MKLDEXPORT_DIR)/mkldexport.sh'
-endif
ifeq ($(PORTNAME), cygwin)
ifeq ($(MAKE_DLL), true)
rm -f '$(DESTDIR)$(libdir)/libpostgres.a'
##########################################################################
clean:
- rm -f $(LOCALOBJS) postgres$(X) $(POSTGRES_IMP)
+ rm -f $(LOCALOBJS) postgres$(X)
ifeq ($(PORTNAME), cygwin)
rm -f postgres.dll libpostgres.a
endif