Makefile.win
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:0k
- CFLAGS+= -I/usr/local/include
- LDFLAGS+= -g
- DLLTOOL= dlltool
- DLLWRAP= dllwrap
- DLLLIBS=-L/usr/local/lib -L$(LIBDIR) -L$(SRCDIR)/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
- X=.exe
- MK_NO_LORDER=true
- MAKE_DLL=true
- #MAKE_DLL=false
- SHLIB_LINK=$(DLLLIBS)
- %.dll: %.o
- $(DLLTOOL) --export-all --output-def $*.def $<
- $(DLLWRAP) -o $@ --def $*.def $< $(SRCDIR)/utils/dllinit.o $(DLLLIBS)
- rm -f $*.def
- curdir:=$(shell pwd)
- ifeq ($(findstring backend,$(curdir)), backend)
- CFLAGS+= -DBUILDING_DLL=1
- endif