2008-01-28 16:40:21 +03:00
|
|
|
extern int generated_by_testExe1();
|
2008-01-28 22:46:16 +03:00
|
|
|
extern int generated_by_testExe3();
|
2008-01-28 16:40:21 +03:00
|
|
|
extern int testLib2();
|
|
|
|
extern int testLib3();
|
2008-01-28 21:06:17 +03:00
|
|
|
extern int testLib4();
|
2008-08-12 00:23:10 +04:00
|
|
|
extern int testLib4lib();
|
|
|
|
|
|
|
|
/* Switch a symbol between debug and optimized builds to make sure the
|
|
|
|
proper library is found from the testLib4 link interface. */
|
|
|
|
#ifdef EXE_DBG
|
|
|
|
# define testLib4libcfg testLib4libdbg
|
|
|
|
#else
|
|
|
|
# define testLib4libcfg testLib4libopt
|
|
|
|
#endif
|
|
|
|
extern testLib4libcfg(void);
|
2008-01-28 16:40:21 +03:00
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2008-01-28 22:46:16 +03:00
|
|
|
return (testLib2() + generated_by_testExe1() + testLib3() + testLib4()
|
2008-08-12 00:23:10 +04:00
|
|
|
+ generated_by_testExe3() + testLib4lib() + testLib4libcfg());
|
2008-01-28 16:40:21 +03:00
|
|
|
}
|