author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Fri, 15 May 2015 08:19:36 +0100 | |
changeset 35 | ee9cb4288e1c |
parent 34 | ca8a943914be |
permissions | -rw-r--r-- |
1 | 1 |
# $Header$ |
2 |
# |
|
3 |
# DO NOT EDIT |
|
31 | 4 |
# automagically generated from the projectDefinition: stx_libwebkit. |
1 | 5 |
# |
6 |
# Warning: once you modify this file, do not rerun |
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
|
8 |
# |
|
29 | 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. |
|
1 | 11 |
# It shares common definitions with the unix-make in Make.spec. |
29 | 12 |
# The bc.mak supports the following targets: |
1 | 13 |
# bmake - compile all st-files to a classLib (dll) |
14 |
# bmake clean - clean all temp files |
|
15 |
# bmake clobber - clean all |
|
16 |
# |
|
29 | 17 |
# Historic Note: |
33 | 18 |
# this used to contain only rules to make with borland |
29 | 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") |
|
1 | 22 |
# |
23 |
TOP=.. |
|
24 |
INCLUDE_TOP=$(TOP)\.. |
|
25 |
||
26 |
||
27 |
||
28 |
!INCLUDE $(TOP)\rules\stdHeader_bc |
|
29 |
||
30 |
!INCLUDE Make.spec |
|
31 |
||
32 |
LIBNAME=libstx_libwebkit |
|
33 | 33 |
RESFILES=libwebkit.$(RES) |
1 | 34 |
|
35 |
||
36 |
||
34
ca8a943914be
Removed #preRequisites, build files regenerated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libwidg |
1 | 38 |
LOCALDEFINES= |
39 |
||
29 | 40 |
STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME) |
1 | 41 |
LOCALLIBS= |
42 |
||
43 |
OBJS= $(COMMON_OBJS) $(WIN32_OBJS) |
|
44 |
||
45 |
ALL:: classLibRule |
|
46 |
||
47 |
classLibRule: $(OUTDIR) $(OUTDIR)$(LIBNAME).dll |
|
48 |
||
49 |
!INCLUDE $(TOP)\rules\stdRules_bc |
|
50 |
||
33 | 51 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
1 | 52 |
prereq: |
53 |
pushd ..\libbasic & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
34
ca8a943914be
Removed #preRequisites, build files regenerated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
54 |
pushd ..\libbasic2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
1 | 55 |
pushd ..\libview & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
56 |
pushd ..\libview2 & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
|
2 | 57 |
pushd ..\libwidg & $(MAKE_BAT) "CFLAGS_LOCAL=$(GLOBALDEFINES) " |
33 | 58 |
|
1 | 59 |
|
60 |
||
61 |
||
62 |
||
29 | 63 |
|
33 | 64 |
|
65 |
test: $(TOP)\goodies\builder\reports\NUL |
|
66 |
pushd $(TOP)\goodies\builder\reports & $(MAKE_BAT) |
|
67 |
$(TOP)\goodies\builder\reports\report-runner.bat -D . -r Builder::TestReport -p $(PACKAGE) |
|
68 |
||
69 |
clean:: |
|
70 |
del *.$(CSUFFIX) |
|
71 |
||
72 |
||
1 | 73 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
13 | 74 |
$(OUTDIR)WebKitRenderer.$(O) WebKitRenderer.$(H): WebKitRenderer.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\PeekableStream.$(H) $(INCLUDE_TOP)\stx\libbasic\Stream.$(H) $(STCHDR) |
34
ca8a943914be
Removed #preRequisites, build files regenerated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
75 |
$(OUTDIR)WebKitView.$(O) WebKitView.$(H): WebKitView.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libview\DeviceGraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\DisplaySurface.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsContext.$(H) $(INCLUDE_TOP)\stx\libview\GraphicsMedium.$(H) $(INCLUDE_TOP)\stx\libview\SimpleView.$(H) $(STCHDR) |
ca8a943914be
Removed #preRequisites, build files regenerated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
76 |
$(OUTDIR)stx_libwebkit.$(O) stx_libwebkit.$(H): stx_libwebkit.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(STCHDR) |
ca8a943914be
Removed #preRequisites, build files regenerated
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
33
diff
changeset
|
77 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(INCLUDE_TOP)\stx\libwidg\GenericToolbarIconLibrary.$(H) $(STCHDR) |
1 | 78 |
|
79 |
# ENDMAKEDEPEND --- do not remove this line |