author | Claus Gittinger <cg@exept.de> |
Wed, 23 Aug 2006 11:12:07 +0200 | |
changeset 1628 | 621367d6048a |
parent 1621 | c3fd1d3b7f83 |
child 1634 | dffe6b801e3e |
permissions | -rw-r--r-- |
1628
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
1 |
# $Header: /cvs/stx/stx/libbasic3/Make.proto,v 1.69 2006-08-23 09:12:07 cg Exp $ |
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
2 |
# |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
3 |
# DO NOT EDIT |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
4 |
# automagically generated from the projectDefinition: stx_libbasic3. |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
5 |
# |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
6 |
# Warning: once you modify this file, do not rerun |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
7 |
# stmkmp or projectDefinition-build again - otherwise, your changes are lost. |
31 | 8 |
# |
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
9 |
# The Makefile as generated by this Make.proto supports the following targets: |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
10 |
# make - compile all st-files to a classLib |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
11 |
# make clean - clean all temp files |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
12 |
# make clobber - clean all |
1553
b07b710e6d69
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1536
diff
changeset
|
13 |
# |
b07b710e6d69
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1536
diff
changeset
|
14 |
# This file contains definitions for Unix based platforms. |
31 | 15 |
|
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
16 |
# |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
17 |
# position (of this package) in directory hierarchy: |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
18 |
# (must point to ST/X top directory, for tools and includes) |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
19 |
TOP=../../stx |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
20 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
21 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
22 |
# subdirectories where targets are to be made: |
1357 | 23 |
SUBDIRS= |
24 |
||
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
25 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
26 |
# subdirectories where Makefiles are to be made: |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
27 |
# (only define if different from SUBDIRS) |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
28 |
# ALLSUBDIRS= |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
29 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
30 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
31 |
# if your embedded C code requires any system includes, |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
32 |
# add the path(es) here:, |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
33 |
# ********** OPTIONAL: MODIFY the next lines *** |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
34 |
# LOCALINCLUDES=-Ifoo -Ibar |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
35 |
LOCALINCLUDES= |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
36 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
37 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
38 |
# if you need any additional defines for embedded C code, |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
39 |
# add them here:, |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
40 |
# ********** OPTIONAL: MODIFY the next lines *** |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
41 |
# LOCALDEFINES=-Dfoo -Dbar -DDEBUG |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
42 |
LOCALDEFINES= |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
43 |
|
31 | 44 |
|
1628
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
45 |
STCLOCALOPT='-package=$(PACKAGE)' -I. $(LOCALINCLUDES) $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -H$(INCLUDE) $(COMMONSYMBOLS) -varPrefix=$(LIBNAME) |
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
46 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
47 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
48 |
# ********** OPTIONAL: MODIFY the next line *** |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
49 |
# additional C-libraries that should be pre-linked with the class-objects |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
50 |
LD_OBJ_LIBS= |
31 | 51 |
|
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
52 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
53 |
# ********** OPTIONAL: MODIFY the next line *** |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
54 |
# additional C targets or libraries should be added below |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
55 |
LOCAL_EXTRA_TARGETS= |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
56 |
|
1597
9ab60adc90f7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1587
diff
changeset
|
57 |
OBJS= $(COMMON_OBJS) $(UNIX_OBJS) |
9ab60adc90f7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1587
diff
changeset
|
58 |
|
1628
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
59 |
|
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
60 |
|
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
61 |
all:: preMake classLibRule postMake |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
62 |
|
1628
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
63 |
pre_objs:: |
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
64 |
|
621367d6048a
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1621
diff
changeset
|
65 |
|
31 | 66 |
|
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
67 |
# add more install actions here |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
68 |
install:: |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
69 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
70 |
# add more install actions for aux-files (resources) here |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
71 |
installAux:: |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
72 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
73 |
# add more preMake actions here |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
74 |
preMake:: |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
75 |
|
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
76 |
# add more postMake actions here |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
77 |
postMake:: cleanjunk |
31 | 78 |
|
79 |
cleanjunk:: |
|
80 |
||
81 |
clean:: |
|
1553
b07b710e6d69
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1536
diff
changeset
|
82 |
-rm -f *.o *.H |
31 | 83 |
|
84 |
clobber:: |
|
1553
b07b710e6d69
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1536
diff
changeset
|
85 |
-rm -f *.so *.dll |
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
86 |
|
31 | 87 |
|
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
88 |
# 'make depend' will add dependency info between |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
89 |
# BEGIN...END below |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
90 |
# |
40 | 91 |
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it |
1536
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
92 |
# ENDMAKEDEPEND --- do not remove this line |
6a0eecf10db7
automatically generated by browser
Claus Gittinger <cg@exept.de>
parents:
1357
diff
changeset
|
93 |