|
1 # $Header$ |
|
2 # |
|
3 # DO NOT EDIT |
|
4 # automagically generated from the projectDefinition: jv_libllvms. |
|
5 # |
|
6 # Warning: once you modify this file, do not rerun |
|
7 # stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 # |
|
9 # Notice, that the name bc.mak is historical (from times, when only borland c was supported). |
|
10 # This file contains make rules for the win32 platform using either borland-bcc or visual-c. |
|
11 # It shares common definitions with the unix-make in Make.spec. |
|
12 # The bc.mak supports the following targets: |
|
13 # bmake - compile all st-files to a classLib (dll) |
|
14 # bmake clean - clean all temp files |
|
15 # bmake clobber - clean all |
|
16 # |
|
17 # Historic Note: |
|
18 # this used to contain only rules to make with borland |
|
19 # (called via bmake, by "make.exe -f bc.mak") |
|
20 # this has changed; it is now also possible to build using microsoft visual c |
|
21 # (called via vcmake, by "make.exe -f bc.mak -DUSEVC") |
|
22 # |
|
23 TOP=..\..\stx |
|
24 INCLUDE_TOP=$(TOP)\.. |
|
25 |
|
26 |
|
27 |
|
28 !INCLUDE $(TOP)\rules\stdHeader_bc |
|
29 |
|
30 !INCLUDE Make.spec |
|
31 |
|
32 LIBNAME=libjv_libllvms |
|
33 MODULE_PATH=libllvms |
|
34 RESFILES=libllvms.$(RES) |
|
35 |
|
36 |
|
37 |
|
38 LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic |
|
39 LOCALDEFINES= |
|
40 |
|
41 STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
|
42 LOCALLIBS= |
|
43 |
|
44 OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
45 |
|
46 ALL:: classLibRule |
|
47 |
|
48 classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
49 |
|
50 !INCLUDE $(TOP)\rules\stdRules_bc |
|
51 |
|
52 # build all mandatory prerequisite packages (containing superclasses) for this package |
|
53 prereq: |
|
54 pushd ..\..\stx\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 test: $(TOP)\goodies\builder\reports\NUL |
|
63 pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
64 $(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
65 |
|
66 clean:: |
|
67 del *.$(CSUFFIX) |
|
68 |
|
69 |
|
70 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
71 $(OUTDIR)LLVM.$(O) LLVM.$(H): LLVM.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
72 $(OUTDIR)LLVMAtomicOrdering.$(O) LLVMAtomicOrdering.$(H): LLVMAtomicOrdering.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
73 $(OUTDIR)LLVMAtomicRMWBinOp.$(O) LLVMAtomicRMWBinOp.$(H): LLVMAtomicRMWBinOp.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
74 $(OUTDIR)LLVMAttribute.$(O) LLVMAttribute.$(H): LLVMAttribute.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
75 $(OUTDIR)LLVMBasicBlock.$(O) LLVMBasicBlock.$(H): LLVMBasicBlock.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
76 $(OUTDIR)LLVMBuilder.$(O) LLVMBuilder.$(H): LLVMBuilder.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
77 $(OUTDIR)LLVMByteOrdering.$(O) LLVMByteOrdering.$(H): LLVMByteOrdering.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
78 $(OUTDIR)LLVMCallConv.$(O) LLVMCallConv.$(H): LLVMCallConv.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
79 $(OUTDIR)LLVMContext.$(O) LLVMContext.$(H): LLVMContext.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
80 $(OUTDIR)LLVMDLLStorageClass.$(O) LLVMDLLStorageClass.$(H): LLVMDLLStorageClass.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
81 $(OUTDIR)LLVMDiagnosticInfo.$(O) LLVMDiagnosticInfo.$(H): LLVMDiagnosticInfo.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
82 $(OUTDIR)LLVMDiagnosticSeverity.$(O) LLVMDiagnosticSeverity.$(H): LLVMDiagnosticSeverity.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
83 $(OUTDIR)LLVMExecutionEngine.$(O) LLVMExecutionEngine.$(H): LLVMExecutionEngine.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
84 $(OUTDIR)LLVMGenericValue.$(O) LLVMGenericValue.$(H): LLVMGenericValue.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
85 $(OUTDIR)LLVMIntPredicate.$(O) LLVMIntPredicate.$(H): LLVMIntPredicate.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
86 $(OUTDIR)LLVMLandingPadClauseTy.$(O) LLVMLandingPadClauseTy.$(H): LLVMLandingPadClauseTy.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
87 $(OUTDIR)LLVMLinkage.$(O) LLVMLinkage.$(H): LLVMLinkage.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
88 $(OUTDIR)LLVMMCJITCompilerOptions.$(O) LLVMMCJITCompilerOptions.$(H): LLVMMCJITCompilerOptions.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
89 $(OUTDIR)LLVMMCJITMemoryManager.$(O) LLVMMCJITMemoryManager.$(H): LLVMMCJITMemoryManager.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
90 $(OUTDIR)LLVMModuleProvider.$(O) LLVMModuleProvider.$(H): LLVMModuleProvider.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
91 $(OUTDIR)LLVMOpcode.$(O) LLVMOpcode.$(H): LLVMOpcode.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
92 $(OUTDIR)LLVMPassManager.$(O) LLVMPassManager.$(H): LLVMPassManager.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
93 $(OUTDIR)LLVMPassRegistry.$(O) LLVMPassRegistry.$(H): LLVMPassRegistry.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
94 $(OUTDIR)LLVMRealPredicate.$(O) LLVMRealPredicate.$(H): LLVMRealPredicate.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
95 $(OUTDIR)LLVMTargetData.$(O) LLVMTargetData.$(H): LLVMTargetData.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
96 $(OUTDIR)LLVMTargetLibraryInfo.$(O) LLVMTargetLibraryInfo.$(H): LLVMTargetLibraryInfo.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
97 $(OUTDIR)LLVMThreadLocalMode.$(O) LLVMThreadLocalMode.$(H): LLVMThreadLocalMode.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
98 $(OUTDIR)LLVMType.$(O) LLVMType.$(H): LLVMType.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
99 $(OUTDIR)LLVMTypeArray.$(O) LLVMTypeArray.$(H): LLVMTypeArray.st $(INCLUDE_TOP)\stx\libbasic\ArrayedCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\Collection.$(H) $(INCLUDE_TOP)\stx\libbasic\ExternalBytes.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SequenceableCollection.$(H) $(INCLUDE_TOP)\stx\libbasic\UninterpretedBytes.$(H) $(STCHDR) |
|
100 $(OUTDIR)LLVMTypeKind.$(O) LLVMTypeKind.$(H): LLVMTypeKind.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
101 $(OUTDIR)LLVMUse.$(O) LLVMUse.$(H): LLVMUse.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
102 $(OUTDIR)LLVMValue.$(O) LLVMValue.$(H): LLVMValue.st $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
103 $(OUTDIR)LLVMVerifierFailureAction.$(O) LLVMVerifierFailureAction.$(H): LLVMVerifierFailureAction.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
104 $(OUTDIR)LLVMVisibility.$(O) LLVMVisibility.$(H): LLVMVisibility.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\SharedPool.$(H) $(STCHDR) |
|
105 $(OUTDIR)jv_libllvms.$(O) jv_libllvms.$(H): jv_libllvms.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
|
106 $(OUTDIR)LLVMModule.$(O) LLVMModule.$(H): LLVMModule.st $(INCLUDE_TOP)\jv\libllvms\LLVMTypeKind.$(H) $(INCLUDE_TOP)\stx\libbasic\ExternalAddress.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR) |
|
107 |
|
108 # ENDMAKEDEPEND --- do not remove this line |
|
109 |
|
110 # **Must be at end** |
|
111 |
|
112 # Enforce recompilation of package definition class if Mercurial working |
|
113 # copy state changes. Together with --guessVersion it ensures that package |
|
114 # definition class always contains correct binary revision string. |
|
115 !IFDEF HGROOT |
|
116 $(OUTDIR)jv_libllvms.$(O): $(HGROOT)\.hg\dirstate |
|
117 !ENDIF |