]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | ### |
2 | ### Makefile.sources | |
3 | ### | |
4 | ||
5 | SETSRC = globSet.c intSet.c typeIdSet.c guardSet.c usymIdSet.c sRefSet.c | |
6 | ||
7 | LISTSRC = clauseStack.c filelocStack.c \ | |
8 | cstringList.c cstringSList.c sRefSetList.c ctypeList.c \ | |
9 | enumNameList.c enumNameSList.c exprNodeList.c exprNodeSList.c \ | |
10 | uentryList.c fileIdList.c filelocList.c qualList.c \ | |
11 | flagMarkerList.c idDeclList.c | |
12 | ||
13 | CPPSRC = cppmain.c cpplib.c cppexp.c cpphash.c cpperror.c | |
14 | ||
15 | CSRC = uentry.c cprim.c macrocache.c qual.c qtype.c specialClauses.c \ | |
16 | ctype.c cvar.c clabstract.c idDecl.c clause.c | |
17 | ||
18 | LCLINTSRC = exprNode.c exprChecks.c llmain.c | |
19 | CHECKSRC = structNames.c aliasChecks.c varKinds.c nameChecks.c | |
20 | ||
21 | GLOBSRC = context.c globals.c flags.c general.c osd.c | |
22 | ||
23 | GRAMS = cgrammar.y cscanner.l llgrammar.y signature.y | |
24 | GRAMSRC = cgrammar.c cscanner.c | |
25 | ||
26 | GENERALSRC = cstring.c fileloc.c message.c source.c \ | |
27 | fileTable.c hashTable.c llerror.c messageLog.c \ | |
f5ac53de | 28 | flagMarker.c aliasTable.c ynm.c sRefTable.c \ |
29 | ekind.c usymtab.c multiVal.c lltok.c sRef.c lcllib.c \ | |
4cccc6ad | 30 | constraint.c \ |
361091cc | 31 | constraintTerm.c \ |
92c4a786 | 32 | constraintExpr.c \ |
33 | constraintExprData.c \ | |
361091cc | 34 | constraintResolve.c \ |
34f0c5e7 | 35 | constraintOutput.c \ |
a0a162cd | 36 | environmentTable.c \ |
37 | constraintList.c \ | |
4cccc6ad | 38 | constraintGeneration.c \ |
97e4a647 | 39 | forjunk.c \ |
a0a162cd | 40 | exprData.c |
885824d3 | 41 | |
42 | ### | |
43 | ### These source files are relevant for LCL only. | |
44 | ### Not uses if NOLCL is set. | |
45 | ### | |
46 | ||
47 | LCLONLYSRC = usymtab_interface.c abstract.c ltoken.c lclscanline.c \ | |
48 | lclsyntable.c lcltokentable.c sort.c symtable.c lclinit.c \ | |
49 | shift.c lclscan.c lsymbol.c mapping.c | |
50 | ||
51 | LSLSRC = tokentable.c scan.c scanline.c lslparse.c \ | |
52 | lh.c checking.c lclctypes.c imports.c lslinit.c syntable.c | |
53 | ||
54 | LCLGRAMS = llgrammar.y signature.y | |
55 | LCLGRAMSSRC = llgrammar.c signature.c | |
56 | ||
57 | LCLSETSRC = lsymbolSet.c sigNodeSet.c lslOpSet.c sortSet.c | |
58 | ||
59 | LCLLISTSRC = initDeclNodeList.c sortList.c declaratorInvNodeList.c \ | |
60 | interfaceNodeList.c sortSetList.c declaratorNodeList.c \ | |
61 | letDeclNodeList.c stDeclNodeList.c lslOpList.c storeRefNodeList.c \ | |
62 | lsymbolList.c termNodeList.c ltokenList.c traitRefNodeList.c \ | |
63 | pairNodeList.c typeNameNodeList.c fcnNodeList.c paramNodeList.c \ | |
64 | programNodeList.c varDeclarationNodeList.c varNodeList.c \ | |
65 | quantifierNodeList.c replaceNodeList.c importNodeList.c | |
66 | ||
67 | ifeq ($(NOLCL), 1) | |
68 | LCLSRC = | |
69 | else | |
70 | LCLSRC = $(LCLSETSRC) $(LCLLISTSRC) $(LSLSRC) $(CMNSRC) $(LCLONLYSRC) $(LCLGRAMSSRC) | |
71 | endif | |
72 | ||
73 | COMMONSRC = $(CPPSRC) $(CSRC) $(CHECKSRC) $(GENERALSRC) $(GLOBSRC) \ | |
74 | $(IFACESRC) $(LISTSRC) $(SETSRC) $(LCLSRC) $(LCLGRAMSRC) | |
75 | ||
76 | SRC = $(COMMONSRC) $(LCLINTSRC) | |
77 | ALLSRC = $(SRC) $(GRAMSRC) | |
78 | ||
79 | ## all except cscanner.c | |
80 | ALMOSTALLSRC = llgrammar.c cgrammar.c signature.c $(SRC) | |
81 | OBJ = $(subst .c,.o,$(ALLSRC)) | |
82 | ||
83 | CHECKS = $(subst .c,.check,$(SRC)) | |
84 | ||
85 | ALLHEADERS = | |
86 | ||
87 | SANITIZERSRC = $(COMMONSRC) cscanner.c sgrammar.c sNode.c sChecks.c sMain.c | |
88 | SANITIZEROBJ = $(subst .c,.o,$(SANITIZERSRC)) | |
89 | ||
90 | ||
91 | ||
92 | ||
93 |