# postgresql-debversion Makefile template # # # Copyright © 2004-2011 Roger Leigh # # postgresql-debversion is free software: you can redistribute it # and/or modify it under the terms of the GNU General Public License # as published by the Free Software Foundation, either version 3 of # the License, or (at your option) any later version. # # postgresql-debversion is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see # . # ##################################################################### pg_server_lib_LTLIBRARIES = \ debversion.la debversion_la_SOURCES = \ debversion.cc debversion_la_CFLAGS = -I$(pg_server_includedir) debversion_la_CXXFLAGS = -I$(pg_server_includedir) debversion_la_LDFLAGS = -module -avoid-version $(APT_PKG_LIBS) pg_extension_DATA = \ debversion.control \ debversion--unpackaged--1.0.5.sql \ debversion--1.0.5--1.0.6.sql \ debversion--1.0.6--1.0.7.sql \ debversion--1.0.7--1.0.8.sql \ debversion--$(VERSION).sql debversion--$(VERSION).sql: debversion.sql.in cp $< $@ CLEANFILES = \ debversion--$(VERSION).sql EXTRA_DIST = \ debversion--unpackaged--1.0.5.sql \ debversion--1.0.5--1.0.6.sql \ debversion--1.0.6--1.0.7.sql \ debversion--1.0.7--1.0.8.sql \ debversion.sql.in \ Makefile-pgxs