Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 118656 | Differences between
and this patch

Collapse All | Expand All

(-)OpenCASCADE6.3.0/ros/Makefile.am (-49 / +49 lines)
Lines 108-233 Link Here
108
dir_SunOS=sun
108
dir_SunOS=sun
109
109
110
install-exec-local:
110
install-exec-local:
111
	$(INSTALL) -d $(prefix)/$(platform)
111
	$(INSTALL) -d $(DESTDIR)$(prefix)/$(platform)
112
	if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \
112
	if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \
113
		cd $(prefix)/$(platform) && ln -s ../bin bin; \
113
		cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \
114
	fi
114
	fi
115
	if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \
115
	if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \
116
		cd $(prefix)/$(platform) && ln -s ../lib lib; \
116
		cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \
117
	fi
117
	fi
118
	$(INSTALL) -d $(prefix)/$(dir_$(platform))
118
	$(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform))
119
	if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \
119
	if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \
120
		cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
120
		cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
121
	fi
121
	fi
122
	if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \
122
	if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \
123
		cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
123
		cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
124
	fi
124
	fi
125
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
125
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
126
	if [ "$$pd" != "$$sd" ]; then \
126
	if [ "$$pd" != "$$sd" ]; then \
127
		$(INSTALL) -d $(prefix)/inc; \
127
		$(INSTALL) -d $(DESTDIR)$(prefix)/inc; \
128
		cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \
128
		cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \
129
	fi; \
129
	fi; \
130
	if [ "$$pd" != "$$bd" ]; then \
130
	if [ "$$pd" != "$$bd" ]; then \
131
		cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \
131
		cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \
132
	fi
132
	fi
133
	if [ -e $(prefix)/inc/config.h ]; then \
133
	if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \
134
		unlink $(prefix)/inc/config.h; \
134
		unlink $(DESTDIR)$(prefix)/inc/config.h; \
135
	fi
135
	fi
136
	cd $(prefix)/inc && ln -s ../config.h config.h 
136
	cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h 
137
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
137
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
138
	if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
138
	if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
139
		$(INSTALL) -d $(prefix)/src; \
139
		$(INSTALL) -d $(DESTDIR)$(prefix)/src; \
140
		$(INSTALL) -d $(prefix)/src/UnitsAPI; \
