author | convert-repo |
Thu, 30 Aug 2018 03:34:47 +0000 | |
changeset 857 | fdb5c39711ea |
parent 515 | d460ef249979 |
child 903 | 3c6c268d7395 |
permissions | -rw-r--r-- |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
1 |
# $Header$ |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
2 |
# |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
3 |
# DO NOT EDIT |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
4 |
# automagically generated from the projectDefinition: stx_libscm_common. |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
5 |
# |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
6 |
# Warning: once you modify this file, do not rerun |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
8 |
# |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
9 |
# The Makefile as generated by this Make.proto supports the following targets: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
10 |
# make - compile all st-files to a classLib |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
11 |
# make clean - clean all temp files |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
12 |
# make clobber - clean all |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
13 |
# |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
14 |
# This file contains definitions for Unix based platforms. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
15 |
# It shares common definitions with the win32-make in Make.spec. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
16 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
17 |
# |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
18 |
# position (of this package) in directory hierarchy: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
19 |
# (must point to ST/X top directory, for tools and includes) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
20 |
TOP=../.. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
21 |
INCLUDE_TOP=$(TOP)/.. |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
22 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
23 |
# subdirectories where targets are to be made: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
24 |
SUBDIRS= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
25 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
26 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
27 |
# subdirectories where Makefiles are to be made: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
28 |
# (only define if different from SUBDIRS) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
29 |
# ALLSUBDIRS= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
30 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
31 |
REQUIRED_SUPPORT_DIRS= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
32 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
33 |
# if your embedded C code requires any system includes, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
34 |
# add the path(es) here:, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
35 |
# ********** OPTIONAL: MODIFY the next lines *** |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
36 |
# LOCALINCLUDES=-Ifoo -Ibar |
454
d17370e0936e
Support for Java classes (part 1)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
431
diff
changeset
|
37 |
LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic3 -I$(INCLUDE_TOP)/stx/libjava -I$(INCLUDE_TOP)/stx/libscm/mercurial -I$(INCLUDE_TOP)/stx/libtool -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libview2 -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libwidg2 |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
38 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
39 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
40 |
# if you need any additional defines for embedded C code, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
41 |
# add them here:, |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
42 |
# ********** OPTIONAL: MODIFY the next lines *** |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
43 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
44 |
LOCALDEFINES= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
45 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
46 |
LIBNAME=libstx_libscm_common |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
47 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -headerDir=. -varPrefix=$(LIBNAME) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
48 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
49 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
50 |
# ********** OPTIONAL: MODIFY the next line *** |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
51 |
# additional C-libraries that should be pre-linked with the class-objects |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
52 |
LD_OBJ_LIBS= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
53 |
LOCAL_SHARED_LIBS= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
54 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
55 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
56 |
# ********** OPTIONAL: MODIFY the next line *** |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
57 |
# additional C targets or libraries should be added below |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
58 |
LOCAL_EXTRA_TARGETS= |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
59 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
60 |
OBJS= $(COMMON_OBJS) $(UNIX_OBJS) |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
61 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
62 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
63 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
64 |
all:: preMake classLibRule postMake |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
65 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
66 |
pre_objs:: |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
67 |
|
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
68 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
69 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
70 |
|
331
379018400fc1
Fixed update-svn-revision in Make.proto.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
310
diff
changeset
|
71 |
# Update SVN revision in package definition class |
379018400fc1
Fixed update-svn-revision in Make.proto.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
310
diff
changeset
|
72 |
ifneq (,$(findstring .svn,$(wildcard .svn))) |
379018400fc1
Fixed update-svn-revision in Make.proto.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
310
diff
changeset
|
73 |
.svnversion: *.st |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
74 |
if [ -d .svn ]; then \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
75 |
rev=$(shell svnversion -n); \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
76 |
echo -n $$rev > .svnversion; \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
77 |
else \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
78 |
echo -n exported > .svnversion; \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
79 |
fi |
331
379018400fc1
Fixed update-svn-revision in Make.proto.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
310
diff
changeset
|
80 |
|
379018400fc1
Fixed update-svn-revision in Make.proto.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
310
diff
changeset
|
81 |
stx_libscm_common.o: stx_libscm_common.st .svnversion |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
82 |
@if [ -d .svn ]; then \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
83 |
rev2="$(shell printf "%-16s" $$(cat .svnversion))"; \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
84 |
echo " [SV] Expanding svnRevisionNo in $1.st"; \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
85 |
sed -e "s/\"\$$SVN\-Revision:\".*\"\$$\"/\"\$$SVN-Revision:\"\'$$rev2\'\"\$$\"/g" $< > .stx_libscm_common.svn.st; \ |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
86 |
fi |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
87 |
$(MAKE) CC="$(CLASSLIB_CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" STC="$(STC)" STFILE=.stx_libscm_common.svn $(C_RULE); |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
88 |
sed -i -e "s/\".stx_libscm_common.svn.st\");/\"\stx_libscm_common.st\");/g" .stx_libscm_common.svn.c |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
89 |
$(MAKE) .stx_libscm_common.svn.$(O) |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
90 |
@mv .stx_libscm_common.svn.$(O) stx_libscm_common.$(O) |
331
379018400fc1
Fixed update-svn-revision in Make.proto.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
310
diff
changeset
|
91 |
endif |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
92 |
|
99
a880b85982fb
Library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
90
diff
changeset
|
93 |
|
a880b85982fb
Library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
90
diff
changeset
|
94 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
95 |
# Enforce recompilation of package definition class if Mercurial working |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
96 |
# copy state changes. Together with --guessVersion it ensures that package |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
97 |
# definition class always contains correct binary revision string. |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
98 |
ifneq (**NOHG**, $(shell hg root 2> /dev/null || echo -n '**NOHG**')) |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
99 |
stx_libscm_common.$(O): $(shell hg root)/.hg/dirstate |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
100 |
endif |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
101 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
102 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
103 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
104 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
105 |
# run default testsuite for this package |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
106 |
test: $(TOP)/goodies/builder/reports |
391
f05648d15add
Fix for issue #18 - circular class renames.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
335
diff
changeset
|
107 |
$(MAKE) -C $(TOP)/goodies/builder/reports -f Makefile.init |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
108 |
$(TOP)/goodies/builder/reports/report-runner.sh -D . -r Builder::TestReport -p $(PACKAGE) |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
109 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
110 |
|
99
a880b85982fb
Library description & copyright.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
90
diff
changeset
|
111 |
|
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
112 |
# add more install actions here |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
113 |
install:: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
114 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
115 |
# add more install actions for aux-files (resources) here |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
116 |
installAux:: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
117 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
118 |
# add more preMake actions here |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
119 |
preMake:: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
120 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
121 |
# add more postMake actions here |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
122 |
postMake:: cleanjunk |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
123 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
124 |
# build all mandatory prerequisite packages (containing superclasses) for this package |
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
125 |
prereq: |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
126 |
cd ../../libbasic && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
269
9fe7ec430706
SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
211
diff
changeset
|
127 |
cd ../../libbasic2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
128 |
cd ../../libbasic3 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
310
f5c8d61a488b
Fix for Smalltalk/X 6.2.2 - load patch package for 6.2.2 after initializing package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
301
diff
changeset
|
129 |
cd ../../libview && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
f5c8d61a488b
Fix for Smalltalk/X 6.2.2 - load patch package for 6.2.2 after initializing package.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
301
diff
changeset
|
130 |
cd ../../libview2 && $(MAKE) "CFLAGS_LOCAL=$(GLOBALDEFINES)" |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
131 |
|
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
132 |
|
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
133 |
|
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
134 |
# build all packages containing referenced classes for this package |
515
d460ef249979
Added support for custom build files.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
454
diff
changeset
|
135 |
# they are not needed to compile the package (but later, to load it) |
335
7e19ab19148b
Changed license to LGPL2.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
331
diff
changeset
|
136 |
references: |
269
9fe7ec430706
SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
211
diff
changeset
|
137 |
|
9fe7ec430706
SCMAbstractPackageModel: set repositoryRoot relative to parent when parent is set using #setParent:.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
211
diff
changeset
|
138 |
|
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
139 |
cleanjunk:: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
140 |
-rm -f *.s *.s2 |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
141 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
142 |
clean:: |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
143 |
-rm -f *.o *.H |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
144 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
145 |
clobber:: clean |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
146 |
-rm -f *.so *.dll |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
147 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
148 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
149 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
387
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
150 |
$(OUTDIR)SCMAbstractDialog.$(O) SCMAbstractDialog.$(H): SCMAbstractDialog.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(INCLUDE_TOP)/stx/libview2/SimpleDialog.$(H) $(STCHDR) |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
151 |
$(OUTDIR)SCMAbstractPackageModel.$(O) SCMAbstractPackageModel.$(H): SCMAbstractPackageModel.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
397
579b4fd3e9a9
Implemented support for hiearchy SCMAbstractPackageRevision/HGPackageRevision.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
396
diff
changeset
|
152 |
$(OUTDIR)SCMAbstractPackageWorkingCopyRegistry.$(O) SCMAbstractPackageWorkingCopyRegistry.$(H): SCMAbstractPackageWorkingCopyRegistry.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
431
5bc7ac796e5e
Change Class>>revision to return logical revision instead of binary revision.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
411
diff
changeset
|
153 |
$(OUTDIR)SCMAbstractRevisionInfo.$(O) SCMAbstractRevisionInfo.$(H): SCMAbstractRevisionInfo.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
387
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
154 |
$(OUTDIR)SCMAbstractSourceCodeManager.$(O) SCMAbstractSourceCodeManager.$(H): SCMAbstractSourceCodeManager.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic3/AbstractSourceCodeManager.$(H) $(STCHDR) |
44
832a135ebe08
Dependency fixes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
43
diff
changeset
|
155 |
$(OUTDIR)SCMAbstractTask.$(O) SCMAbstractTask.$(H): SCMAbstractTask.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
396
3c9d047e3841
Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
394
diff
changeset
|
156 |
$(OUTDIR)SCMCodeMonitor.$(O) SCMCodeMonitor.$(H): SCMCodeMonitor.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
3c9d047e3841
Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
394
diff
changeset
|
157 |
$(OUTDIR)SCMCommonPackageModelGroup.$(O) SCMCommonPackageModelGroup.$(H): SCMCommonPackageModelGroup.st $(INCLUDE_TOP)/stx/libbasic/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
387
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
158 |
$(OUTDIR)SCMCommonSourceCodeManagerUtilities.$(O) SCMCommonSourceCodeManagerUtilities.$(H): SCMCommonSourceCodeManagerUtilities.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic3/SourceCodeManagerUtilities.$(H) $(STCHDR) |
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
159 |
$(OUTDIR)SCMCompatModeQuery.$(O) SCMCompatModeQuery.$(H): SCMCompatModeQuery.st $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Notification.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/Query.$(H) $(STCHDR) |
411
858944cebec4
Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
397
diff
changeset
|
160 |
$(OUTDIR)SCMError.$(O) SCMError.$(H): SCMError.st $(INCLUDE_TOP)/stx/libbasic/Error.$(H) $(INCLUDE_TOP)/stx/libbasic/Exception.$(H) $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
858944cebec4
Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
397
diff
changeset
|
161 |
$(OUTDIR)SCMWarning.$(O) SCMWarning.$(H): SCMWarning.st $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Notification.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR) |
387
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
162 |
$(OUTDIR)stx_libscm_common.$(O) stx_libscm_common.$(H): stx_libscm_common.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(STCHDR) |
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
163 |
$(OUTDIR)SCMAbstractCommitDialog.$(O) SCMAbstractCommitDialog.$(H): SCMAbstractCommitDialog.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMAbstractDialog.$(H) $(INCLUDE_TOP)/stx/libview2/ApplicationModel.$(H) $(INCLUDE_TOP)/stx/libview2/Model.$(H) $(INCLUDE_TOP)/stx/libview2/SimpleDialog.$(H) $(STCHDR) |
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
164 |
$(OUTDIR)SCMAbstractFileoutLikeTask.$(O) SCMAbstractFileoutLikeTask.$(H): SCMAbstractFileoutLikeTask.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMAbstractTask.$(H) $(STCHDR) |
396
3c9d047e3841
Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
394
diff
changeset
|
165 |
$(OUTDIR)SCMAbstractPackageRevision.$(O) SCMAbstractPackageRevision.$(H): SCMAbstractPackageRevision.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMAbstractPackageModel.$(H) $(STCHDR) |
3c9d047e3841
Introduced a SCMAbstractPackageWorkingCopy and SCMAbstractPackageRevision...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
394
diff
changeset
|
166 |
$(OUTDIR)SCMAbstractPackageWorkingCopy.$(O) SCMAbstractPackageWorkingCopy.$(H): SCMAbstractPackageWorkingCopy.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMAbstractPackageModel.$(H) $(STCHDR) |
411
858944cebec4
Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
397
diff
changeset
|
167 |
$(OUTDIR)SCMPackageModelError.$(O) SCMPackageModelError.$(H): SCMPackageModelError.st $(INCLUDE_TOP)/stx/libbasic/Error.$(H) $(INCLUDE_TOP)/stx/libbasic/Exception.$(H) $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMError.$(H) $(STCHDR) |
858944cebec4
Added SCMAbstractPackageRevision>>changeSet.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
397
diff
changeset
|
168 |
$(OUTDIR)SCMPackageModelWarning.$(O) SCMPackageModelWarning.$(H): SCMPackageModelWarning.st $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Notification.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMWarning.$(H) $(STCHDR) |
387
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
169 |
$(OUTDIR)SCMAbstractCommitTask.$(O) SCMAbstractCommitTask.$(H): SCMAbstractCommitTask.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMAbstractFileoutLikeTask.$(H) $(INCLUDE_TOP)/stx/libscm/common/SCMAbstractTask.$(H) $(STCHDR) |
ebec1ef28839
Added notion if 'virtual' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
382
diff
changeset
|
170 |
$(OUTDIR)extensions.$(O): extensions.st $(INCLUDE_TOP)/stx/libbasic/Collection.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(INCLUDE_TOP)/stx/libbasic/OrderedCollection.$(H) $(INCLUDE_TOP)/stx/libbasic/SequenceableCollection.$(H) $(INCLUDE_TOP)/stx/libbasic3/ChangeSet.$(H) $(STCHDR) |
43
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
171 |
|
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
172 |
# ENDMAKEDEPEND --- do not remove this line |
a331d402de2f
Initial commit of common, reusable classes
vranyj1@bd9d3459-6c23-4dd9-91de-98eeebb81177
parents:
diff
changeset
|
173 |