|
Packit |
8a864e |
# This is a Makefile for nmake that makes all the .cxx and .h files that
|
|
Packit |
8a864e |
# are automatically generated. It's too painful to do in the IDE.
|
|
Packit |
8a864e |
# You'll need perl in your PATH to use this.
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
LANG=en
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
M4=m4
|
|
Packit |
8a864e |
PERL=perl
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
GENSRCS=msggen.pl \
|
|
Packit |
8a864e |
lib\entmgr_inst.cxx \
|
|
Packit |
8a864e |
lib\xentmgr_inst.cxx \
|
|
Packit |
8a864e |
lib\parser_inst.cxx \
|
|
Packit |
8a864e |
lib\app_inst.cxx \
|
|
Packit |
8a864e |
lib\arc_inst.cxx \
|
|
Packit |
8a864e |
lib\ArcEngineMessages.h \
|
|
Packit |
8a864e |
lib\EntityManagerMessages.h \
|
|
Packit |
8a864e |
lib\CatalogMessages.h \
|
|
Packit |
8a864e |
lib\MessageFormatterMessages.h \
|
|
Packit |
8a864e |
lib\MessageReporterMessages.h \
|
|
Packit |
8a864e |
lib\PosixStorageMessages.h \
|
|
Packit |
8a864e |
lib\URLStorageMessages.h \
|
|
Packit |
8a864e |
lib\WinInetStorageMessages.h \
|
|
Packit |
8a864e |
lib\StdioStorageMessages.h \
|
|
Packit |
8a864e |
lib\ParserMessages.h \
|
|
Packit |
8a864e |
lib\ParserAppMessages.h \
|
|
Packit |
8a864e |
lib\CmdLineAppMessages.h \
|
|
Packit |
8a864e |
lib\EntityAppMessages.h \
|
|
Packit |
8a864e |
nsgmls\nsgmls_inst.cxx \
|
|
Packit |
8a864e |
nsgmls\RastEventHandlerMessages.h \
|
|
Packit |
8a864e |
nsgmls\NsgmlsMessages.h \
|
|
Packit |
8a864e |
spam\SpamMessages.h \
|
|
Packit |
8a864e |
spam\spam_inst.cxx \
|
|
Packit |
8a864e |
sx\SxMessages.h \
|
|
Packit |
8a864e |
sx\XmlOutputMessages.h \
|
|
Packit |
8a864e |
sx\sx_inst.cxx \
|
|
Packit |
8a864e |
include\config.h
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
.SUFFIXES: .m4 .msg .pl .in
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
all: $(GENSRCS)
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
.m4.cxx:
|
|
Packit |
8a864e |
-del /f $@ 2> nul
|
|
Packit |
8a864e |
$(PERL) instmac.pl $< >$@
|
|
Packit |
8a864e |
attrib +r $@
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
{lib}.msg{lib}.h:
|
|
Packit |
8a864e |
-del /f $@ 2> nul
|
|
Packit |
8a864e |
$(PERL) -w msggen.pl -l libModule -t po\$(LANG).po $<
|
|
Packit |
8a864e |
attrib +r $@
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
{nsgmls}.msg{nsgmls}.h:
|
|
Packit |
8a864e |
-del /f $@ 2> nul
|
|
Packit |
8a864e |
$(PERL) -w msggen.pl -l appModule -t po\$(LANG).po $<
|
|
Packit |
8a864e |
attrib +r $@
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
{spam}.msg{spam}.h:
|
|
Packit |
8a864e |
-del /f $@ 2> nul
|
|
Packit |
8a864e |
$(PERL) -w msggen.pl -l appModule -t po\$(LANG).po $<
|
|
Packit |
8a864e |
attrib +r $@
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
{sx}.msg{sx}.h:
|
|
Packit |
8a864e |
-del /f $@ 2> nul
|
|
Packit |
8a864e |
$(PERL) -w msggen.pl -l appModule -t po\$(LANG).po $<
|
|
Packit |
8a864e |
attrib +r $@
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
include\config.h: include\config.h.old.in
|
|
Packit |
8a864e |
copy include\config.h.old.in include\config.h
|
|
Packit |
8a864e |
|
|
Packit |
8a864e |
msggen.pl: msggen.pl.in
|
|
Packit |
8a864e |
copy msggen.pl.in msggen.pl
|