140
		$(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \
141
		cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \
141
		cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \
142
		cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \
142
		cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \
143
	fi
143
	fi
144
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
144
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
145
	if [ "$$pd" != "$$sd" ]; then \
145
	if [ "$$pd" != "$$sd" ]; then \
146
		inst_dirs="$(FoundationClasses_DIRS)"; \
146
		inst_dirs="$(FoundationClasses_DIRS)"; \
147
		if test "x$(FoundationClasses_DIRS)" != "x"; then \
147
		if test "x$(FoundationClasses_DIRS)" != "x"; then \
148
			for d in $$inst_dirs; do \
148
			for d in $$inst_dirs; do \
149
				$(INSTALL) -d $(prefix)/src/$$d; \
149
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
150
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
150
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
151
			done; \
151
			done; \
152
		fi; \
152
		fi; \
153
	fi
153
	fi
154
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
154
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
155
	if [ "$$pd" != "$$sd" ]; then \
155
	if [ "$$pd" != "$$sd" ]; then \
156
		inst_dirs="$(ModelingData_DIRS)"; \
156
		inst_dirs="$(ModelingData_DIRS)"; \
157
		if test "x$(ModelingData_DIRS)" != "x"; then \
157
		if test "x$(ModelingData_DIRS)" != "x"; then \
158
			for d in $$inst_dirs; do \
158
			for d in $$inst_dirs; do \
159
				$(INSTALL) -d $(prefix)/src/$$d; \
159
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
160
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
160
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
161
			done; \
161
			done; \
162
		fi; \
162
		fi; \
163
	fi
163
	fi
164
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
164
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
165
	if [ "$$pd" != "$$sd" ]; then \
165
	if [ "$$pd" != "$$sd" ]; then \
166
		inst_dirs="$(ModelingAlgorithms_DIRS)"; \
166
		inst_dirs="$(ModelingAlgorithms_DIRS)"; \
167
		if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
167
		if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
168
			for d in $$inst_dirs; do \
168
			for d in $$inst_dirs; do \
169
				$(INSTALL) -d $(prefix)/src/$$d; \
169
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
170
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
170
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
171
			done; \
171
			done; \
172
		fi; \
172
		fi; \
173
	fi
173
	fi
174
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
174
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
175
	if [ "$$pd" != "$$sd" ]; then \
175
	if [ "$$pd" != "$$sd" ]; then \
176
		inst_dirs="$(Visualization_DIRS)"; \
176
		inst_dirs="$(Visualization_DIRS)"; \
177
		if test "x$(Visualization_DIRS)" != "x"; then \
177
		if test "x$(Visualization_DIRS)" != "x"; then \
178
			for d in $$inst_dirs; do \
178
			for d in $$inst_dirs; do \
179
				$(INSTALL) -d $(prefix)/src/$$d; \
179
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
180
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
180
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
181
			done; \
181
			done; \
182
		fi; \
182
		fi; \
183
	fi
183
	fi
184
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
184
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
185
	if [ "$$pd" != "$$sd" ]; then \
185
	if [ "$$pd" != "$$sd" ]; then \
186
		inst_dirs="$(ApplicationFramework_DIRS)"; \
186
		inst_dirs="$(ApplicationFramework_DIRS)"; \
187
		if test "x$(ApplicationFramework_DIRS)" != "x"; then \
187
		if test "x$(ApplicationFramework_DIRS)" != "x"; then \
188
			for d in $$inst_dirs; do \
188
			for d in $$inst_dirs; do \
189
				$(INSTALL) -d $(prefix)/src/$$d; \
189
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
190
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
190
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
191
			done; \
191
			done; \
192
		fi; \
192
		fi; \
193
	fi
193
	fi
194
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
194
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
195
	if [ "$$pd" != "$$sd" ]; then \
195
	if [ "$$pd" != "$$sd" ]; then \
196
		inst_dirs="$(DataExchange_DIRS)"; \
196
		inst_dirs="$(DataExchange_DIRS)"; \
197
		if test "x$(DataExchange_DIRS)" != "x"; then \
197
		if test "x$(DataExchange_DIRS)" != "x"; then \
198
			for d in $$inst_dirs; do \
198
			for d in $$inst_dirs; do \
199
				$(INSTALL) -d $(prefix)/src/$$d; \
199
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
200
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
200
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
201
			done; \
201
			done; \
202
		fi; \
202
		fi; \
203
	fi
203
	fi
204
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
204
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
205
	if [ "$$pd" != "$$sd" ]; then \
205
	if [ "$$pd" != "$$sd" ]; then \
206
		inst_dirs="$(Draw_DIRS)"; \
206
		inst_dirs="$(Draw_DIRS)"; \
207
		if test "x$(Draw_DIRS)" != "x"; then \
207
		if test "x$(Draw_DIRS)" != "x"; then \
208
			for d in $$inst_dirs; do \
208
			for d in $$inst_dirs; do \
209
				$(INSTALL) -d $(prefix)/src/$$d; \
209
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
210
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
210
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
211
			done; \
211
			done; \
212
		fi; \
212
		fi; \
213
	fi
213
	fi
214
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
214
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
215
	if [ "$$pd" != "$$sd" ]; then \
215
	if [ "$$pd" != "$$sd" ]; then \
216
		inst_dirs="$(WOK_DIRS)"; \
216
		inst_dirs="$(WOK_DIRS)"; \
217
		if test "x$(WOK_DIRS)" != "x"; then \
217
		if test "x$(WOK_DIRS)" != "x"; then \
218
			for d in $$inst_dirs; do \
218
			for d in $$inst_dirs; do \
219
				$(INSTALL) -d $(prefix)/src/$$d; \
219
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
220
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
220
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
221
			done; \
221
			done; \
222
		fi; \
222
		fi; \
223
	fi
223
	fi
224
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
224
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
225
	if [ "$$pd" != "$$sd" ]; then \
225
	if [ "$$pd" != "$$sd" ]; then \
226
		inst_dirs="$(Wrappers_DIRS)"; \
226
		inst_dirs="$(Wrappers_DIRS)"; \
227
		if test "x$(Wrappers_DIRS)" != "x"; then \
227
		if test "x$(Wrappers_DIRS)" != "x"; then \
228
			for d in $$inst_dirs; do \
228
			for d in $$inst_dirs; do \
229
				$(INSTALL) -d $(prefix)/src/$$d; \
229
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
230
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
230
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
231
			done; \
231
			done; \
232
		fi; \
232
		fi; \
233
	fi
233
	fi
(-)OpenCASCADE6.3.0/ros/Makefile.in (-49 / +49 lines)
Lines 646-771 Link Here
646
	cd $(top_builddir)/adm/make && $(MAKE) $(AM_MAKEFLAGS) Wrappers
646
	cd $(top_builddir)/adm/make && $(MAKE) $(AM_MAKEFLAGS) Wrappers
647
647
648
install-exec-local:
648
install-exec-local:
649
	$(INSTALL) -d $(prefix)/$(platform)
649
	$(INSTALL) -d $(DESTDIR)$(prefix)/$(platform)
650
	if [ -e $(prefix)/bin -a ! -e $(prefix)/$(platform)/bin ]; then \
650
	if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(platform)/bin ]; then \
