Update copyright year
[striptease.git] / version.c
blobd5cb8e560a2f8e1cf260e4cb111d47d7deed33d5
1 extern const char apple_version[];
2 #ifndef PROGRAMNAME
3 #define PROGRAMNAME striptease
4 #endif
5 #define STRINGIZE_PN2(x) #x
6 #define STRINGIZE_PN(x) STRINGIZE_PN2(x)
7 #if defined(__ppc64__)
8 #define ARCHNAME " (ppc64)"
9 #elif defined(__x86_64__)
10 #define ARCHNAME " (x86_64)"
11 #elif defined(__ppc__)
12 #define ARCHNAME " (ppc)"
13 #elif defined(__i386__)
14 #define ARCHNAME " (i386)"
15 #elif defined(__arm__)
16 #define ARCHNAME " (arm)"
17 #else
18 #define ARCHNAME
19 #endif
20 #ifdef CCTOOLSVER
21 #define CCTOOLSVERSTR "-"STRINGIZE_PN(CCTOOLSVER)
22 #else
23 #define CCTOOLSVERSTR
24 #endif
25 __attribute__((__used__)) const char apple_version[] =
26 /* Create a string that is compatible with the ident program */
27 "@(#)$PROGRAM: " STRINGIZE_PN(PROGRAMNAME) ARCHNAME
28 " PROJECT: cctools"CCTOOLSVERSTR" <http://mackyle.github.com/striptease> $"