Revision b866f364 gr-msdd6000/src/Makefile.swig.gen

b/gr-msdd6000/src/Makefile.swig.gen
121 121

122 122
## Entry rule for running SWIG
123 123

124
msdd.h msdd.py msdd_python.cc: msdd.i
124
msdd_python.h msdd.py msdd_python.cc msdd_guile.cc msdd_guile.h: msdd.i
125 125
## This rule will get called only when MAKE decides that one of the
126 126
## targets needs to be created or re-created, because:
127 127
##
......
209 209
$(DEPDIR)/msdd-generate-guile-stamp:
210 210
if GUILE
211 211
	if $(SWIG) $(STD_SWIG_GUILE_ARGS) $(msdd_swig_args) \
212
		-MD -MF $(DEPDIR)/msdd.Std \
212
		-MD -MF $(DEPDIR)/msdd_guile.Std \
213 213
		-module msdd -o msdd_guile.cc $(WHAT); then \
214 214
	    if test $(host_os) = mingw32; then \
215
		$(RM) $(DEPDIR)/msdd.Sd; \
216
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd.Std \
217
			> $(DEPDIR)/msdd.Sd; \
218
		$(RM) $(DEPDIR)/msdd.Std; \
219
		$(MV) $(DEPDIR)/msdd.Sd $(DEPDIR)/msdd.Std; \
215
		$(RM) $(DEPDIR)/msdd_guile.Sd; \
216
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd_guile.Std \
217
			> $(DEPDIR)/msdd_guile.Sd; \
218
		$(RM) $(DEPDIR)/msdd_guile.Std; \
219
		$(MV) $(DEPDIR)/msdd_guile.Sd $(DEPDIR)/msdd_guile.Std; \
220 220
	    fi; \
221 221
	else \
222
	    $(RM) $(DEPDIR)/msdd.S*; exit 1; \
222
	    $(RM) $(DEPDIR)/msdd_guile.S*; exit 1; \
223 223
	fi;
224 224
	touch $(DEPDIR)/msdd-generate-guile-stamp
225
	$(RM) $(DEPDIR)/msdd_guile.d
226
	cp $(DEPDIR)/msdd_guile.Std $(DEPDIR)/msdd_guile.d
227
	echo "" >> $(DEPDIR)/msdd_guile.d
228
	$(SED) -e '1d;s, \\,,g;s, ,,g' < $(DEPDIR)/msdd_guile.Std | \
229
		awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/msdd_guile.d
230
	$(RM) $(DEPDIR)/msdd_guile.Std
231
	touch $(DEPDIR)/msdd-generate-guile-stamp
232

233
@am__include@ @am__quote@./$(DEPDIR)/msdd_guile.d@am__quote@
225 234
endif
226 235

227 236
$(DEPDIR)/msdd-generate-python-stamp:
......
234 243
## post-processing on 'mingw32' host OS for the dependency file.
235 244
##
236 245
	if $(SWIG) $(STD_SWIG_PYTHON_ARGS) $(msdd_swig_args) \
237
		-MD -MF $(DEPDIR)/msdd.Std \
246
		-MD -MF $(DEPDIR)/msdd_python.Std \
238 247
		-module msdd -o msdd_python.cc $(WHAT); then \
239 248
	    if test $(host_os) = mingw32; then \
240
		$(RM) $(DEPDIR)/msdd.Sd; \
241
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd.Std \
242
			> $(DEPDIR)/msdd.Sd; \
243
		$(RM) $(DEPDIR)/msdd.Std; \
244
		$(MV) $(DEPDIR)/msdd.Sd $(DEPDIR)/msdd.Std; \
249
		$(RM) $(DEPDIR)/msdd_python.Sd; \
250
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd_python.Std \
251
			> $(DEPDIR)/msdd_python.Sd; \
252
		$(RM) $(DEPDIR)/msdd_python.Std; \
253
		$(MV) $(DEPDIR)/msdd_python.Sd $(DEPDIR)/msdd_python.Std; \
245 254
	    fi; \
246 255
	else \
247
	    $(RM) $(DEPDIR)/msdd.S*; exit 1; \
256
	    $(RM) $(DEPDIR)/msdd_python.S*; exit 1; \
248 257
	fi;
249 258
##
250 259
## Mess with the SWIG output .Std dependency file, to create a
......
256 265
##
257 266
## (1) remove the current dependency file
258 267
##
259
	$(RM) $(DEPDIR)/msdd.d