651
		cd $(prefix)/$(platform) && ln -s ../bin bin; \
651
		cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../bin bin; \
652
	fi
652
	fi
653
	if [ -e $(prefix)/lib -a ! -e $(prefix)/$(platform)/lib ]; then \
653
	if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(platform)/lib ]; then \
654
		cd $(prefix)/$(platform) && ln -s ../lib lib; \
654
		cd $(DESTDIR)$(prefix)/$(platform) && ln -s ../lib lib; \
655
	fi
655
	fi
656
	$(INSTALL) -d $(prefix)/$(dir_$(platform))
656
	$(INSTALL) -d $(DESTDIR)$(prefix)/$(dir_$(platform))
657
	if [ -e $(prefix)/bin -a ! -e $(prefix)/$(dir_$(platform))/bin ]; then \
657
	if [ -e $(DESTDIR)$(prefix)/bin -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/bin ]; then \
658
		cd $(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
658
		cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../bin bin; \
659
	fi
659
	fi
660
	if [ -e $(prefix)/lib -a ! -e $(prefix)/$(dir_$(platform))/lib ]; then \
660
	if [ -e $(DESTDIR)$(prefix)/lib -a ! -e $(DESTDIR)$(prefix)/$(dir_$(platform))/lib ]; then \
661
		cd $(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
661
		cd $(DESTDIR)$(prefix)/$(dir_$(platform)) && ln -s ../lib lib; \
662
	fi
662
	fi
663
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
663
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
664
	if [ "$$pd" != "$$sd" ]; then \
664
	if [ "$$pd" != "$$sd" ]; then \
665
		$(INSTALL) -d $(prefix)/inc; \
665
		$(INSTALL) -d $(DESTDIR)$(prefix)/inc; \
666
		cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(prefix); \
666
		cp -fr$(CP_$(platform)) $(top_srcdir)/inc $(DESTDIR)$(prefix); \
667
	fi; \
667
	fi; \
668
	if [ "$$pd" != "$$bd" ]; then \
668
	if [ "$$pd" != "$$bd" ]; then \
669
		cp -fr$(CP_$(platform)) $$bd/config.h $(prefix); \
669
		cp -fr$(CP_$(platform)) $$bd/config.h $(DESTDIR)$(prefix); \
670
	fi
670
	fi
671
	if [ -e $(prefix)/inc/config.h ]; then \
671
	if [ -e $(DESTDIR)$(prefix)/inc/config.h ]; then \
672
		unlink $(prefix)/inc/config.h; \
672
		unlink $(DESTDIR)$(prefix)/inc/config.h; \
673
	fi
673
	fi
674
	cd $(prefix)/inc && ln -s ../config.h config.h 
674
	cd $(DESTDIR)$(prefix)/inc && ln -s ../config.h config.h 
675
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
675
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
676
	if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
676
	if [ "$$pd" != "$$sd" -a -d $(top_srcdir)/src/UnitsAPI ]; then \
677
		$(INSTALL) -d $(prefix)/src; \
677
		$(INSTALL) -d $(DESTDIR)$(prefix)/src; \
678
		$(INSTALL) -d $(prefix)/src/UnitsAPI; \
678
		$(INSTALL) -d $(DESTDIR)$(prefix)/src/UnitsAPI; \
679
		cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(prefix)/src; \
679
		cp -fr$(CP_$(platform)) $(top_srcdir)/src/UnitsAPI $(DESTDIR)$(prefix)/src; \
680
		cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(prefix); \
680
		cp -f$(CP_$(platform)) $(top_srcdir)/env_DRAW.sh $(DESTDIR)$(prefix); \
681
	fi
681
	fi
682
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
682
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
683
	if [ "$$pd" != "$$sd" ]; then \
683
	if [ "$$pd" != "$$sd" ]; then \
684
		inst_dirs="$(FoundationClasses_DIRS)"; \
684
		inst_dirs="$(FoundationClasses_DIRS)"; \
685
		if test "x$(FoundationClasses_DIRS)" != "x"; then \
685
		if test "x$(FoundationClasses_DIRS)" != "x"; then \
686
			for d in $$inst_dirs; do \
686
			for d in $$inst_dirs; do \
687
				$(INSTALL) -d $(prefix)/src/$$d; \
687
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
688
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
688
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
689
			done; \
689
			done; \
690
		fi; \
690
		fi; \
691
	fi
691
	fi
692
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
692
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
693
	if [ "$$pd" != "$$sd" ]; then \
693
	if [ "$$pd" != "$$sd" ]; then \
694
		inst_dirs="$(ModelingData_DIRS)"; \
694
		inst_dirs="$(ModelingData_DIRS)"; \
695
		if test "x$(ModelingData_DIRS)" != "x"; then \
695
		if test "x$(ModelingData_DIRS)" != "x"; then \
696
			for d in $$inst_dirs; do \
696
			for d in $$inst_dirs; do \
697
				$(INSTALL) -d $(prefix)/src/$$d; \
697
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
698
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
698
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
699
			done; \
699
			done; \
700
		fi; \
700
		fi; \
701
	fi
701
	fi
702
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
702
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
703
	if [ "$$pd" != "$$sd" ]; then \
703
	if [ "$$pd" != "$$sd" ]; then \
704
		inst_dirs="$(ModelingAlgorithms_DIRS)"; \
704
		inst_dirs="$(ModelingAlgorithms_DIRS)"; \
705
		if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
705
		if test "x$(ModelingAlgorithms_DIRS)" != "x"; then \
706
			for d in $$inst_dirs; do \
706
			for d in $$inst_dirs; do \
707
				$(INSTALL) -d $(prefix)/src/$$d; \
707
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
708
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
708
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
709
			done; \
709
			done; \
710
		fi; \
710
		fi; \
711
	fi
711
	fi
712
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
712
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
713
	if [ "$$pd" != "$$sd" ]; then \
713
	if [ "$$pd" != "$$sd" ]; then \
714
		inst_dirs="$(Visualization_DIRS)"; \
714
		inst_dirs="$(Visualization_DIRS)"; \
715
		if test "x$(Visualization_DIRS)" != "x"; then \
715
		if test "x$(Visualization_DIRS)" != "x"; then \
716
			for d in $$inst_dirs; do \
716
			for d in $$inst_dirs; do \
717
				$(INSTALL) -d $(prefix)/src/$$d; \
717
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
718
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
718
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
719
			done; \
719
			done; \
720
		fi; \
720
		fi; \
721
	fi
721
	fi
722
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
722
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
723
	if [ "$$pd" != "$$sd" ]; then \
723
	if [ "$$pd" != "$$sd" ]; then \
724
		inst_dirs="$(ApplicationFramework_DIRS)"; \
724
		inst_dirs="$(ApplicationFramework_DIRS)"; \
725
		if test "x$(ApplicationFramework_DIRS)" != "x"; then \
725
		if test "x$(ApplicationFramework_DIRS)" != "x"; then \
726
			for d in $$inst_dirs; do \
726
			for d in $$inst_dirs; do \
727
				$(INSTALL) -d $(prefix)/src/$$d; \
727
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
728
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
728
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
729
			done; \
729
			done; \
730
		fi; \
730
		fi; \
731
	fi
731
	fi
732
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
732
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
733
	if [ "$$pd" != "$$sd" ]; then \
733
	if [ "$$pd" != "$$sd" ]; then \
734
		inst_dirs="$(DataExchange_DIRS)"; \
734
		inst_dirs="$(DataExchange_DIRS)"; \
735
		if test "x$(DataExchange_DIRS)" != "x"; then \
735
		if test "x$(DataExchange_DIRS)" != "x"; then \
736
			for d in $$inst_dirs; do \
736
			for d in $$inst_dirs; do \
737
				$(INSTALL) -d $(prefix)/src/$$d; \
737
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
738
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
738
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
739
			done; \
739
			done; \
740
		fi; \
740
		fi; \
741
	fi
741
	fi
742
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
742
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
743
	if [ "$$pd" != "$$sd" ]; then \
743
	if [ "$$pd" != "$$sd" ]; then \
744
		inst_dirs="$(Draw_DIRS)"; \
744
		inst_dirs="$(Draw_DIRS)"; \
745
		if test "x$(Draw_DIRS)" != "x"; then \
745
		if test "x$(Draw_DIRS)" != "x"; then \
746
			for d in $$inst_dirs; do \
746
			for d in $$inst_dirs; do \
747
				$(INSTALL) -d $(prefix)/src/$$d; \
747
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
748
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
748
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
749
			done; \
749
			done; \
750
		fi; \
750
		fi; \
751
	fi
751
	fi
752
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
752
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
753
	if [ "$$pd" != "$$sd" ]; then \
753
	if [ "$$pd" != "$$sd" ]; then \
754
		inst_dirs="$(WOK_DIRS)"; \
754
		inst_dirs="$(WOK_DIRS)"; \
755
		if test "x$(WOK_DIRS)" != "x"; then \
755
		if test "x$(WOK_DIRS)" != "x"; then \
756
			for d in $$inst_dirs; do \
756
			for d in $$inst_dirs; do \
757
				$(INSTALL) -d $(prefix)/src/$$d; \
757
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
758
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
758
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
759
			done; \
759
			done; \
760
		fi; \
760
		fi; \
761
	fi
761
	fi
762
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(prefix); pd=`pwd`; cd $$bd; \
762
	bd=`pwd`; cd $(top_srcdir); sd=`pwd`; cd $(DESTDIR)$(prefix); pd=`pwd`; cd $$bd; \
763
	if [ "$$pd" != "$$sd" ]; then \
763
	if [ "$$pd" != "$$sd" ]; then \
764
		inst_dirs="$(Wrappers_DIRS)"; \
764
		inst_dirs="$(Wrappers_DIRS)"; \
765
		if test "x$(Wrappers_DIRS)" != "x"; then \
765
		if test "x$(Wrappers_DIRS)" != "x"; then \
766
			for d in $$inst_dirs; do \
766
			for d in $$inst_dirs; do \
767
				$(INSTALL) -d $(prefix)/src/$$d; \
767
				$(INSTALL) -d $(DESTDIR)$(prefix)/src/$$d; \
768
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(prefix)/src; \
768
				cp -fr$(CP_$(platform)) $(top_srcdir)/src/$$d $(DESTDIR)$(prefix)/src; \
769
			done; \
769
			done; \
770
		fi; \
770
		fi; \
771
	fi
771
	fi

Return to bug 118656