1 # -*- Makefile -*- for gettext-runtime
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 mandir = $(datadir)\man
47 docdir = $(datadir)\doc\gettext
49 # Programs used by "make":
54 # Set to -W3 if you want to see maximum amount of warnings, including stupid
55 # ones. Set to -W1 to avoid warnings about signed/unsigned combinations.
61 # "-GD" (msvc5) optimizes for DLL.
62 # mscv4 doesn't know about this flag and ignores it.
69 # Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
70 OPTIMFLAGS = -D_NDEBUG -O1
76 # Programs used by "make install":
78 INSTALL_PROGRAM = copy
81 #### End of system configuration section. ####
87 $(MAKE) -f Makefile.msvc all
90 $(MAKE) -f Makefile.msvc all
93 $(MAKE) -f Makefile.msvc all
96 $(MAKE) -f Makefile.msvc all
99 $(MAKE) -f Makefile.msvc all
102 $(MAKE) -f Makefile.msvc all
105 $(MAKE) -f Makefile.msvc all
108 config.h : config.h.msvc
110 $(LN) config.h.msvc config.h
114 $(MAKE) -f Makefile.msvc install
117 $(MAKE) -f Makefile.msvc install
120 $(MAKE) -f Makefile.msvc install
123 $(MAKE) -f Makefile.msvc install
126 $(MAKE) -f Makefile.msvc install
129 $(MAKE) -f Makefile.msvc install
132 $(MAKE) -f Makefile.msvc install
137 $(MAKE) -f Makefile.msvc installdirs
140 $(MAKE) -f Makefile.msvc installdirs
143 $(MAKE) -f Makefile.msvc installdirs
146 $(MAKE) -f Makefile.msvc installdirs
149 $(MAKE) -f Makefile.msvc installdirs
152 $(MAKE) -f Makefile.msvc installdirs
155 $(MAKE) -f Makefile.msvc installdirs
160 $(MAKE) -f Makefile.msvc uninstall
163 $(MAKE) -f Makefile.msvc uninstall
166 $(MAKE) -f Makefile.msvc uninstall
169 $(MAKE) -f Makefile.msvc uninstall
172 $(MAKE) -f Makefile.msvc uninstall
175 $(MAKE) -f Makefile.msvc uninstall
178 $(MAKE) -f Makefile.msvc uninstall
183 $(MAKE) -f Makefile.msvc check
186 $(MAKE) -f Makefile.msvc check
189 $(MAKE) -f Makefile.msvc check
192 $(MAKE) -f Makefile.msvc check
195 $(MAKE) -f Makefile.msvc check
198 $(MAKE) -f Makefile.msvc check
201 $(MAKE) -f Makefile.msvc check
206 $(MAKE) -f Makefile.msvc mostlyclean
209 $(MAKE) -f Makefile.msvc mostlyclean
212 $(MAKE) -f Makefile.msvc mostlyclean
215 $(MAKE) -f Makefile.msvc mostlyclean
218 $(MAKE) -f Makefile.msvc mostlyclean
221 $(MAKE) -f Makefile.msvc mostlyclean
224 $(MAKE) -f Makefile.msvc mostlyclean
230 $(MAKE) -f Makefile.msvc clean
233 $(MAKE) -f Makefile.msvc clean
236 $(MAKE) -f Makefile.msvc clean
239 $(MAKE) -f Makefile.msvc clean
242 $(MAKE) -f Makefile.msvc clean
245 $(MAKE) -f Makefile.msvc clean
248 $(MAKE) -f Makefile.msvc clean
254 $(MAKE) -f Makefile.msvc distclean
257 $(MAKE) -f Makefile.msvc distclean
260 $(MAKE) -f Makefile.msvc distclean
263 $(MAKE) -f Makefile.msvc distclean
266 $(MAKE) -f Makefile.msvc distclean
269 $(MAKE) -f Makefile.msvc distclean
272 $(MAKE) -f Makefile.msvc distclean
275 $(RM) config.status config.log config.cache Makefile
277 maintainer-clean : force
279 $(MAKE) -f Makefile.msvc maintainer-clean
282 $(MAKE) -f Makefile.msvc maintainer-clean
285 $(MAKE) -f Makefile.msvc maintainer-clean
288 $(MAKE) -f Makefile.msvc maintainer-clean
291 $(MAKE) -f Makefile.msvc maintainer-clean
294 $(MAKE) -f Makefile.msvc maintainer-clean
297 $(MAKE) -f Makefile.msvc maintainer-clean
300 $(RM) config.status config.log config.cache Makefile