| Last change
 on this file since 3884 was             2, checked in by bird, 23 years ago | 
        
          | 
Initial revision
 | 
        
          | 
              
Property                 cvs2svn:cvs-rev
 set to                 1.1
Property                 svn:eol-style
 set to                 native
Property                 svn:executable
 set to                 * | 
        
          | File size:
            2.2 KB | 
      
      
| Line |  | 
|---|
| 1 | .SUFFIXES: .c .o | 
|---|
| 2 | CC = cc | 
|---|
| 3 | CFLAGS = -O | 
|---|
| 4 | SHELL = /bin/sh | 
|---|
| 5 |  | 
|---|
| 6 | # compile, then strip unnecessary symbols | 
|---|
| 7 | .c.o: | 
|---|
| 8 | $(CC) -c -DSkip_f2c_Undefs $(CFLAGS) $*.c | 
|---|
| 9 | ld -r -x -o $*.xxx $*.o | 
|---|
| 10 | mv $*.xxx $*.o | 
|---|
| 11 | ## Under Solaris (and other systems that do not understand ld -x), | 
|---|
| 12 | ## omit -x in the ld line above. | 
|---|
| 13 | ## If your system does not have the ld command, comment out | 
|---|
| 14 | ## or remove both the ld and mv lines above. | 
|---|
| 15 |  | 
|---|
| 16 | OBJ =   Version.o backspace.o close.o dfe.o dolio.o due.o endfile.o err.o \ | 
|---|
| 17 | fmt.o fmtlib.o ftell_.o iio.o ilnw.o inquire.o lread.o lwrite.o \ | 
|---|
| 18 | open.o rdfmt.o rewind.o rsfe.o rsli.o rsne.o sfe.o sue.o typesize.o \ | 
|---|
| 19 | uio.o util.o wref.o wrtfmt.o wsfe.o wsle.o wsne.o xwsne.o | 
|---|
| 20 | libI77.a:       $(OBJ) | 
|---|
| 21 | ar r libI77.a $? | 
|---|
| 22 | -ranlib libI77.a | 
|---|
| 23 |  | 
|---|
| 24 | ### If your system lacks ranlib, you don't need it; see README. | 
|---|
| 25 |  | 
|---|
| 26 | install:        libI77.a | 
|---|
| 27 | cp libI77.a /usr/lib/libI77.a | 
|---|
| 28 | ranlib /usr/lib/libI77.a | 
|---|
| 29 |  | 
|---|
| 30 | Version.o: Version.c | 
|---|
| 31 | $(CC) -c Version.c | 
|---|
| 32 |  | 
|---|
| 33 | # To compile with C++, first "make f2c.h" | 
|---|
| 34 | f2c.h: f2ch.add | 
|---|
| 35 | cat /usr/include/f2c.h f2ch.add >f2c.h | 
|---|
| 36 |  | 
|---|
| 37 |  | 
|---|
| 38 | clean: | 
|---|
| 39 | rm -f $(OBJ) libI77.a | 
|---|
| 40 |  | 
|---|
| 41 | clobber:        clean | 
|---|
| 42 | rm -f libI77.a | 
|---|
| 43 |  | 
|---|
| 44 | backspace.o:    fio.h | 
|---|
| 45 | close.o:        fio.h | 
|---|
| 46 | dfe.o:          fio.h | 
|---|
| 47 | dfe.o:          fmt.h | 
|---|
| 48 | due.o:          fio.h | 
|---|
| 49 | endfile.o:      fio.h rawio.h | 
|---|
| 50 | err.o:          fio.h rawio.h | 
|---|
| 51 | fmt.o:          fio.h | 
|---|
| 52 | fmt.o:          fmt.h | 
|---|
| 53 | ftell_.o:       fio.h | 
|---|
| 54 | iio.o:          fio.h | 
|---|
| 55 | iio.o:          fmt.h | 
|---|
| 56 | ilnw.o:         fio.h | 
|---|
| 57 | ilnw.o:         lio.h | 
|---|
| 58 | inquire.o:      fio.h | 
|---|
| 59 | lread.o:        fio.h | 
|---|
| 60 | lread.o:        fmt.h | 
|---|
| 61 | lread.o:        lio.h | 
|---|
| 62 | lread.o:        fp.h | 
|---|
| 63 | lwrite.o:       fio.h | 
|---|
| 64 | lwrite.o:       fmt.h | 
|---|
| 65 | lwrite.o:       lio.h | 
|---|
| 66 | open.o:         fio.h rawio.h | 
|---|
| 67 | rdfmt.o:        fio.h | 
|---|
| 68 | rdfmt.o:        fmt.h | 
|---|
| 69 | rdfmt.o:        fp.h | 
|---|
| 70 | rewind.o:       fio.h | 
|---|
| 71 | rsfe.o:         fio.h | 
|---|
| 72 | rsfe.o:         fmt.h | 
|---|
| 73 | rsli.o:         fio.h | 
|---|
| 74 | rsli.o:         lio.h | 
|---|
| 75 | rsne.o:         fio.h | 
|---|
| 76 | rsne.o:         lio.h | 
|---|
| 77 | sfe.o:          fio.h | 
|---|
| 78 | sue.o:          fio.h | 
|---|
| 79 | uio.o:          fio.h | 
|---|
| 80 | util.o:         fio.h | 
|---|
| 81 | wref.o:         fio.h | 
|---|
| 82 | wref.o:         fmt.h | 
|---|
| 83 | wref.o:         fp.h | 
|---|
| 84 | wrtfmt.o:       fio.h | 
|---|
| 85 | wrtfmt.o:       fmt.h | 
|---|
| 86 | wsfe.o:         fio.h | 
|---|
| 87 | wsfe.o:         fmt.h | 
|---|
| 88 | wsle.o:         fio.h | 
|---|
| 89 | wsle.o:         fmt.h | 
|---|
| 90 | wsle.o:         lio.h | 
|---|
| 91 | wsne.o:         fio.h | 
|---|
| 92 | wsne.o:         lio.h | 
|---|
| 93 | xwsne.o:        fio.h | 
|---|
| 94 | xwsne.o:        lio.h | 
|---|
| 95 | xwsne.o:        fmt.h | 
|---|
| 96 |  | 
|---|
| 97 | check: | 
|---|
| 98 | xsum Notice README Version.c backspace.c close.c dfe.c dolio.c \ | 
|---|
| 99 | due.c endfile.c err.c f2ch.add fio.h fmt.c fmt.h fmtlib.c fp.h \ | 
|---|
| 100 | ftell_.c iio.c ilnw.c inquire.c lio.h lread.c lwrite.c makefile \ | 
|---|
| 101 | open.c rawio.h rdfmt.c rewind.c rsfe.c rsli.c rsne.c sfe.c sue.c \ | 
|---|
| 102 | typesize.c uio.c util.c wref.c wrtfmt.c wsfe.c wsle.c wsne.c \ | 
|---|
| 103 | xwsne.c >zap | 
|---|
| 104 | cmp zap libI77.xsum && rm zap || diff libI77.xsum zap | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.