Sources.pp 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #define LOCAL_LIBS express pandabase
  2. #define OTHER_LIBS interrogatedb:c dconfig:c dtoolutil:c dtoolbase:c dtool:m
  3. #define USE_NSPR yes
  4. #define USE_IPC yes
  5. #define DIRECTORY_IF_IPC yes
  6. #begin lib_target
  7. #define TARGET ipc
  8. #define SOURCES \
  9. ipc.cxx ipc_atomics.h ipc_condition.h ipc_file.I ipc_file.h \
  10. ipc_library.h ipc_mach_traits.h ipc_mutex.h ipc_nspr_traits.h \
  11. ipc_nt_traits.h ipc_posix_traits.h \
  12. ipc_ps2_traits.h ipc_semaphore.h ipc_solaris_traits.h ipc_thread.h \
  13. ipc_traits.cxx ipc_traits.h
  14. #define INSTALL_HEADERS \
  15. ipc_mutex.h ipc_condition.h ipc_semaphore.h ipc_thread.h \
  16. ipc_traits.h ipc_mach_traits.h ipc_nt_traits.h ipc_posix_traits.h \
  17. ipc_solaris_traits.h ipc_nspr_traits.h ipc_ps2_traits.h \
  18. ipc_atomics.h ipc_library.h ipc_file.h ipc_file.I
  19. #end lib_target
  20. // There needs to be a way to compile this into the ipc library only
  21. // when appropriate. Perhaps as simple as compiling it all the time,
  22. // but protecting the code itself within #ifdefs.
  23. #define EXTRA_DIST ipc_nt_traits.cxx
  24. // test_lib_target is not implemented yet. This is a bogus
  25. // test_bin_target until then.
  26. #begin test_bin_target
  27. #define TARGET loom
  28. #define SOURCES \
  29. loom.cxx loom.h loom_internal.h
  30. #define LOCAL_LIBS ipc $[LOCAL_LIBS]
  31. #end test_bin_target
  32. #begin test_bin_target
  33. #define TARGET test_diners
  34. #define SOURCES test_diners.cxx
  35. #define LOCAL_LIBS ipc $[LOCAL_LIBS]
  36. #end test_bin_target
  37. #begin test_bin_target
  38. #define TARGET test_priority
  39. #define SOURCES test_priority.cxx
  40. #define LOCAL_LIBS ipc $[LOCAL_LIBS]
  41. #end test_bin_target
  42. #begin test_bin_target
  43. #define TARGET test_prodcons
  44. #define SOURCES test_prodcons.cxx
  45. #define LOCAL_LIBS ipc $[LOCAL_LIBS]
  46. #end test_bin_target
  47. #begin test_bin_target
  48. #define TARGET test_threaddata
  49. #define SOURCES test_threaddata.cxx
  50. #define LOCAL_LIBS ipc $[LOCAL_LIBS]
  51. #end test_bin_target
  52. #begin test_bin_target
  53. #define TARGET loom_main
  54. #define SOURCES loom_main.cxx
  55. #define LOCAL_LIBS loom ipc $[LOCAL_LIBS]
  56. #end test_bin_target
  57. #begin test_bin_target
  58. #define TARGET test_file
  59. #define SOURCES test_file.cxx
  60. #define LOCAL_LIBS loom ipc $[LOCAL_LIBS]
  61. #end test_bin_target
  62. // Oops, these are test .so's
  63. #begin test_bin_target
  64. #define TARGET loom_test1
  65. #define SOURCES loom_test1.cxx
  66. #define LOCAL_LIBS loom ipc $[LOCAL_LIBS]
  67. #end test_bin_target
  68. #begin test_bin_target
  69. #define TARGET loom_test2
  70. #define SOURCES loom_test2.cxx
  71. #define LOCAL_LIBS loom ipc $[LOCAL_LIBS]
  72. #end test_bin_target