rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 1 | <$PLAN9/src/mkhdr |
| 2 | |
| 3 | LIB=lib9.a |
| 4 | |
rsc | 5a8e63b | 2004-02-29 22:10:26 +0000 | [diff] [blame] | 5 | NUM=\ |
| 6 | charstod.$O\ |
| 7 | pow10.$O\ |
| 8 | |
| 9 | # Could add errfmt, but we want to pick it up from lib9 instead. |
| 10 | FMTOFILES=\ |
| 11 | dofmt.$O\ |
rsc | 5a8e63b | 2004-02-29 22:10:26 +0000 | [diff] [blame] | 12 | fltfmt.$O\ |
| 13 | fmt.$O\ |
| 14 | fmtfd.$O\ |
| 15 | fmtfdflush.$O\ |
rsc | 4b65e43 | 2006-05-22 14:56:13 +0000 | [diff] [blame] | 16 | fmtlocale.$O\ |
rsc | a3add39 | 2004-12-26 23:17:03 +0000 | [diff] [blame] | 17 | fmtlock2.$O\ |
rsc | 4b65e43 | 2006-05-22 14:56:13 +0000 | [diff] [blame] | 18 | fmtnull.$O\ |
rsc | 5a8e63b | 2004-02-29 22:10:26 +0000 | [diff] [blame] | 19 | fmtprint.$O\ |
| 20 | fmtquote.$O\ |
| 21 | fmtrune.$O\ |
| 22 | fmtstr.$O\ |
| 23 | fmtvprint.$O\ |
| 24 | fprint.$O\ |
| 25 | nan64.$O\ |
| 26 | print.$O\ |
| 27 | runefmtstr.$O\ |
| 28 | runeseprint.$O\ |
| 29 | runesmprint.$O\ |
| 30 | runesnprint.$O\ |
| 31 | runesprint.$O\ |
| 32 | runevseprint.$O\ |
| 33 | runevsmprint.$O\ |
| 34 | runevsnprint.$O\ |
| 35 | seprint.$O\ |
| 36 | smprint.$O\ |
| 37 | snprint.$O\ |
| 38 | sprint.$O\ |
| 39 | strtod.$O\ |
| 40 | vfprint.$O\ |
| 41 | vseprint.$O\ |
| 42 | vsmprint.$O\ |
| 43 | vsnprint.$O\ |
| 44 | $NUM\ |
| 45 | |
| 46 | UTFOFILES=\ |
| 47 | rune.$O\ |
| 48 | runestrcat.$O\ |
| 49 | runestrchr.$O\ |
| 50 | runestrcmp.$O\ |
| 51 | runestrcpy.$O\ |
| 52 | runestrdup.$O\ |
| 53 | runestrlen.$O\ |
| 54 | runestrecpy.$O\ |
| 55 | runestrncat.$O\ |
| 56 | runestrncmp.$O\ |
| 57 | runestrncpy.$O\ |
| 58 | runestrrchr.$O\ |
| 59 | runestrstr.$O\ |
| 60 | runetype.$O\ |
| 61 | utfecpy.$O\ |
| 62 | utflen.$O\ |
| 63 | utfnlen.$O\ |
| 64 | utfrrune.$O\ |
| 65 | utfrune.$O\ |
| 66 | utfutf.$O\ |
| 67 | |
rsc | d6df6c1 | 2004-02-29 22:49:59 +0000 | [diff] [blame] | 68 | LIB9OFILES=\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 69 | _exits.$O\ |
| 70 | _p9dialparse.$O\ |
| 71 | _p9dir.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 72 | announce.$O\ |
| 73 | argv0.$O\ |
| 74 | atexit.$O\ |
rsc | 3a9dccd | 2004-04-02 22:57:49 +0000 | [diff] [blame] | 75 | atoi.$O\ |
| 76 | atol.$O\ |
| 77 | atoll.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 78 | atnotify.$O\ |
| 79 | await.$O\ |
| 80 | cistrcmp.$O\ |
| 81 | cistrncmp.$O\ |
| 82 | cistrstr.$O\ |
| 83 | cleanname.$O\ |
rsc | e97cead | 2003-12-06 18:05:27 +0000 | [diff] [blame] | 84 | convD2M.$O\ |
| 85 | convM2D.$O\ |
| 86 | convM2S.$O\ |
| 87 | convS2M.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 88 | create.$O\ |
rsc | 6414053 | 2005-02-08 21:02:40 +0000 | [diff] [blame] | 89 | crypt.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 90 | ctime.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 91 | dial.$O\ |
| 92 | dirfstat.$O\ |
| 93 | dirfwstat.$O\ |
| 94 | dirmodefmt.$O\ |
| 95 | dirread.$O\ |
| 96 | dirstat.$O\ |
| 97 | dirwstat.$O\ |
| 98 | dup.$O\ |
| 99 | encodefmt.$O\ |
| 100 | errstr.$O\ |
| 101 | exec.$O\ |
rsc | a1d4288 | 2005-01-04 22:19:18 +0000 | [diff] [blame] | 102 | execl.$O\ |
rsc | d0d15c1 | 2006-02-12 19:05:12 +0000 | [diff] [blame] | 103 | exitcode.$O\ |
rsc | e97cead | 2003-12-06 18:05:27 +0000 | [diff] [blame] | 104 | fcallfmt.$O\ |
rsc | 8ad5179 | 2004-03-25 23:03:57 +0000 | [diff] [blame] | 105 | get9root.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 106 | getcallerpc-$OBJTYPE.$O\ |
| 107 | getenv.$O\ |
| 108 | getfields.$O\ |
rsc | 06f4d92 | 2005-02-13 19:25:44 +0000 | [diff] [blame] | 109 | getnetconn.$O\ |
rsc | 32f69c3 | 2003-12-11 17:48:38 +0000 | [diff] [blame] | 110 | getns.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 111 | getuser.$O\ |
| 112 | getwd.$O\ |
| 113 | jmp.$O\ |
rsc | 2277c5d | 2004-03-21 04:33:13 +0000 | [diff] [blame] | 114 | lrand.$O\ |
| 115 | lnrand.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 116 | main.$O\ |
rsc | 32f69c3 | 2003-12-11 17:48:38 +0000 | [diff] [blame] | 117 | malloc.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 118 | malloctag.$O\ |
| 119 | mallocz.$O\ |
rsc | dff7e27 | 2003-12-04 19:16:29 +0000 | [diff] [blame] | 120 | nan.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 121 | needsrcquote.$O\ |
rsc | 06c4fd0 | 2004-04-21 22:44:37 +0000 | [diff] [blame] | 122 | needstack.$O\ |
rsc | b589fce | 2005-02-11 16:58:23 +0000 | [diff] [blame] | 123 | netcrypt.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 124 | netmkaddr.$O\ |
| 125 | notify.$O\ |
| 126 | nrand.$O\ |
| 127 | nulldir.$O\ |
rsc | 32f69c3 | 2003-12-11 17:48:38 +0000 | [diff] [blame] | 128 | open.$O\ |
rsc | 2277c5d | 2004-03-21 04:33:13 +0000 | [diff] [blame] | 129 | opentemp.$O\ |
rsc | df97045 | 2006-06-26 05:47:59 +0000 | [diff] [blame] | 130 | pin.$O\ |
rsc | 32f69c3 | 2003-12-11 17:48:38 +0000 | [diff] [blame] | 131 | pipe.$O\ |
| 132 | post9p.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 133 | postnote.$O\ |
| 134 | qlock.$O\ |
| 135 | quote.$O\ |
rsc | a1d4288 | 2005-01-04 22:19:18 +0000 | [diff] [blame] | 136 | rand.$O\ |
rsc | 32f69c3 | 2003-12-11 17:48:38 +0000 | [diff] [blame] | 137 | read9pmsg.$O\ |
rsc | b589fce | 2005-02-11 16:58:23 +0000 | [diff] [blame] | 138 | readcons.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 139 | readn.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 140 | rfork.$O\ |
rsc | 4a62371 | 2005-01-23 22:33:59 +0000 | [diff] [blame] | 141 | searchpath.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 142 | seek.$O\ |
rsc | 32f69c3 | 2003-12-11 17:48:38 +0000 | [diff] [blame] | 143 | sendfd.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 144 | sleep.$O\ |
rsc | f437e56 | 2004-06-09 14:15:47 +0000 | [diff] [blame] | 145 | strdup.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 146 | strecpy.$O\ |
| 147 | sysfatal.$O\ |
rsc | b589fce | 2005-02-11 16:58:23 +0000 | [diff] [blame] | 148 | syslog.$O\ |
rsc | d72054a | 2004-04-23 03:50:19 +0000 | [diff] [blame] | 149 | sysname.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 150 | time.$O\ |
Michael Teichgräber | f35a048 | 2008-07-09 08:27:22 -0400 | [diff] [blame] | 151 | tm2sec.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 152 | tokenize.$O\ |
rsc | 0b424d7 | 2004-04-21 07:47:50 +0000 | [diff] [blame] | 153 | truerand.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 154 | u16.$O\ |
| 155 | u32.$O\ |
| 156 | u64.$O\ |
rsc | 8ad5179 | 2004-03-25 23:03:57 +0000 | [diff] [blame] | 157 | unsharp.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 158 | wait.$O\ |
| 159 | waitpid.$O\ |
Russ Cox | cab935a | 2008-07-04 12:38:26 -0400 | [diff] [blame] | 160 | write.$O\ |
Michael Teichgräber | f35a048 | 2008-07-09 08:27:22 -0400 | [diff] [blame] | 161 | zoneinfo.$O\ |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 162 | |
rsc | d6df6c1 | 2004-02-29 22:49:59 +0000 | [diff] [blame] | 163 | OFILES=\ |
| 164 | $LIB9OFILES\ |
| 165 | $FMTOFILES\ |
| 166 | $UTFOFILES\ |
| 167 | |
rsc | fd04aac | 2003-11-23 18:12:54 +0000 | [diff] [blame] | 168 | HFILES=\ |
| 169 | $PLAN9/include/lib9.h\ |
| 170 | |
| 171 | <$PLAN9/src/mksyslib |
rsc | 5a8e63b | 2004-02-29 22:10:26 +0000 | [diff] [blame] | 172 | |
| 173 | %.$O: fmt/%.c |
| 174 | $CC $CFLAGS -Ifmt fmt/$stem.c |
| 175 | |
| 176 | %.$O: utf/%.c |
| 177 | $CC $CFLAGS utf/$stem.c |
rsc | 4b65e43 | 2006-05-22 14:56:13 +0000 | [diff] [blame] | 178 | |
| 179 | XLIB=$PLAN9/lib/$LIB |
| 180 | |
| 181 | testfmt: testfmt.$O $XLIB |
| 182 | $LD -o $target testfmt.$O |
| 183 | |
| 184 | testfltfmt: testfltfmt.$O $XLIB |
| 185 | $LD -o $target testfltfmt.$O |
| 186 | |
| 187 | testprint: testprint.$O $XLIB |
| 188 | $LD -o $target testprint.$O |
| 189 | |
| 190 | # debugging only - should go away (5/22/2006) |
| 191 | testgoogfmt: testfltfmt.$O googfmt.$O $XLIB |
| 192 | $LD -o $target testfltfmt.$O googfmt.$O |
| 193 | |
| 194 | testgoogprint: testprint.$O googfmt.$O $XLIB |
| 195 | $LD -o $target testprint.$O googfmt.$O |
| 196 | |
Michael Teichgräber | f35a048 | 2008-07-09 08:27:22 -0400 | [diff] [blame] | 197 | ctime.$O tm2sec.$O zoneinfo.$O: zoneinfo.h |