File: sp-generate.mak

package info (click to toggle)
opensp 1.5.2-13
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 8,932 kB
  • ctags: 10,036
  • sloc: cpp: 65,784; ansic: 17,124; sh: 11,503; xml: 2,704; makefile: 926; perl: 561; yacc: 288; sed: 16
file content (73 lines) | stat: -rw-r--r-- 1,603 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# This is a Makefile for nmake that makes all the .cxx and .h files that
# are automatically generated.  It's too painful to do in the IDE.
# You'll need perl in your PATH to use this.

LANG=en

M4=m4
PERL=perl

GENSRCS=msggen.pl \
lib\entmgr_inst.cxx \
lib\xentmgr_inst.cxx \
lib\parser_inst.cxx \
lib\app_inst.cxx \
lib\arc_inst.cxx \
lib\ArcEngineMessages.h \
lib\EntityManagerMessages.h \
lib\CatalogMessages.h \
lib\MessageFormatterMessages.h \
lib\MessageReporterMessages.h \
lib\PosixStorageMessages.h \
lib\URLStorageMessages.h \
lib\WinInetStorageMessages.h \
lib\StdioStorageMessages.h \
lib\ParserMessages.h \
lib\ParserAppMessages.h \
lib\CmdLineAppMessages.h \
lib\EntityAppMessages.h \
nsgmls\nsgmls_inst.cxx \
nsgmls\RastEventHandlerMessages.h \
nsgmls\NsgmlsMessages.h \
spam\SpamMessages.h \
spam\spam_inst.cxx \
sx\SxMessages.h \
sx\XmlOutputMessages.h \
sx\sx_inst.cxx \
include\config.h

.SUFFIXES: .m4 .msg .pl .in

all: $(GENSRCS)


.m4.cxx:
	-del /f $@ 2> nul
	$(PERL) instmac.pl $< >$@
	attrib +r $@

{lib}.msg{lib}.h:
	-del /f $@ 2> nul
	$(PERL) -w msggen.pl -l libModule -t po\$(LANG).po $<
	attrib +r $@

{nsgmls}.msg{nsgmls}.h:
	-del /f $@ 2> nul
	$(PERL) -w msggen.pl -l appModule -t po\$(LANG).po $<
	attrib +r $@

{spam}.msg{spam}.h:
	-del /f $@ 2> nul
	$(PERL) -w msggen.pl -l appModule -t po\$(LANG).po $<
	attrib +r $@

{sx}.msg{sx}.h:
	-del /f $@ 2> nul
	$(PERL) -w msggen.pl -l appModule -t po\$(LANG).po $<
	attrib +r $@

include\config.h: include\config.h.old.in
	copy include\config.h.old.in include\config.h 

msggen.pl: msggen.pl.in
	copy msggen.pl.in msggen.pl