diff options
author | Marty Connor | 2010-01-17 03:47:39 +0100 |
---|---|---|
committer | Marty Connor | 2010-01-17 03:47:39 +0100 |
commit | 330abebddf67ab27998f64070f27d5874cbc7b06 (patch) | |
tree | 08f5954725930ee9c38b0afab4cb9a30c71ce7e3 /contrib/ppmtoansi/Makefile | |
parent | [sanboot] Prevent leaking a stack reference for "keep-san" AoE (diff) | |
download | ipxe-330abebddf67ab27998f64070f27d5874cbc7b06.tar.gz ipxe-330abebddf67ab27998f64070f27d5874cbc7b06.tar.xz ipxe-330abebddf67ab27998f64070f27d5874cbc7b06.zip |
[contrib] Move most contrib content to a separate repository
Most of the content that was previously in this directory has been
moved to a separate git repository:
http://git.etherboot.org/?p=contrib.git;a=summary
or the Etherboot Project wiki:
http://etherboot.org/
Diffstat (limited to 'contrib/ppmtoansi/Makefile')
-rw-r--r-- | contrib/ppmtoansi/Makefile | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/contrib/ppmtoansi/Makefile b/contrib/ppmtoansi/Makefile deleted file mode 100644 index bc0ca0a6..00000000 --- a/contrib/ppmtoansi/Makefile +++ /dev/null @@ -1,67 +0,0 @@ -CPPFLAGS = -LDLIBS = -CFLAGS = -pipe -g -O2 -Wall -LDFLAGS = -pipe -CC = gcc -LD = gcc -# Some "black" magic to determine optimal compiler flags for target -# architecture -TARGET_ARCH:= $(shell if [ \! -r .compile-options ] ; then ( \ - cpu=`grep cpu /proc/cpuinfo 2>&1 |head -1| \ - cut -d : -f 2-| sed -e 's/ //g'`; \ - if [ x"$$cpu" = x"" ] ; then \ - echo -fno-strength-reduce; \ - else if [ "$$cpu" = "386" ] ; then \ - echo -m386 -fno-strength-reduce; \ - else if [ "$$cpu" = "486" ] ; then \ - echo -m486 -fno-strength-reduce; \ - else if [ "$$cpu" = "Alpha" ] ; then \ - echo -fno-strength-reduce; \ - else echo main\(\)\{\} >.compile-options.c; \ - if gcc -mpentium -o .compile-options.o -c \ - .compile-options.c &>/dev/null; then \ - echo -mpentium -fstrength-reduce; \ - else if gcc -m486 -malign-functions=2 -malign-jumps=2 \ - -malign-loops=2 -o .compile-options.o -c \ - .compile-options.c &>/dev/null; then \ - echo -n -m486 -malign-functions=2 -malign-jumps=2; \ - echo ' '-malign-loops=2 -fno-strength-reduce; \ - else echo -m486; \ - fi;fi;fi;fi;fi;fi) > .compile-options; \ - rm -f .compile-options.c .compile-options.o; \ - fi; cat .compile-options) -ASFLAGS = $(TARGET_ARCH) - -OBJS = ppmtoansi.o - -############################################################################## - -ifeq (.depend,$(wildcard .depend)) -all: ppmtoansi -include .depend -else -all: depend - @$(MAKE) all -endif - -############################################################################## - -ppmtoansi: $(OBJS) - -############################################################################## - -clean: - $(RM) *~ *.o *.dvi *.log *.aux *yacc.tab.[ch] *yacc.output *lex.[co] \ - *.dat .depend .tmp_depend .compile-options* - strip ppmtoansi >&/dev/null || true - -distclean: clean - $(RM) -rf ppmtoansi - -############################################################################## - -depend: - for i in *.c;do $(CPP) $(CPPFLAGS) -MM $$i;done >.tmp_depend - mv .tmp_depend .depend - -############################################################################## |