Changeset 1981
- Timestamp:
- Oct 6, 2012, 12:42:06 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build/autotools/common.am
r1939 r1981 1 2 # 3 # Define these variables from the beginning 4 # 5 6 CLEANFILES = 7 SUFFIXES = 8 9 10 # 11 # Miscellaneous rules 12 # 1 13 2 14 lol_recursive_rule = \ 3 15 @if test -n "$(SUBDIRS)"; then for subdir in $(SUBDIRS); do \ 4 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $(patsubst %-recursive, %, $@)) || exit 1; \ 5 done; \ 6 fi 16 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $(patsubst %-recursive, %, $@)) || exit 1; \ 17 done; fi 7 18 8 19 bench: bench-recursive … … 47 58 lolfx_gen_0 = @echo " LOLFX " $@; 48 59 49 SUFFIXES = .lolfx60 SUFFIXES += .lolfx 50 61 .lolfx.o: 51 62 $(lolfx_gen) … … 58 69 59 70 # 71 # PS3 fself support rules 72 # 73 74 fself_gen = $(fself_gen_$(V)) 75 fself_gen_ = $(fself_gen_$(AM_DEFAULT_VERBOSITY)) 76 fself_gen_0 = echo " FSELF " $${x}.self; 77 fself_gen_1 = echo make_fself $${x}$(EXEEXT) $${x}.self; 78 79 all-local: all-local-ps3 80 all-local-ps3: $(PROGRAMS) $(noinst_PROGRAMS) 81 @if test -n "$^"; then for x in $(^:%$(EXEEXT)=%); do \ 82 if test x$(MAKE_FSELF) != xno; then \ 83 $(fself_gen) \ 84 make_fself $${x}$(EXEEXT) $${x}.self; \ 85 fi; \ 86 done; fi 87 88 CLEANFILES += $(PROGRAMS:%$(EXEEXT)=%.self) \ 89 $(PROGRAMS:%$(EXEEXT)=%.elf) \ 90 $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \ 91 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) 92 93 94 # 95 # Win32 rules 96 # 97 98 # This is here in case we forget to make clean after a Windows build 99 CLEANFILES += $(PROGRAMS:%$(EXEEXT)=%.exe) \ 100 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe) 101 102 103 # 60 104 # Additional rules 61 105 # -
trunk/configure.ac
r1980 r1981 119 119 dnl Disable this warning, it's too verbose with vector.h 120 120 CXXFLAGS="${CXXFLAGS} -Wno-sign-compare" 121 AC_PATH_PROG(MAKE_FSELF, make_fself, no)], 121 AC_PATH_PROG(MAKE_FSELF, make_fself, no) 122 if test "${MAKE_FSELF}" = "no"; then 123 AC_MSG_ERROR([[Building for PS3 but make_fself not found]]) 124 fi], 122 125 [MAKE_FSELF=no]) 123 AM_CONDITIONAL(USE_MAKE_FSELF, test "${MAKE_FSELF}" != "no")124 126 AM_CONDITIONAL(USE_PS3, test "${ac_cv_my_have_ps3}" != "no") 125 127 -
trunk/test/Makefile.am
r1938 r1981 8 8 bench: benchsuite$(EXEEXT) 9 9 ./benchsuite$(EXEEXT) 10 11 all-local: $(PROGRAMS) $(noinst_PROGRAMS)12 for x in $(^:%$(EXEEXT)=%); do \13 test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \14 done15 16 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \17 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \18 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)19 10 20 11 EXTRA_DIST = data/gradient.png -
trunk/test/math/Makefile.am
r1923 r1981 4 4 AM_CPPFLAGS = -I$(top_srcdir)/src 5 5 6 all-local: $(PROGRAMS) $(noinst_PROGRAMS)7 for x in $(^:%$(EXEEXT)=%); do \8 test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \9 done10 11 6 EXTRA_DIST = NEWS.txt lolremez.sln remez.vcxproj remez.vcxproj.filters 12 13 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \14 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \15 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)16 7 17 8 noinst_PROGRAMS = pi poly remez -
trunk/test/sandbox/Makefile.am
r1923 r1981 3 3 4 4 AM_CPPFLAGS = -I$(top_srcdir)/src 5 6 all-local: $(noinst_PROGRAMS)7 test x$(MAKE_FSELF) = xno || make_fself sample$(EXEEXT) sample.self8 9 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \10 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \11 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)12 5 13 6 noinst_PROGRAMS = sample -
trunk/test/xolotl/Makefile.am
r1923 r1981 3 3 4 4 AM_CPPFLAGS = -I$(top_srcdir)/src 5 6 all-local: $(noinst_PROGRAMS)7 test x$(MAKE_FSELF) = xno || make_fself xolotl$(EXEEXT) xolotl.self8 9 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \10 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \11 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)12 5 13 6 noinst_PROGRAMS = xolotl -
trunk/tools/neercs/Makefile.am
r1971 r1981 26 26 @LOL_LIBS@ @PIPI_LIBS@ @CACA_LIBS@ @UTIL_LIBS@ @PAM_LIBS@ 27 27 neercs_DEPENDENCIES = $(top_builddir)/src/liblol.a 28 29 if BUILD_NEERCS30 all-local: neercs$(EXEEXT)31 test $(MAKE_FSELF) = no || make_fself neercs$(EXEEXT) neercs.self32 endif33 34 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \35 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \36 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)37 28 38 29 old_sources = \ -
trunk/tutorial/Makefile.am
r1924 r1981 3 3 4 4 AM_CPPFLAGS = -I$(top_srcdir)/src 5 6 all-local: $(PROGRAMS) $(noinst_PROGRAMS)7 for x in $(^:%$(EXEEXT)=%); do \8 test x$(MAKE_FSELF) = xno || make_fself $${x}$(EXEEXT) $${x}.self; \9 done10 11 CLEANFILES = $(noinst_PROGRAMS:%$(EXEEXT)=%.self) \12 $(noinst_PROGRAMS:%$(EXEEXT)=%.elf) \13 $(noinst_PROGRAMS:%$(EXEEXT)=%.exe)14 5 15 6 noinst_PROGRAMS = 01_triangle 02_cube 03_noise 05_easymesh 08_fbo 11_fractal
Note: See TracChangeset
for help on using the changeset viewer.