equal
deleted
inserted
replaced
32 |
32 |
33 # if your embedded C code requires any system includes, |
33 # if your embedded C code requires any system includes, |
34 # add the path(es) here:, |
34 # add the path(es) here:, |
35 # ********** OPTIONAL: MODIFY the next lines *** |
35 # ********** OPTIONAL: MODIFY the next lines *** |
36 # LOCALINCLUDES=-Ifoo -Ibar |
36 # LOCALINCLUDES=-Ifoo -Ibar |
37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libbasic |
37 LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libbasic |
38 |
38 |
39 |
39 |
40 # if you need any additional defines for embedded C code, |
40 # if you need any additional defines for embedded C code, |
41 # add them here:, |
41 # add them here:, |
42 # ********** OPTIONAL: MODIFY the next lines *** |
42 # ********** OPTIONAL: MODIFY the next lines *** |
61 |
61 |
62 |
62 |
63 |
63 |
64 all:: preMake classLibRule postMake |
64 all:: preMake classLibRule postMake |
65 |
65 |
66 pre_objs:: |
66 pre_objs:: update-svn-revision |
67 |
67 |
68 |
68 |
69 |
69 |
|
70 update-svn-revision: |
|
71 if [ ! -r .svnversion -o "$(shell svnversion -n)" != "$(shell cat .svnversion)" ]; then \ |
|
72 svnversion -n > .svnversion; \ |
|
73 sed -i -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"'$(shell svnversion -n)'\"\$$\"/g" \ |
|
74 stx_libwebkit.st; \ |
|
75 fi |
|
76 .PHONY: update-svn-revision |
70 |
77 |
71 |
78 |
72 # add more install actions here |
79 # add more install actions here |
73 install:: |
80 install:: |
74 |
81 |
84 prereq: $(REQUIRED_SUPPORT_DIRS) |
91 prereq: $(REQUIRED_SUPPORT_DIRS) |
85 cd ../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
92 cd ../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
86 cd ../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
93 cd ../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
87 cd ../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
94 cd ../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
88 cd ../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
95 cd ../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
96 cd ../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
97 cd ../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
89 cd ../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
98 cd ../librun && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
90 |
99 |
91 |
100 |
92 |
101 |
93 cleanjunk:: |
102 cleanjunk:: |
98 clobber:: clean |
107 clobber:: clean |
99 -rm -f *.so *.dll |
108 -rm -f *.so *.dll |
100 |
109 |
101 |
110 |
102 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
111 # BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
|
112 $(OUTDIR)WebKitRenderer.$(O) WebKitRenderer.$(H): WebKitRenderer.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
113 $(OUTDIR)WebKitView.$(O) WebKitView.$(H): WebKitView.st $(INCLUDE_TOP)/stx/libview/SimpleView.$(H) $(INCLUDE_TOP)/stx/libview/DisplaySurface.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsMedium.$(H) $(INCLUDE_TOP)/stx/libview/DeviceGraphicsContext.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsContext.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
103 $(OUTDIR)stx_libwebkit.$(O) stx_libwebkit.$(H): stx_libwebkit.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
114 $(OUTDIR)stx_libwebkit.$(O) stx_libwebkit.$(H): stx_libwebkit.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
104 $(OUTDIR)WebKitView.$(O) WebKitView.$(H): WebKitView.st $(INCLUDE_TOP)/stx/libview/SimpleView.$(H) $(INCLUDE_TOP)/stx/libview/DisplaySurface.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsMedium.$(H) $(INCLUDE_TOP)/stx/libview/DeviceGraphicsContext.$(H) $(INCLUDE_TOP)/stx/libview/GraphicsContext.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
|
105 |
115 |
106 # ENDMAKEDEPEND --- do not remove this line |
116 # ENDMAKEDEPEND --- do not remove this line |
107 |
117 |