You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.2 KiB

  1. #-------------------------------------------------------------------------
  2. #
  3. # Makefile for ecpg pgtypes library
  4. #
  5. # Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  6. # Portions Copyright (c) 1994, Regents of the University of California
  7. #
  8. # src/interfaces/ecpg/pgtypeslib/Makefile
  9. #
  10. #-------------------------------------------------------------------------
  11. subdir = src/interfaces/ecpg/pgtypeslib
  12. top_builddir = ../../../..
  13. include $(top_builddir)/src/Makefile.global
  14. PGFILEDESC = "pgtypes - library for data type mapping"
  15. NAME= pgtypes
  16. SO_MAJOR_VERSION= 3
  17. SO_MINOR_VERSION= $(MAJORVERSION)
  18. override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
  19. -DFRONTEND $(CPPFLAGS)
  20. override CFLAGS += $(PTHREAD_CFLAGS)
  21. SHLIB_LINK_INTERNAL = -lpgcommon_shlib -lpgport_shlib
  22. SHLIB_LINK += $(filter -lintl -lm, $(LIBS))
  23. SHLIB_EXPORTS = exports.txt
  24. OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \
  25. $(WIN32RES)
  26. all: all-lib
  27. # Shared library stuff
  28. include $(top_srcdir)/src/Makefile.shlib
  29. install: all installdirs install-lib
  30. installdirs: installdirs-lib
  31. uninstall: uninstall-lib
  32. clean distclean: clean-lib
  33. rm -f $(OBJS)
  34. maintainer-clean: distclean