| Line |   | 
|---|
| 1 | # $Header: /cvsup/minix/src/commands/yap/Makefile,v 1.2 2005/09/07 08:43:25 beng Exp $
 | 
|---|
| 2 | 
 | 
|---|
| 3 | # CFLAGS : options for the C-compiler
 | 
|---|
| 4 | CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wa
 | 
|---|
| 5 | CC=exec cc
 | 
|---|
| 6 | 
 | 
|---|
| 7 | # LDFLAGS : flags for the loader
 | 
|---|
| 8 | #       -i for a PDP-11 with separate I/D (not necessary)
 | 
|---|
| 9 | LDFLAGS = -i
 | 
|---|
| 10 | 
 | 
|---|
| 11 | # BINDIR : where the binary will go when you type "make install"
 | 
|---|
| 12 | BINDIR = /usr/bin
 | 
|---|
| 13 | 
 | 
|---|
| 14 | # LIBRARIES : -ltermcap or -ltermlib,
 | 
|---|
| 15 | #       -lPW on USG systems (System III, System V),
 | 
|---|
| 16 | #       -ljobs on Berkeley Unix system (4.1, 2.8?, 2.9)
 | 
|---|
| 17 | LIBRARIES =
 | 
|---|
| 18 | 
 | 
|---|
| 19 | HFILES= assert.h\
 | 
|---|
| 20 |         commands.h\
 | 
|---|
| 21 |         display.h\
 | 
|---|
| 22 |         getcomm.h\
 | 
|---|
| 23 |         getline.h\
 | 
|---|
| 24 |         help.h\
 | 
|---|
| 25 |         in_all.h\
 | 
|---|
| 26 |         keys.h\
 | 
|---|
| 27 |         machine.h\
 | 
|---|
| 28 |         main.h\
 | 
|---|
| 29 |         options.h\
 | 
|---|
| 30 |         output.h\
 | 
|---|
| 31 |         pattern.h\
 | 
|---|
| 32 |         process.h\
 | 
|---|
| 33 |         prompt.h\
 | 
|---|
| 34 |         term.h
 | 
|---|
| 35 | 
 | 
|---|
| 36 | CFILES= assert.c\
 | 
|---|
| 37 |         commands.c\
 | 
|---|
| 38 |         display.c\
 | 
|---|
| 39 |         getcomm.c\
 | 
|---|
| 40 |         getline.c\
 | 
|---|
| 41 |         help.c\
 | 
|---|
| 42 |         keys.c\
 | 
|---|
| 43 |         machine.c\
 | 
|---|
| 44 |         main.c\
 | 
|---|
| 45 |         options.c\
 | 
|---|
| 46 |         output.c\
 | 
|---|
| 47 |         pattern.c\
 | 
|---|
| 48 |         process.c\
 | 
|---|
| 49 |         prompt.c\
 | 
|---|
| 50 |         term.c
 | 
|---|
| 51 | 
 | 
|---|
| 52 | OFILES= assert.o\
 | 
|---|
| 53 |         commands.o\
 | 
|---|
| 54 |         display.o\
 | 
|---|
| 55 |         getcomm.o\
 | 
|---|
| 56 |         getline.o\
 | 
|---|
| 57 |         help.o\
 | 
|---|
| 58 |         keys.o\
 | 
|---|
| 59 |         machine.o\
 | 
|---|
| 60 |         main.o\
 | 
|---|
| 61 |         options.o\
 | 
|---|
| 62 |         output.o\
 | 
|---|
| 63 |         pattern.o\
 | 
|---|
| 64 |         process.o\
 | 
|---|
| 65 |         prompt.o\
 | 
|---|
| 66 |         term.o
 | 
|---|
| 67 | 
 | 
|---|
| 68 | all:            yap
 | 
|---|
| 69 | 
 | 
|---|
| 70 | yap:            $(OFILES)
 | 
|---|
| 71 |                 $(CC) $(LDFLAGS) -o yap $(OFILES) $(LIBRARIES)
 | 
|---|
| 72 |                 install -S 16kw yap
 | 
