Salome HOME
e6d9a7669ec6b88a455c6aa42110431396b8e837
[modules/geom.git] / Makefile.in
1 # -* Makefile *- 
2 #
3 # Author : Patrick GOLDBRONN (CEA)
4 # Date : 28/06/2001
5 # $Header$
6 #
7
8 # source path
9 top_srcdir=@top_srcdir@
10 top_builddir=.
11 srcdir=@srcdir@
12 VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src
18
19 RESOURCES_FILES = \
20 GEOM_en.xml \
21 GEOM_fr.xml \
22 GEOMCatalog.xml \
23 GEOMDS_Resources \
24 arc.png \
25 archimede.png \
26 axisinertia.png \
27 basicproperties.png \
28 bounding.png \
29 box.png \
30 box2points.png \
31 boxdxyz.png \
32 build_compound.png \
33 build_edge.png \
34 build_face.png \
35 build_shell.png \
36 build_solid.png \
37 build_wire.png \
38 centergravity.png \
39 chamfer.png \
40 chamferall.png \
41 chamferedge.png \
42 chamferface.png \
43 check.png \
44 circle.png \
45 circlepointvector.png \
46 common.png \
47 cone.png \
48 conedxyz.png \
49 conepointvector.png \
50 cut.png \
51 cylinder.png \
52 cylinderdxyz.png \
53 cylinderpointvector.png \
54 delete.png \
55 display.png \
56 displayall.png \
57 erase.png \
58 eraseall.png \
59 fillet.png \
60 filletall.png \
61 filletedge.png \
62 filletface.png \
63 filling.png \
64 fuse.png \
65 geometry.png \
66 line.png \
67 line2points.png \
68 lineedge.png \
69 linepointvector.png \
70 mindist.png \
71 mirrorPlane.png \
72 ModuleGeom.png \
73 multirotation.png \
74 multirotationdouble.png \
75 multirotationsimple.png \
76 multitranslation.png \
77 multitranslationdouble.png \
78 multitranslationsimple.png \
79 orientation.png \
80 partition.png \
81 partitionkeep.png \
82 pipe.png \
83 plane.png \
84 planeWorking.png \
85 planedxyz.png \
86 planeface.png \
87 planepointvector.png \
88 planeworkingface.png \
89 point2.png \
90 pointonedge.png \
91 prism.png \
92 revol.png \
93 rotate.png \
94 scale.png \
95 section.png \
96 select1.png \
97 sewing.png \
98 shading.png \
99 sketch.png \
100 sphere.png \
101 spheredxyz.png \
102 spherepoint.png \
103 subshape.png \
104 supressHolesOnFaceShell.png \
105 supressface.png \
106 supresshole.png \
107 tolerance.png \
108 torus.png \
109 torusdxyz.png \
110 toruspointvector.png \
111 translation.png \
112 tree_compound.png \
113 tree_compsolid.png \
114 tree_edge.png \
115 tree_face.png \
116 tree_shape.png \
117 tree_shell.png \
118 tree_solid.png \
119 tree_vertex.png \
120 tree_wire.png \
121 vector.png \
122 vector2points.png \
123 vectordxyz.png \
124 whatis.png
125
126 BIN_SCRIPT= \
127 VERSION
128
129 # copy header files in common directory
130 ifeq ($(HAVE_SSTREAM),yes)
131   include_list=include/salome/SALOMEconfig.h
132 else
133   include_list=include/salome/SALOMEconfig.h include/salome/sstream
134 endif
135
136 inc: idl $(include_list)
137
138 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.h
139         -$(RM) $@
140         $(LN_S) ../../$< $@
141
142 include/salome/sstream: salome_adm/unix/sstream
143         -$(RM) $@
144         $(LN_S) ../../$< $@
145
146 depend: depend_idl
147
148 depend_idl:
149         (cd idl ; $(MAKE) $@) || exit 1
150
151 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
152 #doc:
153 #       (cd doc && $(MAKE) $@) || exit 1
154
155 install-end:
156 # finish libtool install
157 #       @$(LT) --mode=finish $(libdir)
158
159 install-include: $(include_list)
160         $(INSTALL) -d  $(includedir)
161         @for f in X $(include_list); do                         \
162            if test $$f != X; then                               \
163              ($(INSTALL_DATA) $$f $(includedir)/. || exit 1);   \
164            fi;                                                  \
165         done
166
167 # install script in $(bindir) :
168 install-bin: $(BIN_SCRIPT)
169         $(INSTALL) -d  $(bindir)
170         if test $(BIN_SCRIPT)X != X; then                       \
171                 $(INSTALL_PROGRAM) $^ $(bindir);                \
172         fi
173
174 uninstall: uninstall-idl
175
176 uninstall-idl:
177         $(RM) $(idldir)/*.idl
178
179 distclean: distclean-other
180
181 distclean-other:
182         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
183         -$(RM) salome_adm/unix/make_* 
184         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h 
185         -$(RM) config.cache config.log config.status 
186
187 @MODULE@
188
189 install: install-bin install-include install-end
190