This repository has been archived on 2024-07-15. You can view files and clone it, but cannot push or open issues or pull requests.
hedera/plugin/pg/Makefile.am

41 lines
1021 B
Makefile
Raw Normal View History

2013-10-11 23:07:35 +00:00
include $(top_srcdir)/Makefile.decl
pg_lib_LTLIBRARIES = libdbpg.la
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I/usr/include/postgresql \
$(glib_CFLAGS)
libdbpg_la_LIBADD = \
$(glib_LIBS) \
$(top_builddir)/db/libdb.la \
-lpq
libdbpg_la_LDFLAGS = -avoid-version
libdbpg_la_SOURCES = \
db-pg.h \
db-pg.c
# FIXME error durante la ejecucion del parser:
# llama a la funcion Parse en gram.c de sql en vez de en db-pg-gram.c
# db-pg-parser.h \
# db-pg-parser.c
#lemonpath = $(top_builddir)/sql/parser
#db-pg-parser.c: $(SCAN) db-pg-gram.c
# $(ragel_v)$(RAGEL) -C -G2 -o db-pg-parser.c $(SCAN)
#db-pg-gram.h: db-pg-gram.c
#db-pg-gram.c: $(GRAM) $(lemonpath)/lemon
# $(lemon_v)$(lemonpath)/lemon -q $(GRAM)
#$(lemonpath)/lemon: $(lemonpath)/lemon.c $(lemonpath)/lempar.c
# $(CC) -o $(lemonpath)/lemon $(lemonpath)/lemon.c
#SCAN = db-pg-scan.rl
#GRAM = db-pg-gram.y
#CLEANFILES = db-pg-gram.c db-pg-gram.h db-pg-parser.c
install-data-hook:
rm -f $(DESTDIR)$(pg_libdir)/libdbpg.la
rm -f $(DESTDIR)$(pg_libdir)/libdbpg.a