File: sp-generate.mak

package info (click to toggle)
jade 1.2.1-47
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze
  • size: 8,804 kB
  • ctags: 16,991
  • sloc: cpp: 120,658; sh: 10,522; ansic: 8,228; perl: 378; makefile: 292; sed: 5
file content (68 lines) | stat: -rw-r--r-- 1,334 bytes parent folder | download | duplicates (9)
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
# 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 m4 and perl to use this.

M4=m4
PERL=perl

GENSRCS=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\version.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

.SUFFIXES: .m4 .msg

all: $(GENSRCS)


.m4.cxx:
	rm -f $@
	$(M4) lib\instmac.m4 $< >$@
	chmod -w $@

{lib}.msg{lib}.h:
	rm -f $@
	$(PERL) -w msggen.pl -l $<
	chmod -w $@

{nsgmls}.msg{nsgmls}.h:
	rm -f $@
	$(PERL) -w msggen.pl $<
	chmod -w $@

{spam}.msg{spam}.h:
	rm -f $@
	$(PERL) -w msggen.pl $<
	chmod -w $@

{sx}.msg{sx}.h:
	rm -f $@
	$(PERL) -w msggen.pl $<
	chmod -w $@

lib\version.h: lib\mkversion.pl VERSION
	rm -f $@
	$(PERL) -w lib\mkversion.pl VERSION >$@
	chmod -w $@