|---|
| 73 | 
 | 
|---|
| 74 | install:        $(BINDIR)/yap $(BINDIR)/more
 | 
|---|
| 75 | 
 | 
|---|
| 76 | $(BINDIR)/yap:  yap
 | 
|---|
| 77 |                 install -cs -o bin yap $@
 | 
|---|
| 78 | 
 | 
|---|
| 79 | $(BINDIR)/more: $(BINDIR)/yap
 | 
|---|
| 80 |                 install -l $? $@
 | 
|---|
| 81 | 
 | 
|---|
| 82 | clean:
 | 
|---|
| 83 |                 rm -f yap $(OFILES) a.out core *.bak
 | 
|---|
| 84 | 
 | 
|---|
| 85 | pr:
 | 
|---|
| 86 |                 pr Makefile $(HFILES) $(CFILES)
 | 
|---|
| 87 | 
 | 
|---|
| 88 | lint:
 | 
|---|
| 89 |                 lint $(DEFINES) $(CFILES)
 | 
|---|
| 90 | 
 | 
|---|
| 91 | #AUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTOAUTO
 | 
|---|
| 92 | assert.o:       assert.h
 | 
|---|
| 93 | assert.o:       in_all.h
 | 
|---|
| 94 | assert.o:       output.h
 | 
|---|
| 95 | assert.o:       term.h
 | 
|---|
| 96 | commands.o:     assert.h
 | 
|---|
| 97 | commands.o:     commands.h
 | 
|---|
| 98 | commands.o:     display.h
 | 
|---|
| 99 | commands.o:     getcomm.h
 | 
|---|
| 100 | commands.o:     getline.h
 | 
|---|
| 101 | commands.o:     help.h
 | 
|---|
| 102 | commands.o:     in_all.h
 | 
|---|
| 103 | commands.o:     keys.h
 | 
|---|
| 104 | commands.o:     machine.h
 | 
|---|
| 105 | commands.o:     main.h
 | 
|---|
| 106 | commands.o:     options.h
 | 
|---|
| 107 | commands.o:     output.h
 | 
|---|
| 108 | commands.o:     pattern.h
 | 
|---|
| 109 | commands.o:     process.h
 | 
|---|
| 110 | commands.o:     prompt.h
 | 
|---|
| 111 | commands.o:     term.h
 | 
|---|
| 112 | display.o:      assert.h
 | 
|---|
| 113 | display.o:      display.h
 | 
|---|
| 114 | display.o:      getline.h
 | 
|---|
| 115 | display.o:      in_all.h
 | 
|---|
| 116 | display.o:      machine.h
 | 
|---|
| 117 | display.o:      main.h
 | 
|---|
| 118 | display.o:      options.h
 | 
|---|
| 119 | display.o:      output.h
 | 
|---|
| 120 | display.o:      process.h
 | 
|---|
| 121 | display.o:      term.h
 | 
|---|
| 122 | getcomm.o:      assert.h
 | 
|---|
| 123 | getcomm.o:      commands.h
 | 
|---|
| 124 | getcomm.o:      display.h
 | 
|---|
| 125 | getcomm.o:      getcomm.h
 | 
|---|
| 126 | getcomm.o:      getline.h
 | 
|---|
| 127 | getcomm.o:      in_all.h
 | 
|---|
| 128 | getcomm.o:      keys.h
 | 
|---|
| 129 | getcomm.o:      machine.h
 | 
|---|
| 130 | getcomm.o:      main.h
 | 
|---|
| 131 | getcomm.o:      output.h
 | 
|---|
| 132 | getcomm.o:      process.h
 | 
|---|
| 133 | getcomm.o:      prompt.h
 | 
|---|
| 134 | getcomm.o:      term.h
 | 
|---|
| 135 | getline.o:      assert.h
 | 
|---|
| 136 | getline.o:      display.h
 | 
|---|
| 137 | getline.o:      getline.h
 | 
|---|
| 138 | getline.o:      in_all.h
 | 
|---|
| 139 | getline.o:      main.h
 | 