268
	$(RM) $(DEPDIR)/msdd_python.d
260 269
##
261 270
## (2) Copy the whole SWIG file:
262 271
##
263
	cp $(DEPDIR)/msdd.Std $(DEPDIR)/msdd.d
272
	cp $(DEPDIR)/msdd_python.Std $(DEPDIR)/msdd_python.d
264 273
##
265 274
## (3) all a carriage return to the end of the dependency file.
266 275
##
267
	echo "" >> $(DEPDIR)/msdd.d
276
	echo "" >> $(DEPDIR)/msdd_python.d
268 277
##
269 278
## (4) from the SWIG file, remove the first line (the target); remove
270 279
##     trailing " \" and " " from each line.  Append ":" to each line,
271 280
##     followed by 2 carriage returns, then append this to the end of
272 281
##     the dependency file.
273 282
##
274
	$(SED) -e '1d;s, \\,,g;s, ,,g' < $(DEPDIR)/msdd.Std | \
275
		awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/msdd.d
283
	$(SED) -e '1d;s, \\,,g;s, ,,g' < $(DEPDIR)/msdd_python.Std | \
284
		awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/msdd_python.d
276 285
##
277 286
## (5) remove the SWIG-generated file
278 287
##
279
	$(RM) $(DEPDIR)/msdd.Std
288
	$(RM) $(DEPDIR)/msdd_python.Std
280 289
##
281 290
## Create the stamp for this filename generation, to signal success in
282 291
## executing this rule; allows other threads waiting on this process
......
288 297
# not guaranteed to be portable, but will probably work.  If it works,
289 298
# we have accurate dependencies for our swig stuff, which is good.
290 299

291
@am__include@ @am__quote@./$(DEPDIR)/msdd.d@am__quote@
300
@am__include@ @am__quote@./$(DEPDIR)/msdd_python.d@am__quote@
292 301

293 302
# -*- Makefile -*-
294 303
#
......
413 422

414 423
## Entry rule for running SWIG
415 424

416
msdd_rs.h msdd_rs.py msdd_rs_python.cc: msdd_rs.i
425
msdd_rs_python.h msdd_rs.py msdd_rs_python.cc msdd_rs_guile.cc msdd_rs_guile.h: msdd_rs.i
417 426
## This rule will get called only when MAKE decides that one of the
418 427
## targets needs to be created or re-created, because:
419 428
##
......
501 510
$(DEPDIR)/msdd_rs-generate-guile-stamp:
502 511
if GUILE
503 512
	if $(SWIG) $(STD_SWIG_GUILE_ARGS) $(msdd_rs_swig_args) \
504
		-MD -MF $(DEPDIR)/msdd_rs.Std \
513
		-MD -MF $(DEPDIR)/msdd_rs_guile.Std \
505 514
		-module msdd_rs -o msdd_rs_guile.cc $(WHAT); then \
506 515
	    if test $(host_os) = mingw32; then \
507
		$(RM) $(DEPDIR)/msdd_rs.Sd; \
508
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd_rs.Std \
509
			> $(DEPDIR)/msdd_rs.Sd; \
510
		$(RM) $(DEPDIR)/msdd_rs.Std; \
511
		$(MV) $(DEPDIR)/msdd_rs.Sd $(DEPDIR)/msdd_rs.Std; \
516
		$(RM) $(DEPDIR)/msdd_rs_guile.Sd; \
517
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd_rs_guile.Std \
518
			> $(DEPDIR)/msdd_rs_guile.Sd; \
519
		$(RM) $(DEPDIR)/msdd_rs_guile.Std; \
520
		$(MV) $(DEPDIR)/msdd_rs_guile.Sd $(DEPDIR)/msdd_rs_guile.Std; \
512 521
	    fi; \
513 522
	else \
514
	    $(RM) $(DEPDIR)/msdd_rs.S*; exit 1; \
523
	    $(RM) $(DEPDIR)/msdd_rs_guile.S*; exit 1; \
515 524
	fi;
516 525
	touch $(DEPDIR)/msdd_rs-generate-guile-stamp
526
	$(RM) $(DEPDIR)/msdd_rs_guile.d
527
	cp $(DEPDIR)/msdd_rs_guile.Std $(DEPDIR)/msdd_rs_guile.d
528
	echo "" >> $(DEPDIR)/msdd_rs_guile.d
529
	$(SED) -e '1d;s, \\,,g;s, ,,g' < $(DEPDIR)/msdd_rs_guile.Std | \
