imp_testExe1.c 801 B

123456789101112131415161718192021222324252627
  1. extern int generated_by_testExe1();
  2. extern int generated_by_testExe3();
  3. extern int testLib2();
  4. extern int testLib3();
  5. extern int testLib4();
  6. extern int testLib4lib();
  7. extern int testLib5();
  8. extern int testLib6();
  9. extern int testLibCycleA1();
  10. extern int testLibPerConfigDest();
  11. /* Switch a symbol between debug and optimized builds to make sure the
  12. proper library is found from the testLib4 link interface. */
  13. #ifdef EXE_DBG
  14. # define testLib4libcfg testLib4libdbg
  15. #else
  16. # define testLib4libcfg testLib4libopt
  17. #endif
  18. extern testLib4libcfg(void);
  19. int main()
  20. {
  21. return (testLib2() + generated_by_testExe1() + testLib3() + testLib4()
  22. + testLib5() + testLib6() + testLibCycleA1()
  23. + testLibPerConfigDest()
  24. + generated_by_testExe3() + testLib4lib() + testLib4libcfg());
  25. }