Makefile.in
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:1k
源码类别:

数据库系统

开发平台:

Unix_Linux

  1. #-------------------------------------------------------------------------
  2. #
  3. # Makefile
  4. #    Makefile for ecpg library
  5. #
  6. # Copyright (c) 1994, Regents of the University of California
  7. #
  8. # IDENTIFICATION
  9. #    $Header: /usr/local/cvsroot/pgsql/src/interfaces/ecpg/lib/Makefile.in,v 1.44 1999/06/30 23:57:23 tgl Exp $
  10. #
  11. #-------------------------------------------------------------------------
  12. NAME= ecpg
  13. SO_MAJOR_VERSION= 3
  14. SO_MINOR_VERSION= 0.0
  15. SRCDIR= @top_srcdir@
  16. include $(SRCDIR)/Makefile.global
  17. CFLAGS+= -I../include -I$(SRCDIR)/interfaces/libpq
  18. ifdef KRBVERS
  19. CFLAGS+= $(KRBFLAGS)
  20. endif
  21. OBJS= ecpglib.o typename.o
  22. SHLIB_LINK= -L../../libpq -lpq
  23. # Shared library stuff, also default 'all' target
  24. include $(SRCDIR)/Makefile.shlib
  25. .PHONY: install
  26. install: install-lib $(install-shlib-dep)
  27. # Handmade dependencies in case make depend not done
  28. ecpglib.o : ecpglib.c ../include/ecpglib.h ../include/ecpgtype.h
  29. typename.o : typename.c ../include/ecpgtype.h
  30. .PHONY: clean
  31. clean: clean-shlib
  32. rm -f lib$(NAME).a $(OBJS)
  33. ifeq ($(PORTNAME), win)
  34. rm -f $(NAME).def
  35. endif
  36. depend dep:
  37. $(CC) -MM $(CFLAGS) *.c >depend
  38. ifeq (depend,$(wildcard depend))
  39. include depend
  40. endif