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