~ubuntu-branches/ubuntu/trusty/nginx/trusty-proposed

« back to all changes in this revision

Viewing changes to auto/lib/pcre/makefile.bcc

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry
  • Date: 2013-04-25 12:51:45 UTC
  • mfrom: (1.3.28)
  • mto: (1.3.29) (15.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 64.
  • Revision ID: package-import@ubuntu.com-20130425125145-ugl0wor6bq0u5eae
Tags: upstream-1.4.0
ImportĀ upstreamĀ versionĀ 1.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
# Copyright (C) Igor Sysoev
 
3
# Copyright (C) Nginx, Inc.
3
4
 
4
5
 
5
6
CFLAGS =        -q -O2 -tWM -w-8004 $(CPU_OPT)
6
 
PCREFLAGS =     -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
7
 
 
8
 
 
9
 
pcre.lib:       pcre.h
10
 
        bcc32 -q -edftables dftables.c
11
 
 
12
 
        dftables > chartables.c
13
 
 
14
 
        bcc32 -c $(CFLAGS) $(PCREFLAGS) maketables.c get.c study.c pcre.c
15
 
 
16
 
        tlib pcre.lib +maketables.obj +get.obj +study.obj +pcre.obj
 
7
PCREFLAGS =     -DHAVE_CONFIG_H -DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
 
8
 
 
9
 
 
10
pcre.lib:
 
11
        cd $(PCRE)
 
12
 
 
13
        bcc32 -c $(CFLAGS) -I. $(PCREFLAGS) pcre_*.c
 
14
 
 
15
        > pcre.lst
 
16
        for %n in (*.obj) do @echo +%n & >> pcre.lst
 
17
        echo + >> pcre.lst
 
18
 
 
19
        tlib pcre.lib @pcre.lst
17
20
 
18
21
pcre.h:
19
 
        patch -o pcre.h pcre.in patch.pcre.in
20
 
        patch -o config.h config.in patch.config.in
21
 
        patch -o pcre.c pcre.c patch.pcre.c
 
22
        cd $(PCRE)
 
23
 
 
24
        copy /y pcre.h.generic pcre.h
 
25
        copy /y config.h.generic config.h
 
26
        copy /y pcre_chartables.c.dist pcre_chartables.c