1 # -*- Makefile -*- for gettext-tools/src
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
31 !if !defined(IIPREFIX)
35 # Directories used by "make install":
37 exec_prefix = $(prefix)
38 bindir = $(exec_prefix)\bin
39 libdir = $(exec_prefix)\lib
40 includedir = $(prefix)\include
41 datadir = $(prefix)\share
42 localedir = $(datadir)\locale
44 jardir = $(datadir)\gettext
45 pkgdatadir = $(datadir)\gettext
46 projectsdir = $(pkgdatadir)\projects
47 IIprefix = $(IIPREFIX)
48 IIexec_prefix = $(IIprefix)
49 IIbindir = $(IIexec_prefix)\\bin
50 IIlibdir = $(IIexec_prefix)\\lib
51 IIincludedir = $(IIprefix)\\include
52 IIdatadir = $(IIprefix)\\share
53 IIlocaledir = $(IIdatadir)\\locale
55 IIjardir = $(IIdatadir)\\gettext
56 IIpkgdatadir = $(IIdatadir)\\gettext
57 IIprojectsdir = $(IIpkgdatadir)\\projects
59 # Programs used by "make":
63 # Set to -W3 if you want to see maximum amount of warnings, including stupid
64 # ones. Set to -W1 to avoid warnings about signed/unsigned combinations.
70 # "-GD" (msvc5) optimizes for DLL.
71 # mscv4 doesn't know about this flag and ignores it.
79 # Some people prefer -O2 -G6 instead of -O1, but -O2 is not reliable in MSVC5.
80 OPTIMFLAGS = -D_NDEBUG -O1
84 CFLAGS = $(MFLAGS) $(WARN_CFLAGS) $(OPTIMFLAGS) -DHAVE_CONFIG_H -DLOCALEDIR=\"$(IIlocaledir)\" -DLOCALE_ALIAS_PATH=\"$(IIaliaspath)\" -DGETTEXTJAR=\"$(IIjardir)\\gettext.jar\" -DLIBDIR=\"$(IIlibdir)\" -DGETTEXTDATADIR=\"$(IIpkgdatadir)\" -DPROJECTSDIR=\"$(IIprojectsdir)\"
86 INCLUDES = -I. -I.. -I..\libgrep -I..\libuniname -I..\lib -I..\intl -I..\..\gettext-runtime\intl -I..\windows -I$(includedir)
94 # Programs used by "make install":
96 INSTALL_PROGRAM = copy
99 #### End of system configuration section. ####
104 msgcmp.exe msgfmt.exe msgmerge.exe msgunfmt.exe xgettext.exe \
105 msgattrib.exe msgcat.exe msgcomm.exe msgconv.exe msgen.exe msgexec.exe msgfilter.exe msggrep.exe msginit.exe msguniq.exe
110 read-po-abstract.obj \
114 read-properties.obj \
115 read-stringtable.obj \
120 write-properties.obj \
121 write-stringtable.obj \
148 format-perl-brace.obj \
150 format-gcc-internal.obj \
153 msgcmp_OBJECTS = msgcmp.obj
154 msgfmt_OBJECTS = msgfmt.obj write-mo.obj write-java.obj write-csharp.obj write-resources.obj write-tcl.obj write-qt.obj plural-eval.obj
155 msgmerge_OBJECTS = msgmerge.obj plural-count.obj
156 msgunfmt_OBJECTS = msgunfmt.obj read-mo.obj read-java.obj read-csharp.obj read-resources.obj read-tcl.obj
157 xgettext_OBJECTS = xgettext.obj x-c.obj x-po.obj x-sh.obj x-python.obj x-lisp.obj x-elisp.obj x-librep.obj x-scheme.obj x-smalltalk.obj x-java.obj x-csharp.obj x-awk.obj x-ycp.obj x-tcl.obj x-perl.obj x-php.obj x-rst.obj x-glade.obj
158 msgattrib_OBJECTS = msgattrib.obj
159 msgcat_OBJECTS = msgcat.obj
160 msgcomm_OBJECTS = msgcomm.obj
161 msgconv_OBJECTS = msgconv.obj
162 msgen_OBJECTS = msgen.obj
163 msgexec_OBJECTS = msgexec.obj
164 msgfilter_OBJECTS = msgfilter.obj
165 msggrep_OBJECTS = msggrep.obj
166 msginit_OBJECTS = msginit.obj plural-count.obj localealias.obj
167 msguniq_OBJECTS = msguniq.obj
170 RESOURCES = gettextsrc.res
172 all : gettextsrc.lib $(PROGRAMS) gettextpo.lib
174 # Compilation rules for $(OBJECTS), with $(PICFLAGS).
176 message.obj : message.c
177 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c message.c
179 po-error.obj : po-error.c
180 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c -Tp po-error.c
182 read-po-abstract.obj : read-po-abstract.c
183 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c read-po-abstract.c
185 po-lex.obj : po-lex.c
186 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c po-lex.c
188 po-gram-gen.obj : po-gram-gen.c
189 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c po-gram-gen.c
191 po-charset.obj : po-charset.c
192 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c po-charset.c
194 read-properties.obj : read-properties.c
195 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c read-properties.c
197 read-stringtable.obj : read-stringtable.c
198 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c read-stringtable.c
200 open-po.obj : open-po.c
201 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c open-po.c
203 dir-list.obj : dir-list.c
204 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c dir-list.c
206 str-list.obj : str-list.c
207 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c str-list.c
209 read-po.obj : read-po.c
210 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c read-po.c
212 write-properties.obj : write-properties.c
213 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c write-properties.c
215 write-stringtable.obj : write-stringtable.c
216 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c write-stringtable.c
218 write-po.obj : write-po.c
219 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c write-po.c
221 msgl-ascii.obj : msgl-ascii.c
222 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-ascii.c
224 msgl-iconv.obj : msgl-iconv.c
225 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-iconv.c
227 msgl-equal.obj : msgl-equal.c
228 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-equal.c
230 msgl-cat.obj : msgl-cat.c
231 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-cat.c
233 msgl-english.obj : msgl-english.c
234 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-english.c
236 file-list.obj : file-list.c
237 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c file-list.c
239 msgl-charset.obj : msgl-charset.c
240 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-charset.c
242 po-time.obj : po-time.c
243 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c po-time.c
245 plural.obj : plural.c
246 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c plural.c
248 plural-table.obj : plural-table.c
249 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c plural-table.c
251 format.obj : format.c
252 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c -Tp format.c
254 format-c.obj : format-c.c
255 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-c.c
257 format-sh.obj : format-sh.c
258 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-sh.c
260 format-python.obj : format-python.c
261 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-python.c
263 format-lisp.obj : format-lisp.c
264 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-lisp.c
266 format-elisp.obj : format-elisp.c
267 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-elisp.c
269 format-librep.obj : format-librep.c
270 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-librep.c
272 format-scheme.obj : format-scheme.c
273 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-scheme.c
275 format-java.obj : format-java.c
276 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-java.c
278 format-csharp.obj : format-csharp.c
279 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-csharp.c
281 format-awk.obj : format-awk.c
282 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-awk.c
284 format-pascal.obj : format-pascal.c
285 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-pascal.c
287 format-ycp.obj : format-ycp.c
288 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-ycp.c
290 format-tcl.obj : format-tcl.c
291 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-tcl.c
293 format-perl.obj : format-perl.c
294 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-perl.c
296 format-perl-brace.obj : format-perl-brace.c
297 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-perl-brace.c
299 format-php.obj : format-php.c
300 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-php.c
302 format-gcc-internal.obj : format-gcc-internal.c
303 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-gcc-internal.c
305 format-qt.obj : format-qt.c
306 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c format-qt.c
310 gettextsrc.lib : $(OBJECTS)
311 -$(RM) gettextsrc.lib
312 $(AR) $(AR_FLAGS)gettextsrc.lib $(OBJECTS)
316 # gettextsrc.dll and gettextsrc.lib are created together.
317 gettextsrc.lib : ..\windows\gettextsrc.def $(OBJECTS) $(RESOURCES)
318 $(CC) $(MFLAGS) $(DEBUGFLAGS) -LD ..\windows\gettextsrc.def $(OBJECTS) ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(RESOURCES) -Fegettextsrc.dll
320 gettextsrc.res : ../windows/gettextsrc.rc
321 rc -Fo gettextsrc.res ../windows/gettextsrc.rc
325 # Compilation rules for $(program_OBJECTS), without $(PICFLAGS).
327 msgcmp.obj : msgcmp.c
328 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c msgcmp.c
330 msgfmt.obj : msgfmt.c
331 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c msgfmt.c
333 write-mo.obj : write-mo.c
334 $(CC) $(INCLUDES) $(CFLAGS) -c write-mo.c
336 write-java.obj : write-java.c
337 $(CC) $(INCLUDES) $(CFLAGS) -c write-java.c
339 write-csharp.obj : write-csharp.c
340 $(CC) $(INCLUDES) $(CFLAGS) -c write-csharp.c
342 write-resources.obj : write-resources.c
343 $(CC) $(INCLUDES) $(CFLAGS) -c write-resources.c
345 write-tcl.obj : write-tcl.c
346 $(CC) $(INCLUDES) $(CFLAGS) -c write-tcl.c
348 write-qt.obj : write-qt.c
349 $(CC) $(INCLUDES) $(CFLAGS) -c write-qt.c
351 plural-eval.obj : plural-eval.c
352 $(CC) $(INCLUDES) $(CFLAGS) -c plural-eval.c
354 msgmerge.obj : msgmerge.c
355 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgmerge.c
357 plural-count.obj : plural-count.c
358 $(CC) $(INCLUDES) $(CFLAGS) -c plural-count.c
360 msgunfmt.obj : msgunfmt.c
361 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c msgunfmt.c
363 read-mo.obj : read-mo.c
364 $(CC) $(INCLUDES) $(CFLAGS) -c read-mo.c
366 read-java.obj : read-java.c
367 $(CC) $(INCLUDES) $(CFLAGS) -c read-java.c
369 read-csharp.obj : read-csharp.c
370 $(CC) $(INCLUDES) $(CFLAGS) -c read-csharp.c
372 read-resources.obj : read-resources.c
373 $(CC) $(INCLUDES) $(CFLAGS) -c read-resources.c
375 read-tcl.obj : read-tcl.c
376 $(CC) $(INCLUDES) $(CFLAGS) -c read-tcl.c
378 xgettext.obj : xgettext.c
379 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp xgettext.c
382 $(CC) $(INCLUDES) $(CFLAGS) -c x-c.c
385 $(CC) $(INCLUDES) $(CFLAGS) -c x-po.c
388 $(CC) $(INCLUDES) $(CFLAGS) -c x-sh.c
390 x-python.obj : x-python.c
391 $(CC) $(INCLUDES) $(CFLAGS) -c x-python.c
393 x-lisp.obj : x-lisp.c
394 $(CC) $(INCLUDES) $(CFLAGS) -c x-lisp.c
396 x-elisp.obj : x-elisp.c
397 $(CC) $(INCLUDES) $(CFLAGS) -c x-elisp.c
399 x-librep.obj : x-librep.c
400 $(CC) $(INCLUDES) $(CFLAGS) -c x-librep.c
402 x-scheme.obj : x-scheme.c
403 $(CC) $(INCLUDES) $(CFLAGS) -c x-scheme.c
405 x-smalltalk.obj : x-smalltalk.c
406 $(CC) $(INCLUDES) $(CFLAGS) -c x-smalltalk.c
408 x-java.obj : x-java.c
409 $(CC) $(INCLUDES) $(CFLAGS) -c x-java.c
411 x-csharp.obj : x-csharp.c
412 $(CC) $(INCLUDES) $(CFLAGS) -c x-csharp.c
415 $(CC) $(INCLUDES) $(CFLAGS) -c x-awk.c
418 $(CC) $(INCLUDES) $(CFLAGS) -c x-ycp.c
421 $(CC) $(INCLUDES) $(CFLAGS) -c x-tcl.c
423 x-perl.obj : x-perl.c
424 $(CC) $(INCLUDES) $(CFLAGS) -c x-perl.c
427 $(CC) $(INCLUDES) $(CFLAGS) -c x-php.c
430 $(CC) $(INCLUDES) $(CFLAGS) -c x-rst.c
432 x-glade.obj : x-glade.c
433 $(CC) $(INCLUDES) $(CFLAGS) -c x-glade.c
435 msgattrib.obj : msgattrib.c
436 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgattrib.c
438 msgcat.obj : msgcat.c
439 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgcat.c
441 msgcomm.obj : msgcomm.c
442 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgcomm.c
444 msgconv.obj : msgconv.c
445 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgconv.c
448 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgen.c
450 msgexec.obj : msgexec.c
451 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c msgexec.c
453 msgfilter.obj : msgfilter.c
454 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msgfilter.c
456 msggrep.obj : msggrep.c
457 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msggrep.c
459 msginit.obj : msginit.c
460 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c msginit.c
462 localealias.obj : ..\..\gettext-runtime\intl\localealias.c
463 $(CC) $(INCLUDES) $(CFLAGS) -DLOCALE_ALIAS_PATH=\"$(IIaliaspath)\" -c ..\..\gettext-runtime\intl\localealias.c
465 msguniq.obj : msguniq.c
466 $(CC) $(INCLUDES) $(CFLAGS) -DINSTALLPREFIX=\"$(IIprefix)\" -DINSTALLDIR=\"$(IIbindir)\" -c -Tp msguniq.c
468 msgcmp.exe : $(msgcmp_OBJECTS)
469 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgcmp_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgcmp.exe
471 msgfmt.exe : $(msgfmt_OBJECTS)
472 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgfmt_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgfmt.exe
474 msgmerge.exe : $(msgmerge_OBJECTS)
475 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgmerge_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgmerge.exe
477 msgunfmt.exe : $(msgunfmt_OBJECTS)
478 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgunfmt_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgunfmt.exe
480 xgettext.exe : $(xgettext_OBJECTS)
481 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(xgettext_OBJECTS) ..\libuniname\uniname.lib gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Fexgettext.exe
483 msgattrib.exe : $(msgattrib_OBJECTS)
484 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgattrib_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgattrib.exe
486 msgcat.exe : $(msgcat_OBJECTS)
487 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgcat_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgcat.exe
489 msgcomm.exe : $(msgcomm_OBJECTS)
490 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgcomm_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgcomm.exe
492 msgconv.exe : $(msgconv_OBJECTS)
493 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgconv_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgconv.exe
495 msgen.exe : $(msgen_OBJECTS)
496 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgen_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgen.exe
498 msgexec.exe : $(msgexec_OBJECTS)
499 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgexec_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgexec.exe
501 msgfilter.exe : $(msgfilter_OBJECTS)
502 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgfilter_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgfilter.exe
504 msggrep.exe : $(msggrep_OBJECTS)
505 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msggrep_OBJECTS) ..\libgrep\grep.lib gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsggrep.exe
507 msginit.exe : $(msginit_OBJECTS)
508 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msginit_OBJECTS) ..\intl\localename.obj gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsginit.exe
510 msguniq.exe : $(msguniq_OBJECTS)
511 $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msguniq_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsguniq.exe
513 # Compilation rules for gettextpo.lib objects, with $(PICFLAGS).
515 gettext-po.obj : gettext-po.c
516 $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c gettext-po.c
520 gettextpo.lib : gettext-po.obj
522 $(AR) $(AR_FLAGS)gettextpo.lib gettext-po.obj
526 # gettextpo.dll and gettextpo.lib are created together.
527 gettextpo.lib : ..\windows\gettextpo.def gettext-po.obj gettextpo.res gettextsrc.lib
528 $(CC) $(MFLAGS) $(DEBUGFLAGS) -LD ..\windows\gettextpo.def gettext-po.obj gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib gettextpo.res -Fegettextpo.dll
530 gettextpo.res : ../windows/gettextpo.rc
531 rc -Fo gettextpo.res ../windows/gettextpo.rc
537 -mkdir $(exec_prefix)
540 $(INSTALL_DATA) gettextsrc.dll $(bindir)\gettextsrc.dll
542 $(INSTALL_PROGRAM) msgcmp.exe $(bindir)\msgcmp.exe
543 $(INSTALL_PROGRAM) msgfmt.exe $(bindir)\msgfmt.exe
544 $(INSTALL_PROGRAM) msgmerge.exe $(bindir)\msgmerge.exe
545 $(INSTALL_PROGRAM) msgunfmt.exe $(bindir)\msgunfmt.exe
546 $(INSTALL_PROGRAM) xgettext.exe $(bindir)\xgettext.exe
547 $(INSTALL_PROGRAM) msgattrib.exe $(bindir)\msgattrib.exe
548 $(INSTALL_PROGRAM) msgcat.exe $(bindir)\msgcat.exe
549 $(INSTALL_PROGRAM) msgcomm.exe $(bindir)\msgcomm.exe
550 $(INSTALL_PROGRAM) msgconv.exe $(bindir)\msgconv.exe
551 $(INSTALL_PROGRAM) msgen.exe $(bindir)\msgen.exe
552 $(INSTALL_PROGRAM) msgexec.exe $(bindir)\msgexec.exe
553 $(INSTALL_PROGRAM) msgfilter.exe $(bindir)\msgfilter.exe
554 $(INSTALL_PROGRAM) msggrep.exe $(bindir)\msggrep.exe
555 $(INSTALL_PROGRAM) msginit.exe $(bindir)\msginit.exe
556 $(INSTALL_PROGRAM) msguniq.exe $(bindir)\msguniq.exe
559 $(INSTALL_DATA) msgunfmt.tcl $(pkgdatadir)\msgunfmt.tcl
561 $(INSTALL_DATA) gettext-po.h $(includedir)\gettext-po.h
563 $(INSTALL_DATA) gettextpo.dll $(bindir)\gettextpo.dll
566 $(INSTALL_DATA) gettextpo.lib $(libdir)\gettextpo.lib
570 -mkdir $(exec_prefix)
581 $(RM) $(bindir)\gettextsrc.dll
583 $(RM) $(bindir)\msgcmp.exe
584 $(RM) $(bindir)\msgfmt.exe
585 $(RM) $(bindir)\msgmerge.exe
586 $(RM) $(bindir)\msgunfmt.exe
587 $(RM) $(bindir)\xgettext.exe
588 $(RM) $(bindir)\msgattrib.exe
589 $(RM) $(bindir)\msgcat.exe
590 $(RM) $(bindir)\msgcomm.exe
591 $(RM) $(bindir)\msgconv.exe
592 $(RM) $(bindir)\msgen.exe
593 $(RM) $(bindir)\msgexec.exe
594 $(RM) $(bindir)\msgfilter.exe
595 $(RM) $(bindir)\msggrep.exe
596 $(RM) $(bindir)\msginit.exe
597 $(RM) $(bindir)\msguniq.exe
598 $(RM) $(pkgdatadir)\msgunfmt.tcl
599 $(RM) $(includedir)\gettext-po.h
601 $(RM) $(bindir)\gettextpo.dll
603 $(RM) $(libdir)\gettextpo.lib
620 maintainer-clean : distclean