Makefile.am 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. MAINTAINERCLEANFILES = Makefile.in
  2. lib_LTLIBRARIES = libDtSvc.la
  3. # in order to try to keep lib versions the same across platforms, (2.1.0)
  4. if BSD
  5. libDtSvc_la_LDFLAGS = -version-info 2:1:0
  6. else
  7. libDtSvc_la_LDFLAGS = -version-info 3:0:1
  8. endif
  9. # USe CPPFLAGS so it will apply to both C and C++ components
  10. libDtSvc_la_CPPFLAGS = -I./include -DMULTIBYTE -DNLS16 -I../include \
  11. @DT_INCDIR@ -DCDE_INSTALLATION_TOP=\"$(CDE_INSTALLATION_TOP)\" \
  12. -DCDE_CONFIGURATION_TOP=\"$(CDE_CONFIGURATION_TOP)\"
  13. if SOLARIS
  14. libDtSvc_la_CPPFLAGS += -DNO_REGCOMP
  15. endif
  16. # OSVERSION hackery. This database works by comparing a number
  17. # computed with the OS major/minor versions to determine appropriate
  18. # entries in the Xlocale DB. These are currently hardcoded per OS in
  19. # configure.ac. Well, no more. Now they will be hardcoded per OS
  20. # here - the only place where they are really needed currently, until
  21. # some time in the future when old and irrelevant entries are removed
  22. # from the DB and we won't need this at all.
  23. if LINUX
  24. libDtSvc_la_CPPFLAGS += -DOSMAJORVERSION=4 -DOSMINORVERSION=15
  25. endif
  26. if FREEBSD
  27. libDtSvc_la_CPPFLAGS += -DOSMAJORVERSION=10 -DOSMINORVERSION=0
  28. endif
  29. if OPENBSD
  30. libDtSvc_la_CPPFLAGS += -DOSMAJORVERSION=6 -DOSMINORVERSION=2
  31. endif
  32. if NETBSD
  33. libDtSvc_la_CPPFLAGS += -DOSMAJORVERSION=8 -DOSMINORVERSION=0
  34. endif
  35. if SOLARIS
  36. libDtSvc_la_CPPFLAGS += -DOSMAJORVERSION=5 -DOSMINORVERSION=10
  37. endif
  38. libDtSvc_la_SOURCES = DtCodelibs/buf.C \
  39. DtCodelibs/buf.h \
  40. DtCodelibs/filegen.C \
  41. DtCodelibs/mbschr.C \
  42. DtCodelibs/pathcollapse.C \
  43. DtCodelibs/privbuf.C \
  44. DtCodelibs/shellscan.C \
  45. DtCodelibs/strcase.C \
  46. DtCodelibs/strend.C \
  47. DtCodelibs/strhash.C \
  48. DtCodelibs/stringio.C \
  49. DtCodelibs/stringio.h \
  50. DtCodelibs/strtokx.C \
  51. DtCodelibs/strwcmp.C \
  52. DtEncap/bmsglob.c \
  53. DtEncap/connect.c \
  54. DtEncap/local.c \
  55. DtEncap/MemoryMgr.c \
  56. DtEncap/nls.c \
  57. DtEncap/noio.c \
  58. DtEncap/pathwexp.c \
  59. DtEncap/pipe.c \
  60. DtEncap/pty.c \
  61. DtEncap/remote.c \
  62. DtEncap/SbEvent.c \
  63. DtEncap/sbstdinc.c \
  64. DtEncap/scoop.c \
  65. DtEncap/spc.c \
  66. DtEncap/spc-env.c \
  67. DtEncap/spc-error.c \
  68. DtEncap/spc-exec.c \
  69. DtEncap/spc-net.c \
  70. DtEncap/spc-obj.c \
  71. DtEncap/spc-proto.c \
  72. DtEncap/spc-sm.c \
  73. DtEncap/spc-termio.c \
  74. DtEncap/spc-util.c \
  75. DtEncap/spc-xt.c \
  76. DtEncap/stringbuf.c \
  77. DtEncap/Symbolic.c \
  78. DtEncap/usersig.c \
  79. DtUtil1/Action.c \
  80. DtUtil1/ActionDb.c \
  81. DtUtil1/ActionFind.c \
  82. DtUtil1/ActionTt.c \
  83. DtUtil1/ActionUtil.c \
  84. DtUtil1/CmdMain.c \
  85. DtUtil1/CmdProcess.c \
  86. DtUtil1/CmdSpc.c \
  87. DtUtil1/CmdUtilityP.c \
  88. DtUtil1/DbLoad.c \
  89. DtUtil1/DbReader.c \
  90. DtUtil1/DbUtil.c \
  91. DtUtil1/DndBuff.c \
  92. DtUtil1/Dnd.c \
  93. DtUtil1/DndDrag.c \
  94. DtUtil1/DndDrop.c \
  95. DtUtil1/DndFile.c \
  96. DtUtil1/DndIcon.c \
  97. DtUtil1/DndText.c \
  98. DtUtil1/Dt.c \
  99. DtUtil1/DtHash.c \
  100. DtUtil1/Dts.c \
  101. DtUtil1/DtsDb.c \
  102. DtUtil1/DtsInit.c \
  103. DtUtil1/DtsMM.c \
  104. DtUtil1/DtsSort.c \
  105. DtUtil1/GetMwmW.c \
  106. DtUtil1/GetVWmHint.c \
  107. DtUtil1/intarray.c \
  108. DtUtil1/inttab.c \
  109. DtUtil1/MMDb.c \
  110. DtUtil1/myassertP.h \
  111. DtUtil1/Qualify.c \
  112. DtUtil1/Saver.c \
  113. DtUtil1/SetVWmHint.c \
  114. DtUtil1/SmComm.c \
  115. DtUtil1/SmUtil.c \
  116. DtUtil1/strtab.c \
  117. DtUtil1/WmAddDelWs.c \
  118. DtUtil1/WmBackWin.c \
  119. DtUtil1/WmChBackD.c \
  120. DtUtil1/WmGWsInfo.c \
  121. DtUtil1/WmGWsList.c \
  122. DtUtil1/WmMarquee.c \
  123. DtUtil1/WmRequest.c \
  124. DtUtil1/WmRestart.c \
  125. DtUtil1/WmRmWsFcn.c \
  126. DtUtil1/WmSetTitle.c \
  127. DtUtil1/WmSetWs.c \
  128. DtUtil1/WmWsCallB.c \
  129. DtUtil1/WmWsHints.c \
  130. DtUtil1/WmWsOccupy.c \
  131. DtUtil2/ActIndicator.c \
  132. DtUtil2/addToRes.c \
  133. DtUtil2/bitmaps.h \
  134. DtUtil2/ChkpntClient.c \
  135. DtUtil2/ChkpntListen.c \
  136. DtUtil2/CmdUtility.c \
  137. DtUtil2/DtEnvMap.c \
  138. DtUtil2/DtGetMessage.c \
  139. DtUtil2/DtNlUtils.c \
  140. DtUtil2/DtUtil.c \
  141. DtUtil2/EnvControl.c \
  142. DtUtil2/FileUtil.c \
  143. DtUtil2/GetDispRes.c \
  144. DtUtil2/GetEmbed.c \
  145. DtUtil2/GetMessage.c \
  146. DtUtil2/Hash.c \
  147. DtUtil2/HourGlass.c \
  148. DtUtil2/Info.c \
  149. DtUtil2/LocaleXlate.c \
  150. DtUtil2/lock.c \
  151. DtUtil2/MsgCat.c \
  152. DtUtil2/MsgLog.c \
  153. DtUtil2/PrintXErr.c \
  154. DtUtil2/SharedProcs.c \
  155. DtUtil2/SmCreateDirs.c \
  156. DtUtil2/SunDtHelp.c \
  157. DtUtil2/SvcTT.c \
  158. DtUtil2/UErrNoBMS.c \
  159. DtUtil2/Utility.c \
  160. DtUtil2/XlationSvc.c \
  161. DtUtil2/XmWrap.c
  162. if HAS_PAM_LIBRARY
  163. libDtSvc_la_SOURCES += DtUtil2/SvcPam.c
  164. libDtSvc_la_LIBADD = $(PAMLIB)
  165. endif