Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | #include |
2 | |||
3 | int a,b,c; |
||
4 | |||
5 | int main(void) |
||
6 | { |
||
7 | fscanf(stdin,"%u.%u.%u",&a,&b,&c); |
||
8 | fprintf(stdout,"/* This file is automatically generated by mkversion. */\n"); |
||
9 | fprintf(stdout,"/* Please do not modify it unless you know what you are doing. */\n"); |
||
10 | fprintf(stdout,"#define MENUET_LIBC_VERSION \"%u.%u.%u\"\n",a,b,c); |
||
11 | fprintf(stdout,"\n#ifdef INCLUDE_RCS_ID\n"); |
||
12 | fprintf(stdout,"static const char * ___menuet__libc_version_%u_%u_%u=\"",a,b,c); |
||
13 | fprintf(stdout,"MenuetOS GNU C library port by Jarek Pelczar. This file is \" __FILE__ ; \n"); |
||
14 | fprintf(stdout,"#endif\n"); |
||
15 | return 0; |
||
16 | } |