Annotation of 43BSDTahoe/lib/libc/gen/gen.tahoe/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: # Copyright (c) 1988 Regents of the University of California.
                      3: # All rights reserved.
                      4: #
                      5: # Redistribution and use in source and binary forms are permitted
                      6: # provided that the above copyright notice and this paragraph are
                      7: # duplicated in all such forms and that any documentation,
                      8: # advertising materials, and other materials related to such
                      9: # distribution and use acknowledge that the software was developed
                     10: # by the University of California, Berkeley.  The name of the
                     11: # University may not be used to endorse or promote products derived
                     12: # from this software without specific prior written permission.
                     13: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
                     14: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
                     15: # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     16: #
                     17: #      @(#)Makefile    5.13 (Berkeley) 6/27/88
                     18: #
                     19: DEFS=  -DLIBC_SCCS
                     20: FLAGS= -I../../tahoe ${DEFS}
                     21: CFLAGS=        -O ${FLAGS}
                     22: CSRCS= frexp.c
                     23: COBJS= frexp.o
                     24: ASRCS= _setjmp.s abort.s abs.s alloca.s atof.s bcmp.s bcopy.s bzero.s fabs.s \
                     25:        ffs.s insque.s ldexp.s modf.s nargs.s remque.s setjmp.s strcat.s \
                     26:        strcmp.s strcpy.s strlen.s strncat.s strncmp.s strncpy.s udiv.s \
                     27:        urem.s
                     28: AOBJS= _setjmp.o abort.o abs.o alloca.o atof.o bcmp.o bcopy.o bzero.o fabs.o \
                     29:        ffs.o insque.o ldexp.o modf.o nargs.o remque.o setjmp.o strcat.o \
                     30:        strcmp.o strcpy.o strlen.o strncat.o strncmp.o strncpy.o udiv.o \
                     31:        urem.o
                     32: SRCS=  ${CSRCS} ${ASRCS}
                     33: OBJS=  ${COBJS} ${AOBJS}
                     34: TAGSFILE=tags
                     35: 
                     36: .s.o:
                     37:        @/lib/cpp -E ${FLAGS} -DPROF $*.s | ${AS} -o $*.o
                     38:        @ld -X -o profiled/$*.o -r $*.o
                     39:        /lib/cpp -E ${FLAGS} $*.s | ${AS} -o $*.o
                     40:        @ld -x -r $*.o
                     41:        @mv a.out $*.o
                     42: 
                     43: .c.o:
                     44:        @${CC} -pg -DPROF ${CFLAGS} -c $*.c
                     45:        @ld -X -o profiled/$*.o -r $*.o
                     46:        ${CC} ${CFLAGS} -c $*.c
                     47:        @ld -x -r $*.o
                     48:        @mv a.out $*.o
                     49: 
                     50: all: ${OBJS}
                     51: 
                     52: link: ${OBJS}
                     53:        (cd ../../library; rm -f ${OBJS})
                     54:        (cd ../../profiled; rm -f ${OBJS})
                     55:        ln ${OBJS} ../../library
                     56:        (cd profiled; ln ${OBJS} ../../../profiled)
                     57: 
                     58: tags:
                     59:        cwd=`pwd`; \
                     60:        for i in ${CSRCS}; do \
                     61:                ctags -a -f ${TAGSFILE} $$cwd/$$i; \
                     62:        done
                     63:        (P=`pwd`; \
                     64:        egrep "^ENTRY(.*)|^SYSCALL(.*)" ${ASRCS} | sed \
                     65: "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 $$P/\1 /^\2(\3\4$$/;" \
                     66:                >> ${TAGSFILE})
                     67: 
                     68: clean:
                     69:        rm -f *.o profiled/* a.out core ${TAGSFILE}
                     70: 
                     71: depend:
                     72:        mkdep ${CFLAGS} ${SRCS}
                     73: 
                     74: # DO NOT DELETE THIS LINE -- mkdep uses it.
                     75: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
                     76: 
                     77: frexp.o: frexp.c
                     78: _setjmp.o: _setjmp.s ../../tahoe/DEFS.h
                     79: abort.o: abort.s ../../tahoe/DEFS.h
                     80: abs.o: abs.s ../../tahoe/DEFS.h
                     81: alloca.o: alloca.s ../../tahoe/DEFS.h
                     82: atof.o: atof.s ../../tahoe/DEFS.h
                     83: bcmp.o: bcmp.s ../../tahoe/DEFS.h
                     84: bcopy.o: bcopy.s ../../tahoe/DEFS.h
                     85: bzero.o: bzero.s ../../tahoe/DEFS.h
                     86: fabs.o: fabs.s ../../tahoe/DEFS.h
                     87: ffs.o: ffs.s ../../tahoe/DEFS.h
                     88: insque.o: insque.s ../../tahoe/DEFS.h
                     89: ldexp.o: ldexp.s /usr/include/errno.h /usr/include/tahoemath/fp.h
                     90: ldexp.o: ../../tahoe/DEFS.h
                     91: modf.o: modf.s ../../tahoe/DEFS.h
                     92: nargs.o: nargs.s ../../tahoe/DEFS.h
                     93: remque.o: remque.s ../../tahoe/DEFS.h
                     94: setjmp.o: setjmp.s ../../tahoe/DEFS.h
                     95: strcat.o: strcat.s ../../tahoe/DEFS.h
                     96: strcmp.o: strcmp.s ../../tahoe/DEFS.h
                     97: strcpy.o: strcpy.s ../../tahoe/DEFS.h
                     98: strlen.o: strlen.s ../../tahoe/DEFS.h
                     99: strncat.o: strncat.s ../../tahoe/DEFS.h
                    100: strncmp.o: strncmp.s ../../tahoe/DEFS.h
                    101: strncpy.o: strncpy.s ../../tahoe/DEFS.h
                    102: udiv.o: udiv.s ../../tahoe/DEFS.h
                    103: urem.o: urem.s ../../tahoe/DEFS.h
                    104: 
                    105: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.