makefile.owc 484 B

12345678910111213141516171819202122232425
  1. # Copyright (C) Igor Sysoev
  2. # Copyright (C) Nginx, Inc.
  3. CFLAGS = -c -zq -bt=nt -ot -op -oi -oe -s -bm $(CPU_OPT)
  4. PCREFLAGS = -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10 &
  5. -DSUPPORT_PCRE8 -DHAVE_MEMMOVE
  6. pcre.lib:
  7. cd $(PCRE)
  8. wcl386 $(CFLAGS) -i=. $(PCREFLAGS) pcre_*.c
  9. dir /b *.obj > pcre.lst
  10. wlib -n pcre.lib @pcre.lst
  11. pcre.h:
  12. cd $(PCRE)
  13. copy /y pcre.h.generic pcre.h
  14. copy /y config.h.generic config.h
  15. copy /y pcre_chartables.c.dist pcre_chartables.c