Salome HOME
fix QtxLogic::calculate()
[modules/gui.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:./bin/salome:@top_srcdir@/resources:./bin:@top_srcdir@/idl
13
14
15 @COMMENCE@
16
17 SUBDIRS = idl src doc
18
19 RESOURCES_FILES = \
20 back.xpm \
21 cascade.png \
22 close.png \
23 default.png \
24 dl_delete.png \
25 dl_insert.png \
26 dl_moveup.png \
27 dl_movedown.png \
28 forward.xpm \
29 help.png \
30 home.xpm \
31 new.png \
32 open.png \
33 print.png \
34 redo.png \
35 reset.png \
36 Application-Logo.png \
37 Application-Splash.png \
38 Application-About.png \
39 save.png \
40 select1.png \
41 tile.png \
42 Tools_en.xml \
43 undo.png \
44 view_back.png \
45 view_bottom.png \
46 view_camera_dump.png \
47 view_fitall.png \
48 view_fitarea.png \
49 view_front.png \
50 view_glpan.png \
51 view_left.png \
52 view_pan.png \
53 view_reset.png \
54 view_right.png \
55 view_rotate.png \
56 view_top.png \
57 view_triedre.png \
58 view_zoom.png \
59 copy.png \
60 paste.png \
61 plot2d_dump.png \
62 plot2d_fitall.png \
63 plot2d_fitarea.png \
64 plot2d_legend.png \
65 plot2d_linear.png \
66 plot2d_linear_y.png \
67 plot2d_lines.png \
68 plot2d_log.png \
69 plot2d_log_y.png \
70 plot2d_pan.png \
71 plot2d_points.png \
72 plot2d_settings.png \
73 plot2d_splines.png \
74 plot2d_zoom.png \
75 uc_add.png \
76 uc_current.png \
77 uc_del.png \
78 uc_new.png \
79 uc_clear.png \
80 channel.cfg \
81
82 BIN_SCRIPT= VERSION 
83
84 # copy header files in common directory
85 OWN_CONFIG_H=@OWN_CONFIG_H@
86
87 ifeq ($(OWN_CONFIG_H),yes)
88     ifeq ($(HAVE_SSTREAM),yes)
89         include_list=include/salome/SALOMEconfig.h include/salome/config.h
90     else
91         include_list=include/salome/SALOMEconfig.h include/salome/config.h include/salome/sstream
92     endif
93 else
94     ifeq ($(HAVE_SSTREAM),yes)
95         include_list=include/salome/SALOMEconfig.h
96     else
97         include_list=include/salome/SALOMEconfig.h include/salome/sstream
98     endif
99 endif
100
101 inc: idl $(include_list)
102
103 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
104         -$(RM) $@
105         $(LN_S) ../../$< $@
106
107 # test if SALOMEconfig.h has changed (contents)
108 salome_adm/unix/SALOMEconfig.ref: salome_adm/unix/SALOMEconfig.h
109         @if ! [ -a $@ ]; then \
110           cp -p $< $@;        \
111         fi;                   \
112         if ! cmp $< $@; then  \
113           cp -p $< $@;        \
114         fi;                   \
115
116 include/salome/config.h: salome_adm/unix/config.h
117         -$(RM) $@
118         $(LN_S) ../../$< $@
119
120 include/salome/sstream: salome_adm/unix/sstream
121         -$(RM) $@
122         $(LN_S) ../../$< $@
123
124 depend: depend_idl
125
126 depend_idl:
127         (cd idl ; $(MAKE) $@) || exit 1
128
129 # doc is already build : if you want to had documents, go manually to doc and run 'make doc'
130 #doc:
131 #       (cd doc && $(MAKE) $@) || exit 1
132
133 # Install make_commence make_conclude ... for other modules
134 install-make:
135         ($(INSTALL) -d  $(incmakedir) || exit 1);
136         (sed 's/^prefix=/#prefix=/' $(top_builddir)/adm_local/unix/make_commence > $(incmakedir)/make_commence || exit 1);
137
138
139 install-end:
140 # finish libtool install
141 #       @$(LT) --mode=finish $(libdir)
142
143 install-include: $(include_list)
144         $(INSTALL) -d  $(includedir)
145         @for f in X $(include_list); do                         \
146            if test $$f != X; then                               \
147              (cp -p $$f $(includedir) || exit 1);               \
148            fi;                                                  \
149         done
150
151 # install script in $(bindir) :
152 install-bin: $(BIN_SCRIPT)
153         $(INSTALL) -d  $(bindir)
154         $(INSTALL_PROGRAM) $^ $(bindir)
155
156 uninstall: uninstall-idl
157
158 uninstall-idl:
159         $(RM) $(idldir)/*.idl
160
161 distclean: distclean-other
162
163 distclean-other:
164         -$(RM) salome_adm/unix/*~ salome_adm/unix/*% salome_adm/unix/*.bak salome_adm/unix/*.new salome_adm/unix/*.old
165         -$(RM) salome_adm/unix/make_* 
166         -$(RM) salome_adm/unix/depend salome_adm/unix/SALOMEconfig.h salome_adm/unix/config.h 
167         -$(RM) config.cache config.log config.status 
168
169 @MODULE@
170
171 install: install-bin install-include install-make install-end
172