Changeset 122 for trunk/Makefile
- Timestamp:
- May 12, 2003, 1:52:03 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
-
Property cvs2svn:cvs-rev
changed from
1.21
to1.22
r121 r122 40 40 41 41 # Debug info or not (when ever we feel like passing down such options). 42 # Several ways to do this it seems. 42 43 ifeq "$(BUILD_MODE)" "RELEASE" 43 44 BUILD_DEBUGINFO = -s 45 BUILD_ENABLE_SYMBOLS = --disable-symbols 44 46 else 45 47 BUILD_DEBUGINFO = -g 48 BUILD_ENABLE_SYMBOLS = --enable-symbols 46 49 endif 47 50 … … 937 940 $(TOOL_CVS_DIFF_TREE) $(EMX_CVS_REL) src/emx > $@ 938 941 942 943 944 ############################################################################### 945 ############################################################################### 946 ############################################################################### 947 # 948 # M I S C 949 # 950 ############################################################################### 951 ############################################################################### 952 ############################################################################### 953 954 955 dejagnu: 956 # nothing to make at the moment, it's just a all install stuff it seems. 957 958 requires_autoconf_2_52_DEJAGNU_CONFIGURE_DIRS = \ 959 src/misc/dejagnu \ 960 src/misc/dejagnu/contrib/bluegnu2.0.3 \ 961 src/misc/dejagnu/contrib/bluegnu2.0.3/doc \ 962 src/misc/dejagnu/contrib/bluegnu2.0.3/example \ 963 src/misc/dejagnu/contrib/bluegnu2.0.3/example/calc \ 964 src/misc/dejagnu/contrib/bluegnu2.0.3/testsuite \ 965 src/misc/dejagnu/example/calc \ 966 src/misc/dejagnu/example/hello 967 968 .PHONY: dejagnu-autoconf-refresh dejagnu-autoconf-rerun dejagnu-autoconf-clean dejagnu-autoconf-remove 969 dejagnu-autoconf-refresh dejagnu-autoconf-rerun dejagnu-autoconf-clean dejagnu-autoconf-remove: 970 ifeq "$(BUILD_PLATFORM)" "LINUX" 971 -$(SH) $(PATH_TOP)/xfix.sh 972 endif 973 for dir in $(DEJAGNU_CONFIGURE_DIRS); do \ 974 if $(MAKE) $(@:dejagnu-autoconf-%=%) -f $(PWD)/config.gmk -C $$dir ; then \ 975 true; \ 976 else \ 977 exit 8; \ 978 fi \ 979 done 980 981 982 983 # 984 # Expect 985 # 986 987 expect: 988 989 990 # build the components. 991 .PHONY: expect-build expect-install expect-configure 992 expect-build expect-install expect-configure: 993 mkdir -p $(PATH_OBJ)/misc/expect 994 $(MAKE) -C $(PATH_OBJ)/misc/expect -f $(MAKEFILE) $@-it 995 996 997 # When changed directory 998 expect-build-it: \ 999 $(PATH_OBJ)/misc/expect/.ts.configured 1000 $(MAKE) -C $(PATH_OBJ)/misc/expect 1001 1002 # configure it (invoked after directory change). 1003 # We set CC to help configure finding it. 1004 # And we reconfigure libiberty to the gcc one. 1005 expect-configure-it $(PATH_OBJ)/misc/expect/.ts.configured: $(PATH_TOP)/src/misc/expect/configure 1006 ifeq "$(BUILD_PLATFORM)" "OS2" 1007 $(ASH) -c " \ 1008 export CC=\"gcc.exe\" ; \ 1009 $< \ 1010 --disable-shared \ 1011 --host=i386-pc-os2-emx \ 1012 --with-tclconfig=$(UNIXROOT)/usr/lib \ 1013 --with-tclinclude=$(UNIXROOT)/usr/lib/tcl8.0/include \ 1014 --enable-gcc \ 1015 $(BUILD_ENABLE_SYMBOLS) \ 1016 --prefix=$(PATH_BUILTTOOLSD) " 1017 else 1018 $(ASH) -c " \ 1019 $< \ 1020 --enable-gcc \ 1021 $(BUILD_ENABLE_SYMBOLS) \ 1022 --prefix=$(PATH_BUILTTOOLSD) " 1023 endif 1024 touch $(PATH_OBJ)/misc/expect/.ts.configured 1025 1026 1027 # install to builttools (if anywhere!) 1028 expect-install-it: 1029 $(MAKE) prefix=$(PATH_BUILTTOOLSD) install 1030 1031 1032 1033 EXPECT_CONFIGURE_DIRS = \ 1034 src/misc/expect 1035 # skipping testsuite for now as it requires some .m4 files we don't have. 1036 #src/misc/expect/testsuite 1037 1038 .PHONY: expect-autoconf-refresh expect-autoconf-rerun expect-autoconf-clean expect-autoconf-remove 1039 expect-autoconf-refresh expect-autoconf-rerun expect-autoconf-clean expect-autoconf-remove: 1040 ifeq "$(BUILD_PLATFORM)" "LINUX" 1041 -$(SH) $(PATH_TOP)/xfix.sh 1042 endif 1043 for dir in $(EXPECT_CONFIGURE_DIRS); do \ 1044 if $(MAKE) $(@:expect-autoconf-%=%) -f $(PWD)/config.gmk -C $$dir ; then \ 1045 true; \ 1046 else \ 1047 exit 8; \ 1048 fi \ 1049 done 1050 1051 1052 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.