| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
on |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
TOP := .. |
| 26 |
include ../Makefile.cfg |
| 27 |
|
| 28 |
CHMDIR := chm |
| 29 |
|
| 30 |
MAIN_HTML_FILES := titan_main.html titan_index.html |
| 31 |
|
| 32 |
MAIN_CHM_FILES := titan_index.html titan_online.html titan.hhp titan.hhc |
| 33 |
|
| 34 |
INFO_FILES := $(addprefix info/, $(addsuffix .html, \ |
| 35 |
BNF action activate address alive all alt altstep and and4b any \ |
| 36 |
anytype apply bit2hex bit2int bit2oct bit2str bitstring boolean break call \ |
| 37 |
case catch char char2int char2oct charstring check clear complement \ |
| 38 |
component connect const continue control create deactivate decode_base64 decvalue decvalue_unichar default derefers \ |
| 39 |
disconnect display do done else encode encode_base64 encvalue encvalue_unichar enum2int enumerated error except \ |
| 40 |
exception execute extension external fail false float float2int \ |
| 41 |
float2str for from function friend get_stringencoding getcall getreply getverdict goto group \ |
| 42 |
hex2bit hex2int hex2oct hex2str hexstring if ifpresent import in \ |
| 43 |
inconc infinity inout int2bit int2char int2enum int2float int2hex int2oct \ |
| 44 |
int2str int2unichar integer interleave isbound ischosen ispresent isvalue kill killed \ |
| 45 |
label language length lengthof log log2str map match message mixed mod \ |
| 46 |
modifies module modulepar mtc noblock none not not4b now nowait null objid \ |
| 47 |
oct2bit oct2char oct2hex oct2int oct2str oct2unichar octetstring of omit on \ |
| 48 |
operators optional or or4b out override param pass pattern permutation \ |
| 49 |
port public private procedure raise read realtime receive record recursive refers regexp rem remove_bom repeat \ |
| 50 |
replace reply return rnd running runs select self send sender set setencode setstate setverdict \ |
| 51 |
signature sizeof start stop str2bit str2float str2hex \ |
| 52 |
str2int str2oct subset substr superset system template testcase testcasename \ |
| 53 |
timeout timer timestamp to trigger true type unichar2char unichar2int unichar2oct union universal unmap \ |
| 54 |
value valueof var variant verdicttype while with xor xor4b profiler)) |
| 55 |
|
| 56 |
IMAGE_FILES := $(addprefix images/, $(addsuffix .jpg, ao left right up)) images/titan_transparent.gif |
| 57 |
|
| 58 |
DOC_FILES := $(addprefix docs/, $(addsuffix .pdf, \ |
| 59 |
naming)) |
| 60 |
|
| 61 |
USERGUIDES := $(addprefix ../../doc/, $(addsuffix .pdf, \ |
| 62 |
apiguide userguide installationguide referenceguide releasenotes)) |
| 63 |
|
| 64 |
all run: ; |
| 65 |
|
| 66 |
install: |
| 67 |
ifdef MINGW |
| 68 |
@echo Skipped ${CURDIR} for MinGW |
| 69 |
else |
| 70 |
mkdir -p $(BINDIR) |
| 71 |
cp ttcn3_help $(BINDIR) |
| 72 |
chmod +x $(BINDIR)/ttcn3_help |
| 73 |
mkdir -p $(HELPDIR) |
| 74 |
cp $(MAIN_HTML_FILES) $(HELPDIR) |
| 75 |
mkdir -p $(HELPDIR)/info |
| 76 |
cp $(INFO_FILES) $(HELPDIR)/info |
| 77 |
mkdir -p $(HELPDIR)/images |
| 78 |
cp $(IMAGE_FILES) $(HELPDIR)/images |
| 79 |
mkdir -p $(HELPDIR)/docs |
| 80 |
cp $(DOC_FILES) $(HELPDIR)/docs |
| 81 |
ifeq (GEN_PDF,yes) |
| 82 |
ln -s $(USERGUIDES) $(HELPDIR)/docs |
| 83 |
endif |
| 84 |
endif |
| 85 |
|
| 86 |
chm.tgz: |
| 87 |
$(RM) -r $(CHMDIR) |
| 88 |
mkdir -p $(CHMDIR) |
| 89 |
cp $(MAIN_CHM_FILES) $(CHMDIR) |
| 90 |
mkdir $(CHMDIR)/info |
| 91 |
cp $(INFO_FILES) $(CHMDIR)/info |
| 92 |
mkdir -p $(CHMDIR)/images |
| 93 |
cp $(IMAGE_FILES) $(CHMDIR)/images |
| 94 |
./chm_refact.sh |
| 95 |
tar cfz $@ chm |
| 96 |
|
| 97 |
clean: |
| 98 |
$(RM) -rf $(CHMDIR) chm.tgz |