Try to make makefile actually work ...
This commit is contained in:
parent
17f9913922
commit
d6198ee3a5
|
@ -2,30 +2,14 @@
|
||||||
# Makefile for integer aggregator
|
# Makefile for integer aggregator
|
||||||
# Copyright (C) 2001 Digital Music Network.
|
# Copyright (C) 2001 Digital Music Network.
|
||||||
# by Mark L. Woodward
|
# by Mark L. Woodward
|
||||||
#
|
# $Header: /cvsroot/pgsql/contrib/intagg/Makefile,v 1.3 2002/02/25 04:16:58 tgl Exp $
|
||||||
|
|
||||||
subdir = contrib/intagg
|
subdir = contrib/intagg
|
||||||
top_builddir = ../..
|
top_builddir = ../..
|
||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
NAME=int_aggregate
|
|
||||||
SONAME = $(NAME)$(DLSUFFIX)
|
|
||||||
MODULES = int_aggregate
|
MODULES = int_aggregate
|
||||||
DATA_built = int_aggregate.so
|
DATA_built = int_aggregate.sql
|
||||||
DOCS = README.int_aggregate
|
DOCS = README.int_aggregate
|
||||||
SQLS=int_aggregate.sql
|
|
||||||
|
|
||||||
include $(top_srcdir)/contrib/contrib-global.mk
|
include $(top_srcdir)/contrib/contrib-global.mk
|
||||||
|
|
||||||
%.sql: %.sql.in
|
|
||||||
sed 's,MODULE_FILENAME,$$libdir/$(NAME),g' $< >$@
|
|
||||||
|
|
||||||
all : $(SONAME) $(SQLS)
|
|
||||||
|
|
||||||
|
|
||||||
install : all
|
|
||||||
$(INSTALL_SHLIB) $(SONAME) $(DESTDIR)$(pkglibdir)
|
|
||||||
|
|
||||||
|
|
||||||
clean :
|
|
||||||
rm -f $(SONAME)
|
|
||||||
rm -f $(SQLS)
|
|
||||||
|
|
Loading…
Reference in New Issue