1 # -*- Makefile -*- for gettext-tools
3 #### Start of system configuration section. ####
5 # Flags that can be set on the nmake command line:
6 # DLL=1 for compiling a .dll with a stub .lib (default is a static .lib)
7 # Note that this works only with MFLAGS=-MD.
8 # MFLAGS={-ML|-MT|-MD} for defining the compilation model
9 # MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
10 # MFLAGS=-MT Multi-threaded, statically linked - libcmt.lib
11 # MFLAGS=-MD Multi-threaded, dynamically linked - msvcrt.lib
12 # DEBUG=1 for compiling with debugging information
13 # PREFIX=Some\Directory Base directory for installation
14 # IIPREFIX=Some\\Directory Same thing with doubled backslashes
15 # Note that nmake command line flags are automatically passed to subdirectory
16 # Makefiles. Therefore we don't need to pass them explicitly to subdirectory
17 # Makefiles, but the subdirectory Makefiles need to have the same defaults.
34 !if !defined(IIPREFIX)
38 # Directories used by "make install":
40 exec_prefix = $(prefix)
41 bindir = $(exec_prefix)\bin
42 libdir = $(exec_prefix)\lib
43 includedir = $(prefix)\include
44 datadir = $(prefix)\share
45 localedir = $(datadir)\locale
46 pkgdatadir = $(datadir)\gettext
47 mandir = $(datadir)\man
48 docdir = $(datadir)\doc\gettext
49 emacsdir = $(datadir)\emacs
50 lispdir = $(emacsdir)\site-lisp
52 # Programs used by "make":
57 # Set to -W3 if you want to see maximum amount of warnings, including stupid
58 # ones. Set to -W1 to avoid warnings about signed/unsigned combinations.
64 # "-GD" (msvc5) optimizes for DLL.
65 # mscv4 doesn't know about this flag and ignores it.
72 # Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
73 OPTIMFLAGS = -D_NDEBUG -O1
79 # Programs used by "make install":
81 INSTALL_PROGRAM = copy
84 #### End of system configuration section. ####
91 $(MAKE) -f Makefile.msvc all
94 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl all
97 $(MAKE) -f Makefile.msvc all
100 $(MAKE) -f Makefile.msvc all
103 $(MAKE) -f Makefile.msvc all
106 $(MAKE) -f Makefile.msvc all
109 $(MAKE) -f Makefile.msvc all
112 $(MAKE) -f Makefile.msvc all
115 $(MAKE) -f Makefile.msvc all
118 $(MAKE) -f Makefile.msvc all
121 $(MAKE) -f Makefile.msvc all
124 $(MAKE) -f Makefile.msvc all
127 config.h : config.h.msvc
129 $(LN) config.h.msvc config.h
134 $(MAKE) -f Makefile.msvc install
137 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl install
140 $(MAKE) -f Makefile.msvc install
143 $(MAKE) -f Makefile.msvc install
146 $(MAKE) -f Makefile.msvc install
149 $(MAKE) -f Makefile.msvc install
152 $(MAKE) -f Makefile.msvc install
155 $(MAKE) -f Makefile.msvc install
158 $(MAKE) -f Makefile.msvc install
161 $(MAKE) -f Makefile.msvc install
164 $(MAKE) -f Makefile.msvc install
167 $(MAKE) -f Makefile.msvc install
173 $(MAKE) -f Makefile.msvc installdirs
176 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl installdirs
179 $(MAKE) -f Makefile.msvc installdirs
182 $(MAKE) -f Makefile.msvc installdirs
185 $(MAKE) -f Makefile.msvc installdirs
188 $(MAKE) -f Makefile.msvc installdirs
191 $(MAKE) -f Makefile.msvc installdirs
194 $(MAKE) -f Makefile.msvc installdirs
197 $(MAKE) -f Makefile.msvc installdirs
200 $(MAKE) -f Makefile.msvc installdirs
203 $(MAKE) -f Makefile.msvc installdirs
206 $(MAKE) -f Makefile.msvc installdirs
212 $(MAKE) -f Makefile.msvc uninstall
215 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl uninstall
218 $(MAKE) -f Makefile.msvc uninstall
221 $(MAKE) -f Makefile.msvc uninstall
224 $(MAKE) -f Makefile.msvc uninstall
227 $(MAKE) -f Makefile.msvc uninstall
230 $(MAKE) -f Makefile.msvc uninstall
233 $(MAKE) -f Makefile.msvc uninstall
236 $(MAKE) -f Makefile.msvc uninstall
239 $(MAKE) -f Makefile.msvc uninstall
242 $(MAKE) -f Makefile.msvc uninstall
245 $(MAKE) -f Makefile.msvc uninstall
251 $(MAKE) -f Makefile.msvc check
254 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl check
257 $(MAKE) -f Makefile.msvc check
260 $(MAKE) -f Makefile.msvc check
263 $(MAKE) -f Makefile.msvc check
266 $(MAKE) -f Makefile.msvc check
269 $(MAKE) -f Makefile.msvc check
272 $(MAKE) -f Makefile.msvc check
275 $(MAKE) -f Makefile.msvc check
278 $(MAKE) -f Makefile.msvc check
281 $(MAKE) -f Makefile.msvc check
284 $(MAKE) -f Makefile.msvc check
290 $(MAKE) -f Makefile.msvc mostlyclean
293 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl mostlyclean
296 $(MAKE) -f Makefile.msvc mostlyclean
299 $(MAKE) -f Makefile.msvc mostlyclean
302 $(MAKE) -f Makefile.msvc mostlyclean
305 $(MAKE) -f Makefile.msvc mostlyclean
308 $(MAKE) -f Makefile.msvc mostlyclean
311 $(MAKE) -f Makefile.msvc mostlyclean
314 $(MAKE) -f Makefile.msvc mostlyclean
317 $(MAKE) -f Makefile.msvc mostlyclean
320 $(MAKE) -f Makefile.msvc mostlyclean
323 $(MAKE) -f Makefile.msvc mostlyclean
330 $(MAKE) -f Makefile.msvc clean
333 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl clean
336 $(MAKE) -f Makefile.msvc clean
339 $(MAKE) -f Makefile.msvc clean
342 $(MAKE) -f Makefile.msvc clean
345 $(MAKE) -f Makefile.msvc clean
348 $(MAKE) -f Makefile.msvc clean
351 $(MAKE) -f Makefile.msvc clean
354 $(MAKE) -f Makefile.msvc clean
357 $(MAKE) -f Makefile.msvc clean
360 $(MAKE) -f Makefile.msvc clean
363 $(MAKE) -f Makefile.msvc clean
370 $(MAKE) -f Makefile.msvc distclean
373 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl distclean
376 $(MAKE) -f Makefile.msvc distclean
379 $(MAKE) -f Makefile.msvc distclean
382 $(MAKE) -f Makefile.msvc distclean
385 $(MAKE) -f Makefile.msvc distclean
388 $(MAKE) -f Makefile.msvc distclean
391 $(MAKE) -f Makefile.msvc distclean
394 $(MAKE) -f Makefile.msvc distclean
397 $(MAKE) -f Makefile.msvc distclean
400 $(MAKE) -f Makefile.msvc distclean
403 $(MAKE) -f Makefile.msvc distclean
406 $(RM) config.status config.log config.cache Makefile
408 maintainer-clean : force
411 $(MAKE) -f Makefile.msvc maintainer-clean
414 $(MAKE) -f ..\..\gettext-runtime\intl\Makefile.msvc srcdir=..\..\gettext-runtime\intl maintainer-clean
417 $(MAKE) -f Makefile.msvc maintainer-clean
420 $(MAKE) -f Makefile.msvc maintainer-clean
423 $(MAKE) -f Makefile.msvc maintainer-clean
426 $(MAKE) -f Makefile.msvc maintainer-clean
429 $(MAKE) -f Makefile.msvc maintainer-clean
432 $(MAKE) -f Makefile.msvc maintainer-clean
435 $(MAKE) -f Makefile.msvc maintainer-clean
438 $(MAKE) -f Makefile.msvc maintainer-clean
441 $(MAKE) -f Makefile.msvc maintainer-clean
444 $(MAKE) -f Makefile.msvc maintainer-clean
447 $(RM) config.status config.log config.cache Makefile