530
		awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/msdd_rs_guile.d
531
	$(RM) $(DEPDIR)/msdd_rs_guile.Std
532
	touch $(DEPDIR)/msdd_rs-generate-guile-stamp
533

534
@am__include@ @am__quote@./$(DEPDIR)/msdd_rs_guile.d@am__quote@
517 535
endif
518 536

519 537
$(DEPDIR)/msdd_rs-generate-python-stamp:
......
526 544
## post-processing on 'mingw32' host OS for the dependency file.
527 545
##
528 546
	if $(SWIG) $(STD_SWIG_PYTHON_ARGS) $(msdd_rs_swig_args) \
529
		-MD -MF $(DEPDIR)/msdd_rs.Std \
547
		-MD -MF $(DEPDIR)/msdd_rs_python.Std \
530 548
		-module msdd_rs -o msdd_rs_python.cc $(WHAT); then \
531 549
	    if test $(host_os) = mingw32; then \
532
		$(RM) $(DEPDIR)/msdd_rs.Sd; \
533
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd_rs.Std \
534
			> $(DEPDIR)/msdd_rs.Sd; \
535
		$(RM) $(DEPDIR)/msdd_rs.Std; \
536
		$(MV) $(DEPDIR)/msdd_rs.Sd $(DEPDIR)/msdd_rs.Std; \
550
		$(RM) $(DEPDIR)/msdd_rs_python.Sd; \
551
		$(SED) 's,\\\\,/,g' < $(DEPDIR)/msdd_rs_python.Std \
552
			> $(DEPDIR)/msdd_rs_python.Sd; \
553
		$(RM) $(DEPDIR)/msdd_rs_python.Std; \
554
		$(MV) $(DEPDIR)/msdd_rs_python.Sd $(DEPDIR)/msdd_rs_python.Std; \
537 555
	    fi; \
538 556
	else \
539
	    $(RM) $(DEPDIR)/msdd_rs.S*; exit 1; \
557
	    $(RM) $(DEPDIR)/msdd_rs_python.S*; exit 1; \
540 558
	fi;
541 559
##
542 560
## Mess with the SWIG output .Std dependency file, to create a
......
548 566
##
549 567
## (1) remove the current dependency file
550 568
##
551
	$(RM) $(DEPDIR)/msdd_rs.d
569
	$(RM) $(DEPDIR)/msdd_rs_python.d
552 570
##
553 571
## (2) Copy the whole SWIG file:
554 572
##
555
	cp $(DEPDIR)/msdd_rs.Std $(DEPDIR)/msdd_rs.d
573
	cp $(DEPDIR)/msdd_rs_python.Std $(DEPDIR)/msdd_rs_python.d
556 574
##
557 575
## (3) all a carriage return to the end of the dependency file.
558 576
##
559
	echo "" >> $(DEPDIR)/msdd_rs.d
577
	echo "" >> $(DEPDIR)/msdd_rs_python.d
560 578
##
561 579
## (4) from the SWIG file, remove the first line (the target); remove
562 580
##     trailing " \" and " " from each line.  Append ":" to each line,
563 581
##     followed by 2 carriage returns, then append this to the end of
564 582
##     the dependency file.
565 583
##
566
	$(SED) -e '1d;s, \\,,g;s, ,,g' < $(DEPDIR)/msdd_rs.Std | \
567
		awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/msdd_rs.d
584
	$(SED) -e '1d;s, \\,,g;s, ,,g' < $(DEPDIR)/msdd_rs_python.Std | \
585
		awk '{ printf "%s:\n\n", $$0 }' >> $(DEPDIR)/msdd_rs_python.d
568 586
##
569 587
## (5) remove the SWIG-generated file
570 588
##
571
	$(RM) $(DEPDIR)/msdd_rs.Std
589
	$(RM) $(DEPDIR)/msdd_rs_python.Std
572 590
##
573 591
## Create the stamp for this filename generation, to signal success in
574 592
## executing this rule; allows other threads waiting on this process
......
580 598
# not guaranteed to be portable, but will probably work.  If it works,
581 599
# we have accurate dependencies for our swig stuff, which is good.
582 600

583
@am__include@ @am__quote@./$(DEPDIR)/msdd_rs.d@am__quote@
601
@am__include@ @am__quote@./$(DEPDIR)/msdd_rs_python.d@am__quote@
584 602

Also available in: Unified diff