|---|
| 140 | getline.o:      options.h
 | 
|---|
| 141 | getline.o:      output.h
 | 
|---|
| 142 | getline.o:      process.h
 | 
|---|
| 143 | getline.o:      term.h
 | 
|---|
| 144 | help.o: commands.h
 | 
|---|
| 145 | help.o: display.h
 | 
|---|
| 146 | help.o: help.h
 | 
|---|
| 147 | help.o: in_all.h
 | 
|---|
| 148 | help.o: keys.h
 | 
|---|
| 149 | help.o: machine.h
 | 
|---|
| 150 | help.o: main.h
 | 
|---|
| 151 | help.o: options.h
 | 
|---|
| 152 | help.o: output.h
 | 
|---|
| 153 | help.o: prompt.h
 | 
|---|
| 154 | help.o: term.h
 | 
|---|
| 155 | keys.o: assert.h
 | 
|---|
| 156 | keys.o: commands.h
 | 
|---|
| 157 | keys.o: in_all.h
 | 
|---|
| 158 | keys.o: keys.h
 | 
|---|
| 159 | keys.o: machine.h
 | 
|---|
| 160 | keys.o: prompt.h
 | 
|---|
| 161 | machine.o:      assert.h
 | 
|---|
| 162 | machine.o:      getline.h
 | 
|---|
| 163 | machine.o:      in_all.h
 | 
|---|
| 164 | machine.o:      machine.h
 | 
|---|
| 165 | main.o: commands.h
 | 
|---|
| 166 | main.o: display.h
 | 
|---|
| 167 | main.o: in_all.h
 | 
|---|
| 168 | main.o: main.h
 | 
|---|
| 169 | main.o: options.h
 | 
|---|
| 170 | main.o: output.h
 | 
|---|
| 171 | main.o: process.h
 | 
|---|
| 172 | main.o: prompt.h
 | 
|---|
| 173 | main.o: term.h
 | 
|---|
| 174 | options.o:      display.h
 | 
|---|
| 175 | options.o:      in_all.h
 | 
|---|
| 176 | options.o:      options.h
 | 
|---|
| 177 | options.o:      output.h
 | 
|---|
| 178 | output.o:       in_all.h
 | 
|---|
| 179 | output.o:       main.h
 | 
|---|
| 180 | output.o:       output.h
 | 
|---|
| 181 | pattern.o:      in_all.h
 | 
|---|
| 182 | pattern.o:      pattern.h
 | 
|---|
| 183 | process.o:      commands.h
 | 
|---|
| 184 | process.o:      display.h
 | 
|---|
| 185 | process.o:      getline.h
 | 
|---|
| 186 | process.o:      in_all.h
 | 
|---|
| 187 | process.o:      main.h
 | 
|---|
| 188 | process.o:      options.h
 | 
|---|
| 189 | process.o:      output.h
 | 
|---|
| 190 | process.o:      process.h
 | 
|---|
| 191 | process.o:      prompt.h
 | 
|---|
| 192 | prompt.o:       display.h
 | 
|---|
| 193 | prompt.o:       getcomm.h
 | 
|---|
| 194 | prompt.o:       getline.h
 | 
|---|
| 195 | prompt.o:       in_all.h
 | 
|---|
| 196 | prompt.o:       main.h
 | 
|---|
| 197 | prompt.o:       options.h
 | 
|---|
| 198 | prompt.o:       output.h
 | 
|---|
| 199 | prompt.o:       process.h
 | 
|---|
| 200 | prompt.o:       prompt.h
 | 
|---|
| 201 | prompt.o:       term.h
 | 
|---|
| 202 | term.o: display.h
 | 
|---|
| 203 | term.o: getline.h
 | 
|---|
| 204 | term.o: in_all.h
 | 
|---|
| 205 | term.o: keys.h
 | 
|---|
| 206 | term.o: machine.h
 | 
|---|
| 207 | term.o: main.h
 | 
|---|
| 208 | term.o: options.h
 | 
|---|
| 209 | term.o: output.h
 | 
|---|
| 210 | term.o: term.h
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.