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/libbasic -I$(INCLUDE_TOP)/stx/libjava |
37 LOCALINCLUDES= -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:: antIfPossible |
67 |
67 |
|
68 |
|
69 java: ant |
|
70 |
|
71 ant: |
|
72 ant -f java/build.xml dependencies build |
|
73 |
|
74 antIfPossible: |
|
75 -ant -f java/build.xml dependencies build |
|
76 |
|
77 #full:: ant |
68 |
78 |
69 |
79 |
70 |
80 |
71 # Update SVN revision in package definition class |
81 # Update SVN revision in package definition class |
72 ifneq (,$(findstring .svn,$(wildcard .svn))) |
82 ifneq (,$(findstring .svn,$(wildcard .svn))) |
119 preMake:: |
129 preMake:: |
120 |
130 |
121 # add more postMake actions here |
131 # add more postMake actions here |
122 postMake:: cleanjunk |
132 postMake:: cleanjunk |
123 |
133 |
124 prereq: $(REQUIRED_SUPPORT_DIRS) |
134 # build all mandatory prerequisite packages (containing superclasses) for this package |
|
135 prereq: |
125 cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
136 cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
137 cd ../../goodies/refactoryBrowser/parser && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
138 cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
139 cd ../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
126 cd ../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
140 cd ../../libcomp && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
127 cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
141 cd ../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
128 cd ../../libdb && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
129 cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
142 cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
130 cd ../../libdb/libsqlite && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
143 cd ../../goodies/petitparser && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
131 cd ../../libdb/libodbc && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
132 cd ../../libboss && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
133 cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
144 cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
134 cd ../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
135 cd ../../goodies/sunit && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
136 cd ../../libui && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
137 cd ../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
145 cd ../../libwidg && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
138 cd ../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
146 cd ../../libwidg2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
139 cd ../../libhtml && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
|
140 cd ../../libtool && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
147 cd ../../libtool && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
141 cd ../ && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
148 cd ../ && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
142 |
149 |
|
150 |
|
151 |
|
152 # build all packages containing referenced classes for this package |
|
153 # they are nor needed to compile the package |
|
154 references: |
143 |
155 |
144 |
156 |
145 cleanjunk:: |
157 cleanjunk:: |
146 -rm -f *.s *.s2 |
158 -rm -f *.s *.s2 |
147 |
159 |