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

数据库系统

开发平台:

Unix_Linux

  1. CFLAGS+= -I/usr/local/include
  2. LDFLAGS+= -g
  3. DLLTOOL= dlltool
  4. DLLWRAP= dllwrap
  5. DLLLIBS=-L/usr/local/lib -L$(LIBDIR) -L$(SRCDIR)/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
  6. X=.exe
  7. MK_NO_LORDER=true
  8. MAKE_DLL=true
  9. #MAKE_DLL=false
  10. SHLIB_LINK=$(DLLLIBS)
  11. %.dll: %.o
  12. $(DLLTOOL) --export-all --output-def $*.def $<
  13. $(DLLWRAP) -o $@ --def $*.def $< $(SRCDIR)/utils/dllinit.o $(DLLLIBS)
  14. rm -f $*.def
  15. curdir:=$(shell pwd)
  16. ifeq ($(findstring backend,$(curdir)), backend)
  17. CFLAGS+= -DBUILDING_DLL=1
  18. endif