OLD | NEW |
1 # Makefile for libxslt, specific for Windows, MSVC and NMAKE. | 1 # Makefile for libxslt, specific for Windows, MSVC and NMAKE. |
2 # | 2 # |
3 # Take a look at the beginning and modify the variables to suit your | 3 # Take a look at the beginning and modify the variables to suit your |
4 # environment. Having done that, you can do a | 4 # environment. Having done that, you can do a |
5 # | 5 # |
6 # nmake [all] to build the libxslt and the accompanying utilities. | 6 # nmake [all] to build the libxslt and the accompanying utilities. |
7 # nmake clean to remove all compiler output files and return to a | 7 # nmake clean to remove all compiler output files and return to a |
8 # clean state. | 8 # clean state. |
9 # nmake rebuild to rebuild everything from scratch. This basically does | 9 # nmake rebuild to rebuild everything from scratch. This basically does |
10 # a 'nmake clean' and then a 'nmake all'. | 10 # a 'nmake clean' and then a 'nmake all'. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 UTILS_INTDIR = int.utils.msvc | 46 UTILS_INTDIR = int.utils.msvc |
47 | 47 |
48 # The preprocessor and its options. | 48 # The preprocessor and its options. |
49 CPP = cl.exe /EP | 49 CPP = cl.exe /EP |
50 CPPFLAGS = /nologo | 50 CPPFLAGS = /nologo |
51 | 51 |
52 # The compiler and its options. | 52 # The compiler and its options. |
53 CC = cl.exe | 53 CC = cl.exe |
54 CFLAGS = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W3 $(CRUNTIME) /D "_REENTR
ANT" | 54 CFLAGS = /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W3 $(CRUNTIME) /D "_REENTR
ANT" |
55 CFLAGS = $(CFLAGS) /I$(BASEDIR) /I$(XSLT_SRCDIR) /I$(INCPREFIX) | 55 CFLAGS = $(CFLAGS) /I$(BASEDIR) /I$(XSLT_SRCDIR) /I$(INCPREFIX) |
| 56 CFLAGS = $(CFLAGS) /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE |
56 | 57 |
57 # The linker and its options. | 58 # The linker and its options. |
58 LD = link.exe | 59 LD = link.exe |
59 LDFLAGS = /nologo | 60 LDFLAGS = /nologo |
60 LDFLAGS = $(LDFLAGS) /LIBPATH:$(BINDIR) /LIBPATH:$(LIBPREFIX) | 61 LDFLAGS = $(LDFLAGS) /LIBPATH:$(BINDIR) /LIBPATH:$(LIBPREFIX) |
61 LIBS = wsock32.lib | 62 LIBS = wsock32.lib |
62 | 63 |
63 # The archiver and its options. | 64 # The archiver and its options. |
64 AR = lib.exe | 65 AR = lib.exe |
65 ARFLAGS = /nologo | 66 ARFLAGS = /nologo |
(...skipping 17 matching lines...) Expand all Loading... |
83 $(XSLT_INTDIR)\keys.obj\ | 84 $(XSLT_INTDIR)\keys.obj\ |
84 $(XSLT_INTDIR)\namespaces.obj\ | 85 $(XSLT_INTDIR)\namespaces.obj\ |
85 $(XSLT_INTDIR)\numbers.obj\ | 86 $(XSLT_INTDIR)\numbers.obj\ |
86 $(XSLT_INTDIR)\pattern.obj\ | 87 $(XSLT_INTDIR)\pattern.obj\ |
87 $(XSLT_INTDIR)\preproc.obj\ | 88 $(XSLT_INTDIR)\preproc.obj\ |
88 $(XSLT_INTDIR)\security.obj\ | 89 $(XSLT_INTDIR)\security.obj\ |
89 $(XSLT_INTDIR)\templates.obj\ | 90 $(XSLT_INTDIR)\templates.obj\ |
90 $(XSLT_INTDIR)\transform.obj\ | 91 $(XSLT_INTDIR)\transform.obj\ |
91 $(XSLT_INTDIR)\variables.obj\ | 92 $(XSLT_INTDIR)\variables.obj\ |
92 $(XSLT_INTDIR)\xslt.obj\ | 93 $(XSLT_INTDIR)\xslt.obj\ |
| 94 $(XSLT_INTDIR)\xsltlocale.obj\ |
93 $(XSLT_INTDIR)\xsltutils.obj\ | 95 $(XSLT_INTDIR)\xsltutils.obj\ |
94 $(XSLT_INTDIR)\attrvt.obj | 96 $(XSLT_INTDIR)\attrvt.obj |
95 | 97 |
96 # Static libxslt object files. | 98 # Static libxslt object files. |
97 XSLT_OBJS_A = $(XSLT_INTDIR_A)\attributes.obj\ | 99 XSLT_OBJS_A = $(XSLT_INTDIR_A)\attributes.obj\ |
98 $(XSLT_INTDIR_A)\documents.obj\ | 100 $(XSLT_INTDIR_A)\documents.obj\ |
99 $(XSLT_INTDIR_A)\extensions.obj\ | 101 $(XSLT_INTDIR_A)\extensions.obj\ |
100 $(XSLT_INTDIR_A)\extra.obj\ | 102 $(XSLT_INTDIR_A)\extra.obj\ |
101 $(XSLT_INTDIR_A)\functions.obj\ | 103 $(XSLT_INTDIR_A)\functions.obj\ |
102 $(XSLT_INTDIR_A)\imports.obj\ | 104 $(XSLT_INTDIR_A)\imports.obj\ |
103 $(XSLT_INTDIR_A)\keys.obj\ | 105 $(XSLT_INTDIR_A)\keys.obj\ |
104 $(XSLT_INTDIR_A)\namespaces.obj\ | 106 $(XSLT_INTDIR_A)\namespaces.obj\ |
105 $(XSLT_INTDIR_A)\numbers.obj\ | 107 $(XSLT_INTDIR_A)\numbers.obj\ |
106 $(XSLT_INTDIR_A)\pattern.obj\ | 108 $(XSLT_INTDIR_A)\pattern.obj\ |
107 $(XSLT_INTDIR_A)\preproc.obj\ | 109 $(XSLT_INTDIR_A)\preproc.obj\ |
108 $(XSLT_INTDIR_A)\security.obj\ | 110 $(XSLT_INTDIR_A)\security.obj\ |
109 $(XSLT_INTDIR_A)\templates.obj\ | 111 $(XSLT_INTDIR_A)\templates.obj\ |
110 $(XSLT_INTDIR_A)\transform.obj\ | 112 $(XSLT_INTDIR_A)\transform.obj\ |
111 $(XSLT_INTDIR_A)\variables.obj\ | 113 $(XSLT_INTDIR_A)\variables.obj\ |
112 $(XSLT_INTDIR_A)\xslt.obj\ | 114 $(XSLT_INTDIR_A)\xslt.obj\ |
| 115 $(XSLT_INTDIR_A)\xsltlocale.obj\ |
113 $(XSLT_INTDIR_A)\xsltutils.obj\ | 116 $(XSLT_INTDIR_A)\xsltutils.obj\ |
114 $(XSLT_INTDIR_A)\attrvt.obj | 117 $(XSLT_INTDIR_A)\attrvt.obj |
115 | 118 |
116 # Libexslt object files. | 119 # Libexslt object files. |
117 EXSLT_OBJS = $(EXSLT_INTDIR)\common.obj\ | 120 EXSLT_OBJS = $(EXSLT_INTDIR)\common.obj\ |
118 $(EXSLT_INTDIR)\crypto.obj\ | 121 $(EXSLT_INTDIR)\crypto.obj\ |
119 $(EXSLT_INTDIR)\date.obj\ | 122 $(EXSLT_INTDIR)\date.obj\ |
120 $(EXSLT_INTDIR)\exslt.obj\ | 123 $(EXSLT_INTDIR)\exslt.obj\ |
121 $(EXSLT_INTDIR)\functions.obj\ | 124 $(EXSLT_INTDIR)\functions.obj\ |
122 $(EXSLT_INTDIR)\math.obj\ | 125 $(EXSLT_INTDIR)\math.obj\ |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 361 |
359 testplugin: | 362 testplugin: |
360 @echo "plugins are disabled with static=yes" | 363 @echo "plugins are disabled with static=yes" |
361 | 364 |
362 !endif | 365 !endif |
363 | 366 |
364 | 367 |
365 # Source dependences should be autogenerated somehow here, but how to | 368 # Source dependences should be autogenerated somehow here, but how to |
366 # do it? I have no clue. | 369 # do it? I have no clue. |
367 | 370 |
OLD | NEW |