@ -121,12 +121,18 @@ install: all installdirs install-lib
$( INSTALL_DATA) $( srcdir) /libpq-int.h '$(DESTDIR)$(includedir_internal)'
$( INSTALL_DATA) $( srcdir) /libpq-int.h '$(DESTDIR)$(includedir_internal)'
$( INSTALL_DATA) $( srcdir) /pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
$( INSTALL_DATA) $( srcdir) /pqexpbuffer.h '$(DESTDIR)$(includedir_internal)'
$( INSTALL_DATA) $( srcdir) /pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
$( INSTALL_DATA) $( srcdir) /pg_service.conf.sample '$(DESTDIR)$(datadir)/pg_service.conf.sample'
i f n e q ( , $ f i n d s t r i n g ( $( PORTNAME ) , w i n 3 2 c y g w i n ) )
$( INSTALL_DATA) $( shlib) '$(DESTDIR)$(bindir)/$(shlib)'
e n d i f
installcheck :
installcheck :
$( MAKE) -C test $@
$( MAKE) -C test $@
installdirs : installdirs -lib
installdirs : installdirs -lib
$( MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)' '$(DESTDIR)$(datadir)'
$( MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(includedir_internal)' '$(DESTDIR)$(datadir)'
i f n e q ( , $ f i n d s t r i n g ( $( PORTNAME ) , w i n 3 2 c y g w i n ) )
$( MKDIR_P) '$(DESTDIR)$(bindir)'
e n d i f
uninstall : uninstall -lib
uninstall : uninstall -lib
rm -f '$(DESTDIR)$(includedir)/libpq-fe.h'
rm -f '$(DESTDIR)$(includedir)/libpq-fe.h'
@ -134,6 +140,9 @@ uninstall: uninstall-lib
rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
rm -f '$(DESTDIR)$(includedir_internal)/libpq-int.h'
rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
rm -f '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h'
rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'
rm -f '$(DESTDIR)$(datadir)/pg_service.conf.sample'
i f n e q ( , $ f i n d s t r i n g ( $( PORTNAME ) , w i n 3 2 c y g w i n ) )
rm -f '$(DESTDIR)$(bindir)/$(shlib)'
e n d i f
clean distclean : clean -lib
clean distclean : clean -lib
$( MAKE) -C test $@
$( MAKE) -C test $@