-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile.linux
1982 lines (1801 loc) · 110 KB
/
Makefile.linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- mode: makefile -*-
# Generated for linux at Fri Dec 21 07:44:44 2012.
# DO NOT EDIT! IT WILL BE OVERWRITTEN ON NEXT RUN!
#
# Command: SCRIPTS/buildbot/make-generator.py -o Makefile.linux linux
#
# Packages used:
# - efl
# - e_dbus
# - eeze
# - python-evas
# - python-ecore
# - python-e_dbus
# - efx
# - edbus
# - efreet
# - edje
# - python-edje
# - emotion
# - elementary
# - terminology
# - e
# - clouseau
SRCROOT = $(shell pwd)
BUILDROOT = $(shell pwd)/build
INSTALLROOT = $(shell pwd)/install
MAKEOPTS = --print-directory -j6
V=@
.DEFAULT: missing-target
.PHONY: missing-target help all clean efl-compile efl-clean efl-dependencies efl-install efl-test efl-doc efl-distcheck efl-all-users-compile efl-direct-users-compile e_dbus-compile e_dbus-clean e_dbus-dependencies e_dbus-install e_dbus-test e_dbus-doc e_dbus-distcheck e_dbus-all-users-compile e_dbus-direct-users-compile eeze-compile eeze-clean eeze-dependencies eeze-install eeze-test eeze-doc eeze-distcheck eeze-all-users-compile eeze-direct-users-compile python-evas-compile python-evas-clean python-evas-dependencies python-evas-install python-evas-test python-evas-doc python-evas-distcheck python-evas-all-users-compile python-evas-direct-users-compile python-ecore-compile python-ecore-clean python-ecore-dependencies python-ecore-install python-ecore-test python-ecore-doc python-ecore-distcheck python-ecore-all-users-compile python-ecore-direct-users-compile python-e_dbus-compile python-e_dbus-clean python-e_dbus-dependencies python-e_dbus-install python-e_dbus-test python-e_dbus-doc python-e_dbus-distcheck python-e_dbus-all-users-compile python-e_dbus-direct-users-compile efx-compile efx-clean efx-dependencies efx-install efx-test efx-doc efx-distcheck efx-all-users-compile efx-direct-users-compile edbus-compile edbus-clean edbus-dependencies edbus-install edbus-test edbus-doc edbus-distcheck edbus-all-users-compile edbus-direct-users-compile efreet-compile efreet-clean efreet-dependencies efreet-install efreet-test efreet-doc efreet-distcheck efreet-all-users-compile efreet-direct-users-compile edje-compile edje-clean edje-dependencies edje-install edje-test edje-doc edje-distcheck edje-all-users-compile edje-direct-users-compile python-edje-compile python-edje-clean python-edje-dependencies python-edje-install python-edje-test python-edje-doc python-edje-distcheck python-edje-all-users-compile python-edje-direct-users-compile emotion-compile emotion-clean emotion-dependencies emotion-install emotion-test emotion-doc emotion-distcheck emotion-all-users-compile emotion-direct-users-compile elementary-compile elementary-clean elementary-dependencies elementary-install elementary-test elementary-doc elementary-distcheck elementary-all-users-compile elementary-direct-users-compile terminology-compile terminology-clean terminology-dependencies terminology-install terminology-test terminology-doc terminology-distcheck terminology-all-users-compile terminology-direct-users-compile e-compile e-clean e-dependencies e-install e-test e-doc e-distcheck e-all-users-compile e-direct-users-compile clouseau-compile clouseau-clean clouseau-dependencies clouseau-install clouseau-test clouseau-doc clouseau-distcheck clouseau-all-users-compile clouseau-direct-users-compile
missing-target:
@echo "Missing target."
@exit 1
help:
@echo "Variables:"
@echo " SRCROOT=absolute-path where sources are located."
@echo " BUILDROOT=absolute-path where to store built files."
@echo " INSTALLROOT=absolute-path where to install built files."
@echo ""
@echo "Toplevel Targets:"
@echo " clean remove all built files."
@echo " all compile all packages."
@echo " test test all packages."
@echo " doc generate docs for all packages."
@echo " distcheck check distribution of all packages."
@echo ""
@echo "Package Targets:"
@echo " PACKAGE-compile compile package."
@echo " PACKAGE-clean remove all built files."
@echo " PACKAGE-dependencies compile and install package dependencies."
@echo " PACKAGE-install install package to \$$INSTALLROOT"
@echo " PACKAGE-test test package."
@echo " PACKAGE-doc generated documentation."
@echo " PACKAGE-distcheck check package distribution."
@echo " PACKAGE-all-users-compile compile all users of package."
@echo " PACKAGE-direct-users-compile compile all direct users of package."
@echo ""
@echo "Known packages:"
@echo " efl e_dbus eeze python-evas python-ecore python-e_dbus efx edbus efreet edje python-edje emotion elementary terminology e clouseau"
@echo ""
all: efl-compile e_dbus-compile eeze-compile python-evas-compile python-ecore-compile python-e_dbus-compile efx-compile edbus-compile efreet-compile edje-compile python-edje-compile emotion-compile elementary-compile terminology-compile e-compile clouseau-compile
clean: efl-clean e_dbus-clean eeze-clean python-evas-clean python-ecore-clean python-e_dbus-clean efx-clean edbus-clean efreet-clean edje-clean python-edje-clean emotion-clean elementary-clean terminology-clean e-clean clouseau-clean
test: efl-test e_dbus-test eeze-test python-evas-test python-ecore-test python-e_dbus-test efx-test edbus-test efreet-test edje-test python-edje-test emotion-test elementary-test terminology-test e-test clouseau-test
doc: efl-doc e_dbus-doc eeze-doc python-evas-doc python-ecore-doc python-e_dbus-doc efx-doc edbus-doc efreet-doc edje-doc python-edje-doc emotion-doc elementary-doc terminology-doc e-doc clouseau-doc
distcheck: efl-distcheck e_dbus-distcheck eeze-distcheck python-evas-distcheck python-ecore-distcheck python-e_dbus-distcheck efx-distcheck edbus-distcheck efreet-distcheck edje-distcheck python-edje-distcheck emotion-distcheck elementary-distcheck terminology-distcheck e-distcheck clouseau-distcheck
########################################################################
# efl rules
efl-dependencies: $(BUILDROOT)/efl/stamps/dependencies
$(BUILDROOT)/efl/stamps/dependencies:
$(V)mkdir -p $(BUILDROOT)/efl/stamps
touch $(BUILDROOT)/efl/stamps/dependencies
efl-clean:
if test -d $(BUILDROOT)/efl/compile; then chmod -R u+w $(BUILDROOT)/efl/compile; fi
rm -fr $(BUILDROOT)/efl/compile
rm -fr $(BUILDROOT)/efl/stamps
$(BUILDROOT)/efl/stamps/autogen: $(SRCROOT)/efl/autogen.sh $(SRCROOT)/efl/configure.ac
$(V)echo "Running 'autogen.sh' for efl..."
$(V)rm -f $(BUILDROOT)/efl/stamps/autogen
cd $(SRCROOT)/efl && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/efl/stamps
touch $(BUILDROOT)/efl/stamps/autogen
$(V)echo "Success running 'autogen.sh' for efl."
$(BUILDROOT)/efl/stamps/configure: $(BUILDROOT)/efl/stamps/autogen $(BUILDROOT)/efl/stamps/dependencies
$(V)echo "Configuring efl..."
$(V)rm -f $(BUILDROOT)/efl/stamps/configure
$(V)mkdir -p $(BUILDROOT)/efl/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/efl/compile && \
$(SRCROOT)/efl/configure --prefix=$(INSTALLROOT) --enable-doc \
--with-tests=coverage
$(V)mkdir -p $(BUILDROOT)/efl/stamps
touch $(BUILDROOT)/efl/stamps/configure
$(V)echo "Success configuring efl."
$(BUILDROOT)/efl/stamps/compile: $(BUILDROOT)/efl/stamps/configure efl-compile
efl-compile: $(BUILDROOT)/efl/stamps/configure
$(V)echo "Compiling efl..."
$(V)rm -f $(BUILDROOT)/efl/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/efl/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/efl/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/efl/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/efl/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/efl/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/efl/compile;\
else\
echo "efl is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/efl/stamps/compile -o -f $(BUILDROOT)/efl/stamps/compile-updated; then\
touch $(BUILDROOT)/efl/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling efl."
$(BUILDROOT)/efl/stamps/install: $(BUILDROOT)/efl/stamps/compile efl-install
efl-install: $(BUILDROOT)/efl/stamps/compile
$(V)echo "Installing efl..."
$(V)if test ! -f $(BUILDROOT)/efl/stamps/install -o $(BUILDROOT)/efl/stamps/compile -nt $(BUILDROOT)/efl/stamps/install; then\
rm -f $(BUILDROOT)/efl/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/efl/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/efl/compile;\
mkdir -p $(BUILDROOT)/efl/stamps;\
touch $(BUILDROOT)/efl/stamps/install;\
else\
echo "efl did not change, not need to reinstall.";\
fi
$(V)echo "Success installing efl."
$(BUILDROOT)/efl/stamps/test: $(BUILDROOT)/efl/stamps/compile efl-test
efl-test: $(BUILDROOT)/efl/stamps/compile
$(V)echo "Testing (make check) efl..."
$(V)rm -f $(BUILDROOT)/efl/stamps/test
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
dbus-launch make $(MAKEOPTS) check -C $(BUILDROOT)/efl/compile
$(V)mkdir -p $(BUILDROOT)/efl/stamps
touch $(BUILDROOT)/efl/stamps/test
$(V)echo "Success testing (make check) efl."
$(BUILDROOT)/efl/stamps/doc: $(BUILDROOT)/efl/stamps/compile efl-doc
efl-doc: $(BUILDROOT)/efl/stamps/compile
$(V)echo "Generating documentation (make doc) efl..."
$(V)rm -f $(BUILDROOT)/efl/stamps/doc
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) doc -C $(BUILDROOT)/efl/compile
$(V)mkdir -p $(BUILDROOT)/efl/stamps
touch $(BUILDROOT)/efl/stamps/doc
$(V)echo "Success generating documentation (make doc) efl."
$(BUILDROOT)/efl/stamps/distcheck: $(BUILDROOT)/efl/stamps/compile efl-distcheck
efl-distcheck: $(BUILDROOT)/efl/stamps/compile
$(V)echo "Checking distribution efl..."
$(V)rm -f $(BUILDROOT)/efl/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/efl/compile
$(V)mkdir -p $(BUILDROOT)/efl/stamps
touch $(BUILDROOT)/efl/stamps/distcheck
$(V)echo "Success checking distribution efl."
efl-direct-users-compile: edje-compile emotion-compile edbus-compile efx-compile e-compile python-evas-compile eeze-compile efreet-compile e_dbus-compile elementary-compile python-ecore-compile clouseau-compile terminology-compile
efl-all-users-compile: edje-compile emotion-compile edbus-compile efx-compile e-compile python-evas-compile python-edje-compile eeze-compile efreet-compile e_dbus-compile python-ecore-compile elementary-compile python-e_dbus-compile clouseau-compile terminology-compile
########################################################################
# e_dbus rules
e_dbus-dependencies: $(BUILDROOT)/e_dbus/stamps/dependencies efl-install
$(BUILDROOT)/e_dbus/stamps/dependencies: $(BUILDROOT)/efl/stamps/install
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
touch $(BUILDROOT)/e_dbus/stamps/dependencies
e_dbus-clean:
if test -d $(BUILDROOT)/e_dbus/compile; then chmod -R u+w $(BUILDROOT)/e_dbus/compile; fi
rm -fr $(BUILDROOT)/e_dbus/compile
rm -fr $(BUILDROOT)/e_dbus/stamps
$(BUILDROOT)/e_dbus/stamps/autogen: $(SRCROOT)/e_dbus/autogen.sh $(SRCROOT)/e_dbus/configure.ac
$(V)echo "Running 'autogen.sh' for e_dbus..."
$(V)rm -f $(BUILDROOT)/e_dbus/stamps/autogen
cd $(SRCROOT)/e_dbus && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
touch $(BUILDROOT)/e_dbus/stamps/autogen
$(V)echo "Success running 'autogen.sh' for e_dbus."
$(BUILDROOT)/e_dbus/stamps/configure: $(BUILDROOT)/e_dbus/stamps/autogen $(BUILDROOT)/e_dbus/stamps/dependencies
$(V)echo "Configuring e_dbus..."
$(V)rm -f $(BUILDROOT)/e_dbus/stamps/configure
$(V)mkdir -p $(BUILDROOT)/e_dbus/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/e_dbus/compile && \
$(SRCROOT)/e_dbus/configure --prefix=$(INSTALLROOT) --enable-doc \
--enable-ebluez \
--enable-econnman0_7x \
--enable-enotify \
--enable-eofono \
--enable-eukit
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
touch $(BUILDROOT)/e_dbus/stamps/configure
$(V)echo "Success configuring e_dbus."
$(BUILDROOT)/e_dbus/stamps/compile: $(BUILDROOT)/e_dbus/stamps/configure e_dbus-compile
e_dbus-compile: $(BUILDROOT)/e_dbus/stamps/configure
$(V)echo "Compiling e_dbus..."
$(V)rm -f $(BUILDROOT)/e_dbus/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/e_dbus/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/e_dbus/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/e_dbus/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/e_dbus/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/e_dbus/compile;\
else\
echo "e_dbus is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/e_dbus/stamps/compile -o -f $(BUILDROOT)/e_dbus/stamps/compile-updated; then\
touch $(BUILDROOT)/e_dbus/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling e_dbus."
$(BUILDROOT)/e_dbus/stamps/install: $(BUILDROOT)/e_dbus/stamps/compile e_dbus-install
e_dbus-install: $(BUILDROOT)/e_dbus/stamps/compile
$(V)echo "Installing e_dbus..."
$(V)if test ! -f $(BUILDROOT)/e_dbus/stamps/install -o $(BUILDROOT)/e_dbus/stamps/compile -nt $(BUILDROOT)/e_dbus/stamps/install; then\
rm -f $(BUILDROOT)/e_dbus/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/e_dbus/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/e_dbus/compile;\
mkdir -p $(BUILDROOT)/e_dbus/stamps;\
touch $(BUILDROOT)/e_dbus/stamps/install;\
else\
echo "e_dbus did not change, not need to reinstall.";\
fi
$(V)echo "Success installing e_dbus."
$(BUILDROOT)/e_dbus/stamps/test: $(BUILDROOT)/e_dbus/stamps/compile e_dbus-test
e_dbus-test: $(BUILDROOT)/e_dbus/stamps/compile
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
touch $(BUILDROOT)/e_dbus/stamps/test
$(V)echo 'No test target defined for e_dbus'
$(BUILDROOT)/e_dbus/stamps/doc: $(BUILDROOT)/e_dbus/stamps/compile e_dbus-doc
e_dbus-doc: $(BUILDROOT)/e_dbus/stamps/compile
$(V)echo "Generating documentation (make doc) e_dbus..."
$(V)rm -f $(BUILDROOT)/e_dbus/stamps/doc
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) doc -C $(BUILDROOT)/e_dbus/compile
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
touch $(BUILDROOT)/e_dbus/stamps/doc
$(V)echo "Success generating documentation (make doc) e_dbus."
$(BUILDROOT)/e_dbus/stamps/distcheck: $(BUILDROOT)/e_dbus/stamps/compile e_dbus-distcheck
e_dbus-distcheck: $(BUILDROOT)/e_dbus/stamps/compile
$(V)echo "Checking distribution e_dbus..."
$(V)rm -f $(BUILDROOT)/e_dbus/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/e_dbus/compile
$(V)mkdir -p $(BUILDROOT)/e_dbus/stamps
touch $(BUILDROOT)/e_dbus/stamps/distcheck
$(V)echo "Success checking distribution e_dbus."
e_dbus-direct-users-compile: elementary-compile python-e_dbus-compile e-compile
e_dbus-all-users-compile: elementary-compile python-e_dbus-compile clouseau-compile e-compile terminology-compile
########################################################################
# eeze rules
eeze-dependencies: $(BUILDROOT)/eeze/stamps/dependencies efl-install
$(BUILDROOT)/eeze/stamps/dependencies: $(BUILDROOT)/efl/stamps/install
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
touch $(BUILDROOT)/eeze/stamps/dependencies
eeze-clean:
if test -d $(BUILDROOT)/eeze/compile; then chmod -R u+w $(BUILDROOT)/eeze/compile; fi
rm -fr $(BUILDROOT)/eeze/compile
rm -fr $(BUILDROOT)/eeze/stamps
$(BUILDROOT)/eeze/stamps/autogen: $(SRCROOT)/eeze/autogen.sh $(SRCROOT)/eeze/configure.ac
$(V)echo "Running 'autogen.sh' for eeze..."
$(V)rm -f $(BUILDROOT)/eeze/stamps/autogen
cd $(SRCROOT)/eeze && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
touch $(BUILDROOT)/eeze/stamps/autogen
$(V)echo "Success running 'autogen.sh' for eeze."
$(BUILDROOT)/eeze/stamps/configure: $(BUILDROOT)/eeze/stamps/autogen $(BUILDROOT)/eeze/stamps/dependencies
$(V)echo "Configuring eeze..."
$(V)rm -f $(BUILDROOT)/eeze/stamps/configure
$(V)mkdir -p $(BUILDROOT)/eeze/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/eeze/compile && \
$(SRCROOT)/eeze/configure --prefix=$(INSTALLROOT) --enable-doc \
--enable-tests \
--with-mount \
--with-umount \
--with-eject
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
touch $(BUILDROOT)/eeze/stamps/configure
$(V)echo "Success configuring eeze."
$(BUILDROOT)/eeze/stamps/compile: $(BUILDROOT)/eeze/stamps/configure eeze-compile
eeze-compile: $(BUILDROOT)/eeze/stamps/configure
$(V)echo "Compiling eeze..."
$(V)rm -f $(BUILDROOT)/eeze/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/eeze/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/eeze/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/eeze/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/eeze/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/eeze/compile;\
else\
echo "eeze is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/eeze/stamps/compile -o -f $(BUILDROOT)/eeze/stamps/compile-updated; then\
touch $(BUILDROOT)/eeze/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling eeze."
$(BUILDROOT)/eeze/stamps/install: $(BUILDROOT)/eeze/stamps/compile eeze-install
eeze-install: $(BUILDROOT)/eeze/stamps/compile
$(V)echo "Installing eeze..."
$(V)if test ! -f $(BUILDROOT)/eeze/stamps/install -o $(BUILDROOT)/eeze/stamps/compile -nt $(BUILDROOT)/eeze/stamps/install; then\
rm -f $(BUILDROOT)/eeze/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/eeze/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/eeze/compile;\
mkdir -p $(BUILDROOT)/eeze/stamps;\
touch $(BUILDROOT)/eeze/stamps/install;\
else\
echo "eeze did not change, not need to reinstall.";\
fi
$(V)echo "Success installing eeze."
$(BUILDROOT)/eeze/stamps/test: $(BUILDROOT)/eeze/stamps/compile eeze-test
eeze-test: $(BUILDROOT)/eeze/stamps/compile
$(V)echo "Testing (make check) eeze..."
$(V)rm -f $(BUILDROOT)/eeze/stamps/test
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
dbus-launch make $(MAKEOPTS) check -C $(BUILDROOT)/eeze/compile
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
touch $(BUILDROOT)/eeze/stamps/test
$(V)echo "Success testing (make check) eeze."
$(BUILDROOT)/eeze/stamps/doc: $(BUILDROOT)/eeze/stamps/compile eeze-doc
eeze-doc: $(BUILDROOT)/eeze/stamps/compile
$(V)echo "Generating documentation (make doc) eeze..."
$(V)rm -f $(BUILDROOT)/eeze/stamps/doc
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) doc -C $(BUILDROOT)/eeze/compile
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
touch $(BUILDROOT)/eeze/stamps/doc
$(V)echo "Success generating documentation (make doc) eeze."
$(BUILDROOT)/eeze/stamps/distcheck: $(BUILDROOT)/eeze/stamps/compile eeze-distcheck
eeze-distcheck: $(BUILDROOT)/eeze/stamps/compile
$(V)echo "Checking distribution eeze..."
$(V)rm -f $(BUILDROOT)/eeze/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/eeze/compile
$(V)mkdir -p $(BUILDROOT)/eeze/stamps
touch $(BUILDROOT)/eeze/stamps/distcheck
$(V)echo "Success checking distribution eeze."
eeze-direct-users-compile: emotion-compile e-compile
eeze-all-users-compile: emotion-compile elementary-compile clouseau-compile e-compile terminology-compile
########################################################################
# python-evas rules
python-evas-dependencies: $(BUILDROOT)/python-evas/stamps/dependencies efl-install
$(BUILDROOT)/python-evas/stamps/dependencies: $(BUILDROOT)/efl/stamps/install
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
touch $(BUILDROOT)/python-evas/stamps/dependencies
python-evas-clean:
if test -d $(BUILDROOT)/python-evas/compile; then chmod -R u+w $(BUILDROOT)/python-evas/compile; fi
rm -fr $(BUILDROOT)/python-evas/compile
rm -fr $(BUILDROOT)/python-evas/stamps
$(BUILDROOT)/python-evas/stamps/autogen: $(SRCROOT)/BINDINGS/python/python-evas/autogen.sh $(SRCROOT)/BINDINGS/python/python-evas/configure.ac
$(V)echo "Running 'autogen.sh' for python-evas..."
$(V)rm -f $(BUILDROOT)/python-evas/stamps/autogen
cd $(SRCROOT)/BINDINGS/python/python-evas && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
touch $(BUILDROOT)/python-evas/stamps/autogen
$(V)echo "Success running 'autogen.sh' for python-evas."
$(BUILDROOT)/python-evas/stamps/configure: $(BUILDROOT)/python-evas/stamps/autogen $(BUILDROOT)/python-evas/stamps/dependencies
$(V)echo "Configuring python-evas..."
$(V)rm -f $(BUILDROOT)/python-evas/stamps/configure
$(V)mkdir -p $(BUILDROOT)/python-evas/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/python-evas/compile && \
$(SRCROOT)/BINDINGS/python/python-evas/configure --prefix=$(INSTALLROOT)
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
touch $(BUILDROOT)/python-evas/stamps/configure
$(V)echo "Success configuring python-evas."
$(BUILDROOT)/python-evas/stamps/compile: $(BUILDROOT)/python-evas/stamps/configure python-evas-compile
python-evas-compile: $(BUILDROOT)/python-evas/stamps/configure
$(V)echo "Compiling python-evas..."
$(V)rm -f $(BUILDROOT)/python-evas/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/python-evas/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/python-evas/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/python-evas/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/python-evas/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/python-evas/compile;\
else\
echo "python-evas is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/python-evas/stamps/compile -o -f $(BUILDROOT)/python-evas/stamps/compile-updated; then\
touch $(BUILDROOT)/python-evas/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling python-evas."
$(BUILDROOT)/python-evas/stamps/install: $(BUILDROOT)/python-evas/stamps/compile python-evas-install
python-evas-install: $(BUILDROOT)/python-evas/stamps/compile
$(V)echo "Installing python-evas..."
$(V)if test ! -f $(BUILDROOT)/python-evas/stamps/install -o $(BUILDROOT)/python-evas/stamps/compile -nt $(BUILDROOT)/python-evas/stamps/install; then\
rm -f $(BUILDROOT)/python-evas/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/python-evas/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/python-evas/compile;\
mkdir -p $(BUILDROOT)/python-evas/stamps;\
touch $(BUILDROOT)/python-evas/stamps/install;\
else\
echo "python-evas did not change, not need to reinstall.";\
fi
$(V)echo "Success installing python-evas."
$(BUILDROOT)/python-evas/stamps/test: $(BUILDROOT)/python-evas/stamps/compile python-evas-test
python-evas-test: $(BUILDROOT)/python-evas/stamps/compile
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
touch $(BUILDROOT)/python-evas/stamps/test
$(V)echo 'No test target defined for python-evas'
$(BUILDROOT)/python-evas/stamps/doc: $(BUILDROOT)/python-evas/stamps/compile python-evas-doc
python-evas-doc: $(BUILDROOT)/python-evas/stamps/compile
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
touch $(BUILDROOT)/python-evas/stamps/doc
$(V)echo 'No doc target defined for python-evas'
$(BUILDROOT)/python-evas/stamps/distcheck: $(BUILDROOT)/python-evas/stamps/compile python-evas-distcheck
python-evas-distcheck: $(BUILDROOT)/python-evas/stamps/compile
$(V)echo "Checking distribution python-evas..."
$(V)rm -f $(BUILDROOT)/python-evas/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/python-evas/compile
$(V)mkdir -p $(BUILDROOT)/python-evas/stamps
touch $(BUILDROOT)/python-evas/stamps/distcheck
$(V)echo "Success checking distribution python-evas."
python-evas-direct-users-compile: python-e_dbus-compile python-edje-compile python-ecore-compile
python-evas-all-users-compile: python-edje-compile python-e_dbus-compile python-ecore-compile
########################################################################
# python-ecore rules
python-ecore-dependencies: $(BUILDROOT)/python-ecore/stamps/dependencies python-evas-install efl-install
$(BUILDROOT)/python-ecore/stamps/dependencies: $(BUILDROOT)/python-evas/stamps/install $(BUILDROOT)/efl/stamps/install
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
touch $(BUILDROOT)/python-ecore/stamps/dependencies
python-ecore-clean:
if test -d $(BUILDROOT)/python-ecore/compile; then chmod -R u+w $(BUILDROOT)/python-ecore/compile; fi
rm -fr $(BUILDROOT)/python-ecore/compile
rm -fr $(BUILDROOT)/python-ecore/stamps
$(BUILDROOT)/python-ecore/stamps/autogen: $(SRCROOT)/BINDINGS/python/python-ecore/autogen.sh $(SRCROOT)/BINDINGS/python/python-ecore/configure.ac
$(V)echo "Running 'autogen.sh' for python-ecore..."
$(V)rm -f $(BUILDROOT)/python-ecore/stamps/autogen
cd $(SRCROOT)/BINDINGS/python/python-ecore && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
touch $(BUILDROOT)/python-ecore/stamps/autogen
$(V)echo "Success running 'autogen.sh' for python-ecore."
$(BUILDROOT)/python-ecore/stamps/configure: $(BUILDROOT)/python-ecore/stamps/autogen $(BUILDROOT)/python-ecore/stamps/dependencies
$(V)echo "Configuring python-ecore..."
$(V)rm -f $(BUILDROOT)/python-ecore/stamps/configure
$(V)mkdir -p $(BUILDROOT)/python-ecore/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/python-ecore/compile && \
$(SRCROOT)/BINDINGS/python/python-ecore/configure --prefix=$(INSTALLROOT) --enable-ecore-file \
--enable-ecore-evas \
--enable-ecore-x \
--enable-ecore-imf
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
touch $(BUILDROOT)/python-ecore/stamps/configure
$(V)echo "Success configuring python-ecore."
$(BUILDROOT)/python-ecore/stamps/compile: $(BUILDROOT)/python-ecore/stamps/configure python-ecore-compile
python-ecore-compile: $(BUILDROOT)/python-ecore/stamps/configure
$(V)echo "Compiling python-ecore..."
$(V)rm -f $(BUILDROOT)/python-ecore/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/python-ecore/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/python-ecore/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/python-ecore/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/python-ecore/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/python-ecore/compile;\
else\
echo "python-ecore is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/python-ecore/stamps/compile -o -f $(BUILDROOT)/python-ecore/stamps/compile-updated; then\
touch $(BUILDROOT)/python-ecore/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling python-ecore."
$(BUILDROOT)/python-ecore/stamps/install: $(BUILDROOT)/python-ecore/stamps/compile python-ecore-install
python-ecore-install: $(BUILDROOT)/python-ecore/stamps/compile
$(V)echo "Installing python-ecore..."
$(V)if test ! -f $(BUILDROOT)/python-ecore/stamps/install -o $(BUILDROOT)/python-ecore/stamps/compile -nt $(BUILDROOT)/python-ecore/stamps/install; then\
rm -f $(BUILDROOT)/python-ecore/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/python-ecore/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/python-ecore/compile;\
mkdir -p $(BUILDROOT)/python-ecore/stamps;\
touch $(BUILDROOT)/python-ecore/stamps/install;\
else\
echo "python-ecore did not change, not need to reinstall.";\
fi
$(V)echo "Success installing python-ecore."
$(BUILDROOT)/python-ecore/stamps/test: $(BUILDROOT)/python-ecore/stamps/compile python-ecore-test
python-ecore-test: $(BUILDROOT)/python-ecore/stamps/compile
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
touch $(BUILDROOT)/python-ecore/stamps/test
$(V)echo 'No test target defined for python-ecore'
$(BUILDROOT)/python-ecore/stamps/doc: $(BUILDROOT)/python-ecore/stamps/compile python-ecore-doc
python-ecore-doc: $(BUILDROOT)/python-ecore/stamps/compile
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
touch $(BUILDROOT)/python-ecore/stamps/doc
$(V)echo 'No doc target defined for python-ecore'
$(BUILDROOT)/python-ecore/stamps/distcheck: $(BUILDROOT)/python-ecore/stamps/compile python-ecore-distcheck
python-ecore-distcheck: $(BUILDROOT)/python-ecore/stamps/compile
$(V)echo "Checking distribution python-ecore..."
$(V)rm -f $(BUILDROOT)/python-ecore/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-shadow -Wno-strict-aliasing";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/python-ecore/compile
$(V)mkdir -p $(BUILDROOT)/python-ecore/stamps
touch $(BUILDROOT)/python-ecore/stamps/distcheck
$(V)echo "Success checking distribution python-ecore."
python-ecore-direct-users-compile:
python-ecore-all-users-compile:
########################################################################
# python-e_dbus rules
python-e_dbus-dependencies: $(BUILDROOT)/python-e_dbus/stamps/dependencies e_dbus-install python-evas-install
$(BUILDROOT)/python-e_dbus/stamps/dependencies: $(BUILDROOT)/e_dbus/stamps/install $(BUILDROOT)/python-evas/stamps/install
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
touch $(BUILDROOT)/python-e_dbus/stamps/dependencies
python-e_dbus-clean:
if test -d $(BUILDROOT)/python-e_dbus/compile; then chmod -R u+w $(BUILDROOT)/python-e_dbus/compile; fi
rm -fr $(BUILDROOT)/python-e_dbus/compile
rm -fr $(BUILDROOT)/python-e_dbus/stamps
$(BUILDROOT)/python-e_dbus/stamps/autogen: $(SRCROOT)/BINDINGS/python/python-e_dbus/autogen.sh $(SRCROOT)/BINDINGS/python/python-e_dbus/configure.ac
$(V)echo "Running 'autogen.sh' for python-e_dbus..."
$(V)rm -f $(BUILDROOT)/python-e_dbus/stamps/autogen
cd $(SRCROOT)/BINDINGS/python/python-e_dbus && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
touch $(BUILDROOT)/python-e_dbus/stamps/autogen
$(V)echo "Success running 'autogen.sh' for python-e_dbus."
$(BUILDROOT)/python-e_dbus/stamps/configure: $(BUILDROOT)/python-e_dbus/stamps/autogen $(BUILDROOT)/python-e_dbus/stamps/dependencies
$(V)echo "Configuring python-e_dbus..."
$(V)rm -f $(BUILDROOT)/python-e_dbus/stamps/configure
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/python-e_dbus/compile && \
$(SRCROOT)/BINDINGS/python/python-e_dbus/configure --prefix=$(INSTALLROOT)
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
touch $(BUILDROOT)/python-e_dbus/stamps/configure
$(V)echo "Success configuring python-e_dbus."
$(BUILDROOT)/python-e_dbus/stamps/compile: $(BUILDROOT)/python-e_dbus/stamps/configure python-e_dbus-compile
python-e_dbus-compile: $(BUILDROOT)/python-e_dbus/stamps/configure
$(V)echo "Compiling python-e_dbus..."
$(V)rm -f $(BUILDROOT)/python-e_dbus/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/python-e_dbus/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/python-e_dbus/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/python-e_dbus/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/python-e_dbus/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/python-e_dbus/compile;\
else\
echo "python-e_dbus is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/python-e_dbus/stamps/compile -o -f $(BUILDROOT)/python-e_dbus/stamps/compile-updated; then\
touch $(BUILDROOT)/python-e_dbus/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling python-e_dbus."
$(BUILDROOT)/python-e_dbus/stamps/install: $(BUILDROOT)/python-e_dbus/stamps/compile python-e_dbus-install
python-e_dbus-install: $(BUILDROOT)/python-e_dbus/stamps/compile
$(V)echo "Installing python-e_dbus..."
$(V)if test ! -f $(BUILDROOT)/python-e_dbus/stamps/install -o $(BUILDROOT)/python-e_dbus/stamps/compile -nt $(BUILDROOT)/python-e_dbus/stamps/install; then\
rm -f $(BUILDROOT)/python-e_dbus/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/python-e_dbus/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/python-e_dbus/compile;\
mkdir -p $(BUILDROOT)/python-e_dbus/stamps;\
touch $(BUILDROOT)/python-e_dbus/stamps/install;\
else\
echo "python-e_dbus did not change, not need to reinstall.";\
fi
$(V)echo "Success installing python-e_dbus."
$(BUILDROOT)/python-e_dbus/stamps/test: $(BUILDROOT)/python-e_dbus/stamps/compile python-e_dbus-test
python-e_dbus-test: $(BUILDROOT)/python-e_dbus/stamps/compile
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
touch $(BUILDROOT)/python-e_dbus/stamps/test
$(V)echo 'No test target defined for python-e_dbus'
$(BUILDROOT)/python-e_dbus/stamps/doc: $(BUILDROOT)/python-e_dbus/stamps/compile python-e_dbus-doc
python-e_dbus-doc: $(BUILDROOT)/python-e_dbus/stamps/compile
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
touch $(BUILDROOT)/python-e_dbus/stamps/doc
$(V)echo 'No doc target defined for python-e_dbus'
$(BUILDROOT)/python-e_dbus/stamps/distcheck: $(BUILDROOT)/python-e_dbus/stamps/compile python-e_dbus-distcheck
python-e_dbus-distcheck: $(BUILDROOT)/python-e_dbus/stamps/compile
$(V)echo "Checking distribution python-e_dbus..."
$(V)rm -f $(BUILDROOT)/python-e_dbus/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/python-e_dbus/compile
$(V)mkdir -p $(BUILDROOT)/python-e_dbus/stamps
touch $(BUILDROOT)/python-e_dbus/stamps/distcheck
$(V)echo "Success checking distribution python-e_dbus."
python-e_dbus-direct-users-compile:
python-e_dbus-all-users-compile:
########################################################################
# efx rules
efx-dependencies: $(BUILDROOT)/efx/stamps/dependencies efl-install
$(BUILDROOT)/efx/stamps/dependencies: $(BUILDROOT)/efl/stamps/install
$(V)mkdir -p $(BUILDROOT)/efx/stamps
touch $(BUILDROOT)/efx/stamps/dependencies
efx-clean:
if test -d $(BUILDROOT)/efx/compile; then chmod -R u+w $(BUILDROOT)/efx/compile; fi
rm -fr $(BUILDROOT)/efx/compile
rm -fr $(BUILDROOT)/efx/stamps
$(BUILDROOT)/efx/stamps/autogen: $(SRCROOT)/efx/autogen.sh $(SRCROOT)/efx/configure.ac
$(V)echo "Running 'autogen.sh' for efx..."
$(V)rm -f $(BUILDROOT)/efx/stamps/autogen
cd $(SRCROOT)/efx && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/efx/stamps
touch $(BUILDROOT)/efx/stamps/autogen
$(V)echo "Success running 'autogen.sh' for efx."
$(BUILDROOT)/efx/stamps/configure: $(BUILDROOT)/efx/stamps/autogen $(BUILDROOT)/efx/stamps/dependencies
$(V)echo "Configuring efx..."
$(V)rm -f $(BUILDROOT)/efx/stamps/configure
$(V)mkdir -p $(BUILDROOT)/efx/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/efx/compile && \
$(SRCROOT)/efx/configure --prefix=$(INSTALLROOT)
$(V)mkdir -p $(BUILDROOT)/efx/stamps
touch $(BUILDROOT)/efx/stamps/configure
$(V)echo "Success configuring efx."
$(BUILDROOT)/efx/stamps/compile: $(BUILDROOT)/efx/stamps/configure efx-compile
efx-compile: $(BUILDROOT)/efx/stamps/configure
$(V)echo "Compiling efx..."
$(V)rm -f $(BUILDROOT)/efx/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/efx/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/efx/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/efx/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/efx/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/efx/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/efx/compile;\
else\
echo "efx is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/efx/stamps/compile -o -f $(BUILDROOT)/efx/stamps/compile-updated; then\
touch $(BUILDROOT)/efx/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling efx."
$(BUILDROOT)/efx/stamps/install: $(BUILDROOT)/efx/stamps/compile efx-install
efx-install: $(BUILDROOT)/efx/stamps/compile
$(V)echo "Installing efx..."
$(V)if test ! -f $(BUILDROOT)/efx/stamps/install -o $(BUILDROOT)/efx/stamps/compile -nt $(BUILDROOT)/efx/stamps/install; then\
rm -f $(BUILDROOT)/efx/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/efx/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/efx/compile;\
mkdir -p $(BUILDROOT)/efx/stamps;\
touch $(BUILDROOT)/efx/stamps/install;\
else\
echo "efx did not change, not need to reinstall.";\
fi
$(V)echo "Success installing efx."
$(BUILDROOT)/efx/stamps/test: $(BUILDROOT)/efx/stamps/compile efx-test
efx-test: $(BUILDROOT)/efx/stamps/compile
$(V)mkdir -p $(BUILDROOT)/efx/stamps
touch $(BUILDROOT)/efx/stamps/test
$(V)echo 'No test target defined for efx'
$(BUILDROOT)/efx/stamps/doc: $(BUILDROOT)/efx/stamps/compile efx-doc
efx-doc: $(BUILDROOT)/efx/stamps/compile
$(V)echo "Generating documentation (make doc) efx..."
$(V)rm -f $(BUILDROOT)/efx/stamps/doc
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) doc -C $(BUILDROOT)/efx/compile
$(V)mkdir -p $(BUILDROOT)/efx/stamps
touch $(BUILDROOT)/efx/stamps/doc
$(V)echo "Success generating documentation (make doc) efx."
$(BUILDROOT)/efx/stamps/distcheck: $(BUILDROOT)/efx/stamps/compile efx-distcheck
efx-distcheck: $(BUILDROOT)/efx/stamps/compile
$(V)echo "Checking distribution efx..."
$(V)rm -f $(BUILDROOT)/efx/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) distcheck -C $(BUILDROOT)/efx/compile
$(V)mkdir -p $(BUILDROOT)/efx/stamps
touch $(BUILDROOT)/efx/stamps/distcheck
$(V)echo "Success checking distribution efx."
efx-direct-users-compile:
efx-all-users-compile:
########################################################################
# edbus rules
edbus-dependencies: $(BUILDROOT)/edbus/stamps/dependencies efl-install
$(BUILDROOT)/edbus/stamps/dependencies: $(BUILDROOT)/efl/stamps/install
$(V)mkdir -p $(BUILDROOT)/edbus/stamps
touch $(BUILDROOT)/edbus/stamps/dependencies
edbus-clean:
if test -d $(BUILDROOT)/edbus/compile; then chmod -R u+w $(BUILDROOT)/edbus/compile; fi
rm -fr $(BUILDROOT)/edbus/compile
rm -fr $(BUILDROOT)/edbus/stamps
$(BUILDROOT)/edbus/stamps/autogen: $(SRCROOT)/edbus/autogen.sh $(SRCROOT)/edbus/configure.ac
$(V)echo "Running 'autogen.sh' for edbus..."
$(V)rm -f $(BUILDROOT)/edbus/stamps/autogen
cd $(SRCROOT)/edbus && NOCONFIGURE=1 ./autogen.sh
$(V)mkdir -p $(BUILDROOT)/edbus/stamps
touch $(BUILDROOT)/edbus/stamps/autogen
$(V)echo "Success running 'autogen.sh' for edbus."
$(BUILDROOT)/edbus/stamps/configure: $(BUILDROOT)/edbus/stamps/autogen $(BUILDROOT)/edbus/stamps/dependencies
$(V)echo "Configuring edbus..."
$(V)rm -f $(BUILDROOT)/edbus/stamps/configure
$(V)mkdir -p $(BUILDROOT)/edbus/compile
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
cd $(BUILDROOT)/edbus/compile && \
$(SRCROOT)/edbus/configure --prefix=$(INSTALLROOT)
$(V)mkdir -p $(BUILDROOT)/edbus/stamps
touch $(BUILDROOT)/edbus/stamps/configure
$(V)echo "Success configuring edbus."
$(BUILDROOT)/edbus/stamps/compile: $(BUILDROOT)/edbus/stamps/configure edbus-compile
edbus-compile: $(BUILDROOT)/edbus/stamps/configure
$(V)echo "Compiling edbus..."
$(V)rm -f $(BUILDROOT)/edbus/stamps/compile-updated
$(V)mkdir -p $(BUILDROOT)/edbus/stamps
$(V)if make --dry-run $(MAKEOPTS) all -C $(BUILDROOT)/edbus/compile 2>/dev/null | grep -e 'libtool ' >/dev/null 2>/dev/null; then\
touch $(BUILDROOT)/edbus/stamps/compile-updated;\
fi
$(V)if test -f $(BUILDROOT)/edbus/stamps/compile-updated; then\
echo "make $(MAKEOPTS) all -C $(BUILDROOT)/edbus/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) all -C $(BUILDROOT)/edbus/compile;\
else\
echo "edbus is up to date.";\
fi
$(V)if test ! -f $(BUILDROOT)/edbus/stamps/compile -o -f $(BUILDROOT)/edbus/stamps/compile-updated; then\
touch $(BUILDROOT)/edbus/stamps/compile;\
echo "Compile updated, needs reinstall.";\
fi
$(V)echo "Success compiling edbus."
$(BUILDROOT)/edbus/stamps/install: $(BUILDROOT)/edbus/stamps/compile edbus-install
edbus-install: $(BUILDROOT)/edbus/stamps/compile
$(V)echo "Installing edbus..."
$(V)if test ! -f $(BUILDROOT)/edbus/stamps/install -o $(BUILDROOT)/edbus/stamps/compile -nt $(BUILDROOT)/edbus/stamps/install; then\
rm -f $(BUILDROOT)/edbus/stamps/install;\
echo "make $(MAKEOPTS) install -C $(BUILDROOT)/edbus/compile";\
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) install -C $(BUILDROOT)/edbus/compile;\
mkdir -p $(BUILDROOT)/edbus/stamps;\
touch $(BUILDROOT)/edbus/stamps/install;\
else\
echo "edbus did not change, not need to reinstall.";\
fi
$(V)echo "Success installing edbus."
$(BUILDROOT)/edbus/stamps/test: $(BUILDROOT)/edbus/stamps/compile edbus-test
edbus-test: $(BUILDROOT)/edbus/stamps/compile
$(V)mkdir -p $(BUILDROOT)/edbus/stamps
touch $(BUILDROOT)/edbus/stamps/test
$(V)echo 'No test target defined for edbus'
$(BUILDROOT)/edbus/stamps/doc: $(BUILDROOT)/edbus/stamps/compile edbus-doc
edbus-doc: $(BUILDROOT)/edbus/stamps/compile
$(V)echo "Generating documentation (make doc) edbus..."
$(V)rm -f $(BUILDROOT)/edbus/stamps/doc
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\
export CXXFLAGS="$${CXXFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export CFLAGS="$${CFLAGS} -O2 -Wall -Wextra -Wshadow -fvisibility=hidden -fdata-sections -ffunction-sections";\
export LDFLAGS="$${LDFLAGS} -fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--as-needed";\
make $(MAKEOPTS) doc -C $(BUILDROOT)/edbus/compile
$(V)mkdir -p $(BUILDROOT)/edbus/stamps
touch $(BUILDROOT)/edbus/stamps/doc
$(V)echo "Success generating documentation (make doc) edbus."
$(BUILDROOT)/edbus/stamps/distcheck: $(BUILDROOT)/edbus/stamps/compile edbus-distcheck
edbus-distcheck: $(BUILDROOT)/edbus/stamps/compile
$(V)echo "Checking distribution edbus..."
$(V)rm -f $(BUILDROOT)/edbus/stamps/distcheck
export PATH="$(INSTALLROOT)/bin:$${PATH}";\
export PKG_CONFIG_PATH="$(INSTALLROOT)/lib/pkgconfig";\