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();
|
2009-04-09 00:29:04 +04:00
|
|
|
extern int testLib5();
|
2008-08-12 00:23:10 +04:00
|
|
|
|
|
|
|
/* 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()
|
2009-04-09 00:29:04 +04:00
|
|
|
+ testLib5()
|
2008-08-12 00:23:10 +04:00
|
|
|
+ generated_by_testExe3() + testLib4lib() + testLib4libcfg());
|
2008-01-28 16:40:21 +03:00
|
|
|
}
|