source: CMT/v1r16p20040901/mgr/requirements @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 21.5 KB
Line 
1package CMT
2
3author arnault@lal.in2p3.fr
4
5macro CMTrelease 15
6
7tag CMTr15 CMTr14
8tag CMTr16 CMTr14
9
10#
11#  Automatic detection of some system features.
12#
13
14
15# Getting info on the hardware
16macro cmt_hardware_query_command "uname -m" \
17      Darwin "uname -p" \
18      SunOS "uname -p" \
19      HP-UX "uname -m | sed -e 's#/##g'"
20
21macro cmt_hardware `$(cmt_hardware_query_command)` WIN32 "WIN32"
22
23apply_tag $(cmt_hardware)
24
25
26# Getting info about the OS
27macro cmt_system_version_query_command "uname -r " \
28      Linux "${CMTROOT}/mgr/cmt_linux_version.sh" \
29      SunOS "uname -r | sed -e 's#^#sunos#'" \
30      OSF1  "uname -r | sed -e 's#^#OSF#'" \
31      Darwin "system_profiler -detailLevel -2 | grep 'System Version' | sed -e 's#[^.0-9 ]##g' -e 's#  *# #g' | cut -d ' ' -f2 | sed -e 's#^#mac#' " \
32      HP-UX "uname -r | sed -e 's#^#hpux#'" \
33      CYGWIN "uname -r | sed -e 's#[(].*##' -e 's#^#Cygwin#'" \
34      LynxOS "uname -r | sed -e 's#^#LynxOS#'"
35
36macro_append cmt_system_version_query_command " | ${CMTROOT}/mgr/cmt_filter_version.sh" \
37             WIN32 ""
38
39macro cmt_system_version   `$(cmt_system_version_query_command)`   WIN32 "XP"
40
41apply_tag $(cmt_system_version)
42
43
44# Getting info about the C++ compiler
45macro cmt_compiler_version_query_command "${CMTROOT}/mgr/cmt_gcc_version.sh | grep '^gcc'" \
46      Linux "${CMTROOT}/mgr/cmt_gcc_version.sh" \
47      SunOS "${CMTROOT}/mgr/cmt_CC_version.sh" \
48      OSF1  "${CMTROOT}/mgr/cmt_cxx_version.sh" \
49      Darwin "${CMTROOT}/mgr/cmt_dcc_version.sh" \
50      HP-UX "echo aCC" \
51      LynxOS "${CMTROOT}/mgr/cmt_gcc_version.sh"
52
53macro_append cmt_compiler_version_query_command " | ${CMTROOT}/mgr/cmt_filter3_version.sh" \
54             rhel3 " | ${CMTROOT}/mgr/cmt_filter3_version.sh" \
55             cel3  " | ${CMTROOT}/mgr/cmt_filter3_version.sh" \
56             WIN32 ""
57
58macro cmt_compiler_version `$(cmt_compiler_version_query_command)` WIN32 "cl"
59
60apply_tag $(cmt_compiler_version)
61
62tag OSF1           Unix
63tag Linux          Unix
64tag HP-UX          Unix
65tag Darwin         Unix
66tag LynxOS         Unix
67tag AIX            Unix
68tag SunOS          Unix
69
70tag CYGWIN_NT-5.1  Unix CYGWIN
71
72tag alpha          OSF1
73tag alpha_dux40    alpha
74tag alpha-debug    alpha debug
75
76tag LynxOS-VGPW2   LynxOS
77tag LynxOS-PowerPC LynxOS
78tag RIO806X        LynxOS
79tag VMTR2X         LynxOS
80
81tag hp9000s780     HP-UX
82tag hp9000s700     HP-UX
83tag hp700_ux101    HP-UX
84tag hp_ux102       HP-UX
85
86tag Linux-i686     Linux
87tag i386_redhat51  Linux
88tag i386_linux22   Linux
89
90tag rs_aix42       AIX
91
92tag sun4u          SunOS
93tag sun4x_57       SunOS
94
95tag rhel3          Linux
96tag cel3           Linux
97tag slc3           Linux
98
99# Alternate possible tags for VisualC
100tag VisualC        WIN32
101tag VisualC        Win32
102tag WIN32          VisualC
103
104# Some alternate definitions for debug on VisualC
105tag VisualCdbg     WIN32 windebug
106tag VisualD        WIN32 windebug
107tag VisualDbg      WIN32 windebug
108tag VisualDebug    WIN32 windebug
109tag VisualD        VisualC windebug
110tag VisualDbg      VisualC windebug
111tag Win32Debug     VisualC windebug
112
113# VSNET tags #
114tag VC7            vsnet
115tag VC7debug       vsnet windebug
116
117tag_exclude WIN32 Unix
118tag_exclude Win32 Unix
119
120#
121#  Global PATH variables management
122#
123
124path_remove  PATH      "CMT/v" \
125             WIN32     "CMT\v"
126
127path_prepend PATH      "${CMTROOT}/${CMTBIN}" \
128             WIN32     "%CMTROOT%\%CMTBIN%"
129
130path_remove  CLASSPATH  "CMT"
131path_append  CLASSPATH  "${CMTROOT}/java" \
132             WIN32      "%CMTROOT%\java"
133
134path_append include    ""
135path_append lib        ""
136
137macro debug_option "-g" \
138      SunOS        "-G" \
139      WIN32        "/G"
140
141#
142#  C environment
143#
144
145macro cc              "gcc" \
146      insure          "insure" \
147      alpha           "cc" \
148      alphat          "cc" \
149      HP-UX           "aCC" \
150      hp700_ux101     "gcc" \
151      AIX             "xlc" \
152      SunOS           "cc" \
153      VisualC         "cl.exe" \
154      Darwin          "cc"
155
156macro cdebugflags     "" \
157      debug           "$(debug_option)"
158
159macro cflags          "" \
160      LynxOS-VGPW2    "-X" \
161      insure          "-std1" \
162      HP-UX           "+Z" \
163      hp700_ux101     "-fpic -ansi" \
164      alpha           "-std1" \
165      alphat          "-std1" \
166      SunOS           "-KPIC" \
167      VisualC         '/nologo /DWIN32 /MD /W3 $(includes) /c'
168
169macro pp_cflags       "" \
170      LynxOS-VGPW2    "-DVGPW2" \
171      HP-UX           "-D_HPUX_SOURCE" \
172      alphat          "-DCTHREADS" \
173      AIX             "-D_ALL_SOURCE -D_BSD" \
174      Linux           "-Di586"
175
176macro ccomp           "$(cc) -c $(includes) $(cdebugflags) $(cflags) $(pp_cflags)" \
177      VisualC         "cl.exe $(cdebugflags) $(cflags) $(pp_cflags)"
178
179macro clinkflags      ""
180
181macro clink           "$(cc) $(clinkflags) $(cdebugflags)" \
182      VisualC         "link.exe /nologo /machine:IX86 "
183
184
185#
186#  Developper Studio environment
187#
188
189macro msdevdll          "" \
190      VisualC           "/dll"
191
192macro msdevdllflags   "" \
193      VisualC         '/MT /D "_USRDLL" /D "WDLL_EXPORTS"' \
194      VisualD         '/MTd /D "_USRDLL" /D "WDLL_EXPORTS"'
195
196macro vsCONFIG        "" \
197      VC7             "Release" \
198      VC7debug        "Debug"
199
200macro vsOptimize      "" \
201      VC7             "2" \
202      VC7debug        "0"
203
204
205#
206#  C++ environment
207#
208
209macro ppcmd           "-I" \
210      rs_aix41        "-WF,-I" \
211      VisualC         "/I "
212
213macro preproc         "g++ -MD -c " \
214      insure          "insure" \
215      alpha           "cxx" \
216      OSF1            "g++" \
217      HP-UX           "aCC" \
218      hp700_ux101     "g++" \
219      hp_ux102        "aCC" \
220      AIX             "xlC" \
221      Linux           "c++ -MD -c " \
222      SunOS           "CC" \
223      VisualC         "cl.exe" \
224      Darwin          "c++"
225
226macro cpp             "g++" \
227      insure          "insure" \
228      alpha           "cxx" \
229      OSF1            "g++" \
230      HP-UX           "aCC" \
231      hp700_ux101     "g++" \
232      hp_ux102        "aCC" \
233      AIX             "xlC" \
234      Linux           "c++" \
235      SunOS           "CC" \
236      VisualC         "cl.exe" \
237      Darwin          "c++"
238
239macro cppdebugflags   "" \
240      debug           "$(debug_option)"
241
242macro cppflags        "" \
243      alpha           "-nocompress -std arm -msg_quiet" \
244      OSF1            "-fpic" \
245      hp9000s780      "+Z" \
246      hp700_ux101     "-fpic" \
247      HP-UX           "+Z -Wc,-ansi_for_scope,on" \
248      hp_ux102        "-z +p -Wc,-ansi_for_scope,on +O2 +Onoinitcheck" \
249      Linux           "-pipe -ansi -pedantic -W -Wall -Wwrite-strings -Wpointer-arith -Woverloaded-virtual " \
250      SunOS           "-KPIC" \
251      VisualC         '/nologo /DWIN32 /MD /W3 $(includes) /c /EHsc'
252
253macro pp_cppflags     "" \
254      HP-UX           "-D_HPUX_SOURCE" \
255      Linux           "-D_GNU_SOURCE"
256
257macro cppcomp         "$(cpp) -c $(includes) $(cppdebugflags) $(cppflags) $(pp_cppflags)" \
258      VisualC         "cl.exe $(cppdebugflags) $(cppflags) $(pp_cppflags)"
259
260macro cpplinkflags    ""
261
262macro cpplink         "$(cpp) $(cpplinkflags) $(cppdebugflags)" \
263      VisualC         "link.exe /nologo /machine:I386"
264
265macro cpp_linkopts    "" \
266      OSF1            " -lstdc++ " \
267      alpha           " /usr/lib/cmplrs/cxx/libcxx.a -lcxxstd -lexc -lm " \
268      alphat          " /usr/lib/cmplrs/cxx/libcxx.a -lcxxstd -lexc -lm "
269
270#
271#  Fortran environment
272#
273
274macro for             "f77" \
275      HP-UX           "fort77" \
276      rs_aix41        "xlf" \
277      Linux           "g77"
278
279macro fflags          "$(debug_option)" \
280      VisualC         ""
281
282macro fcomp           "$(for) -c $(fincludes) $(fflags) $(pp_fflags)" \
283      VisualC         ""
284
285macro flink           "$(for) $(flinkflags)"
286
287#
288#  Java environment
289#
290
291macro javacomp        "javac -classpath $(src):$(CLASSPATH) "
292macro javacopy        "cp"    VisualC "copy"
293macro jar             "jar"
294
295#
296#  X11 environment
297#
298
299macro X11_cflags      "-I/usr/include" \
300      HP-UX           "-I/usr/include/X11R5" \
301      SunOS           "-I/usr/motif/usr/include" \
302      VisualC         ""
303
304macro Xm_cflags       "-I/usr/include" \
305      HP-UX           "-I/usr/include/Motif1.2" \
306      SunOS           "-I/usr/motif/usr/include" \
307      VisualC         ""
308
309####      hp9000s700      "/usr/lib/Motif1.2/libXm.sl /usr/lib/X11R5/libXt.sl /usr/lib/X11R5/libX11.sl"
310
311macro X_linkopts      ""\
312      alpha           "-lXm -lXmu -lXt -lXext -lX11 -ldnet_stub -lm -lots"\
313      OSF1            "-lXm -lXmu -lXt -lXext -lX11 -ldnet_stub -lm -lots"\
314      insure          "-lXm -lXmu -lXt -lXext -lX11 -ldnet_stub -lm -lots"\
315      HP-UX           "-L/usr/lib -lXm -L/usr/contrib/X11R6/lib -lXmu -lXt -lXext -lX11" \
316      SunOS           "-L/usr/motif/usr/lib -lXm -lXt -lX11 -lm"\
317      LynxOS          "-lXt -lX11 -lm"\
318      Linux           "-L/usr/X11R6/lib -lXm -lXt -lXext -lX11 -lm"\
319      RIO806X         "-lXm -lXt -lXext -lX11 -lm"\
320      VGPW2           "-lXm -lXt -lXext -lX11 -lm"\
321      m68k            "-lXm -lXt -lXext -lX11 -lm"\
322      IRIX            "/usr/lib/libXm.so /usr/lib/libXt.so /usr/lib/libX11.so -lm -lPW"\
323      AIX             "/usr/lib/libXm.a /usr/lib/libXt.a /usr/lib/libX11.a -lm" \
324      VisualC         ""
325
326#
327# Lex environment
328#
329
330macro lexflags        ""
331macro lex             "lex $(lexflags)" \
332      i686            "flex $(lexflags)"
333
334#
335# Yacc environment
336#
337
338macro yaccflags       " -l -d " \
339      VisualC         ""
340
341macro yacc            "yacc $(yaccflags)"
342
343#
344#  Archive environment
345#
346
347macro ar              "ar -clr" \
348      SunOS           "ar clr" \
349      VGPW2           "ar clr" \
350      m68k            "ar clr" \
351      LynxOS          "ar clr" \
352      RIO806X         "ar clr" \
353      Linux           "ar r" \
354      VisualC         "lib.exe /nologo "
355
356macro ranlib          "ranlib" \
357      SunOS           "ar ts" \
358      VGPW2           "ar ts" \
359      m68k            "ranlib" \
360      RIO806X         "ranlib" \
361      LynxOS          "ar ts" \
362      IRIX            "ar ts"
363
364macro make_shlib    "echo" \
365      HP-UX         "${CMTROOT}/mgr/cmt_make_shlib_common.sh extract" \
366      OSF1          "${CMTROOT}/mgr/cmt_make_shlib_common.sh noextract" \
367      Linux         "${CMTROOT}/mgr/cmt_make_shlib_common.sh extract" \
368      SunOS         "${CMTROOT}/mgr/cmt_make_shlib_common.sh extract" \
369      Darwin        "${CMTROOT}/mgr/cmt_make_shlib_common.sh extract" \
370      VisualC       "%CMTROOT%\mgr\cmt_make_shlib.bat"
371
372macro shlibsuffix   "" \
373      HP-UX         "sl" \
374      OSF1          "so" \
375      SunOS         "so" \
376      Linux         "so" \
377      Darwin        "dylib" \
378      WIN32         "dll"
379
380macro shlibbuilder  "" \
381      HP-UX         "aCC" \
382      OSF1          "ld" \
383      SunOS         "CC" \
384      Linux         "g++" \
385      Darwin        "c++"
386
387macro shlibflags    "" \
388      HP-UX         "-Wl,-a,shared -b +Z -q -Wl,+s -Wl,+vallcompatwarnings" \
389      OSF1          "-shared -expect_unresolved '*'" \
390      Linux         "-shared" \
391      SunOS         "$(debug_option)" \
392      VisualC       "" \
393      Darwin        "-dynamiclib -flat_namespace -undefined suppress "
394
395macro symlink       "/bin/ln -fs " \
396      VisualC       ""
397
398macro symunlink     "/bin/rm -f " \
399      VisualC       ""
400
401macro build_library_links  "$(cmtexe) build library_links -quiet -tag=$(tags)"
402macro remove_library_links "$(cmtexe) remove library_links -quiet -tag=$(tags)"
403
404#
405# Prototype and dependency generation
406#
407
408macro cmtexe             "${CMTROOT}/${CMTBIN}/cmt.exe" \
409      WIN32              "%CMTROOT%\%CMTBIN%\cmt.exe"
410
411##macro tags               "$(CMTEXTRATAGS)"
412
413macro build_prototype    "$(cmtexe) build prototype"
414macro build_dependencies "$(cmtexe) -quiet -tag=$(tags) build dependencies"
415macro build_triggers     "$(cmtexe) build triggers"
416
417macro implied_library_prefix "-l" \
418      LynxOS                 "$(<PACKAGE>ROOT)/$(bin)/lib"
419
420macro implied_library_suffix "" \
421      VisualC                ".lib" \
422      LynxOS                 ".a"
423
424#
425# Generic environments
426#
427
428macro SHELL           "/bin/sh" WIN32 "cmd"
429
430macro src             "../src/" WIN32 "..\src\"
431macro doc             "../doc/" WIN32 "..\doc\"
432macro inc             "../src/" WIN32 "..\src\"
433macro mgr             "../mgr/" WIN32 "..\mgr\"
434##macro javabin         "../classes/"
435
436macro application_suffix ".exe"
437macro library_prefix "lib" WIN32 ""
438macro library_suffix ""
439
440macro lock_command "chmod -R a-w ../*" \   
441      VisualC      "attrib /S /D +R ..\*"
442
443macro unlock_command "chmod -R g+w ../*" \   
444      VisualC      "attrib /S /D -R ..\*"
445
446macro preprocessor_command "" \
447      VisualC              ""
448
449macro_append MAKEFLAGS " --no-print-directory "
450
451#macro_prepend constituents " configclean "
452
453#
454# Remote definitions
455#
456
457macro gmake_hosts "lx1 rsplus lxtest as7 dxplus ax7 hp2 aleph hp1 hpplus papou1-fe atlas"
458
459macro make_hosts  "virgo-control1 rio0a vmpc38a"
460
461macro everywhere  "hosts" \
462      LAL         "as7 lx1 virgo-control1 papou1-fe hp2 aleph hp1" \
463      LHCb        "lxtest hpplus dxplus rsplus" \
464      Atlas       "lxplus sundev" \
465      Cascina     "ax7 vmpc38a rio0a"
466
467
468#
469#  Fragments
470#
471
472make_fragment make_header
473make_fragment library_header
474make_fragment application_header
475make_fragment document_header
476make_fragment java_header
477make_fragment jar_header
478make_fragment protos_header
479make_fragment buildproto
480make_fragment library
481make_fragment library_no_share
482make_fragment application
483make_fragment jar
484make_fragment java
485make_fragment java_copy
486make_fragment cleanup_header
487make_fragment cleanup
488make_fragment cleanup_library
489make_fragment cleanup_application
490make_fragment cleanup_java
491make_fragment cleanup_objects
492
493make_fragment fortran
494make_fragment c
495make_fragment cpp
496make_fragment lex
497make_fragment yacc
498
499make_fragment fortran_library
500make_fragment c_library
501make_fragment cpp_library
502make_fragment lex_library
503make_fragment yacc_library
504
505make_fragment dsw_header
506make_fragment dsw_project
507make_fragment dsw_trailer
508make_fragment dsw_all_project_header
509make_fragment dsw_all_project_dependency
510make_fragment dsw_all_project_trailer
511
512make_fragment dsp_library_header
513make_fragment dsp_shared_library_header
514make_fragment dsp_application_header
515make_fragment dsp_windows_header
516make_fragment dsp_contents
517make_fragment dsp_trailer
518make_fragment dsp_all
519
520# vsnet fragments
521make_fragment vcproj_library_header
522make_fragment vcproj_application_header
523make_fragment vcproj_all
524make_fragment vcproj_trailer
525make_fragment vcproj_contents
526make_fragment vcproj_directory_header
527make_fragment vcproj_directory_trailer
528
529make_fragment sln_header
530make_fragment sln_project
531make_fragment sln_trailer
532make_fragment sln_project_config
533make_fragment sln_dependency_project
534
535make_fragment sln_dependency_header
536make_fragment sln_dependency_trailer
537
538#### all packages have same GUID, and the "all" project as well
539
540macro GUID_all     "" vsnet {DD1EDB1B-B098-44F8-8012-3039B5A56FEF}
541macro package_GUID "" vsnet {8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}
542
543make_fragment make_setup
544make_fragment make_setup_header
545
546make_fragment constituents_header
547make_fragment group
548make_fragment constituent
549make_fragment constituents_trailer
550
551make_fragment dependencies
552make_fragment dependencies_and_triggers
553
554make_fragment readme_header
555make_fragment readme
556make_fragment readme_doc
557make_fragment readme_use
558make_fragment readme_trailer
559
560make_fragment tex -header=tex_header -suffix=ps
561
562make_fragment check_application
563make_fragment check_java
564make_fragment check_application_header
565
566make_fragment application_launcher -header=application_launcher_header
567
568make_fragment install_includes -header=install_includes_header
569
570macro install_command "cp " \
571      WIN32           "xcopy /S /E /Y "
572
573macro uninstall_command "/bin/rm -f " \
574      WIN32             "del "
575
576
577
578macro cmt_installarea_command "ln -s " \
579      WIN32                   "xcopy /S /E /Y "
580
581macro cmt_uninstallarea_command "/bin/rm -f " \
582      WIN32                     "del "
583
584macro cmt_install_area_command "$(cmt_installarea_command)"
585macro cmt_uninstall_area_command "$(cmt_uninstallarea_command)"
586
587macro cmt_install_action       "$(CMTROOT)/mgr/cmt_install_action.sh" \
588      WIN32                    "$(CMTROOT)\mgr\cmt_install_action.bat"
589
590macro cmt_installdir_action    "$(CMTROOT)/mgr/cmt_installdir_action.sh" \
591      WIN32                    "$(CMTROOT)\mgr\cmt_installdir_action.bat"
592
593macro cmt_uninstall_action     "$(CMTROOT)/mgr/cmt_uninstall_action.sh" \
594      WIN32                    "$(CMTROOT)\mgr\cmt_uninstall_action.bat"
595
596macro cmt_uninstalldir_action  "$(CMTROOT)/mgr/cmt_uninstalldir_action.sh" \
597      WIN32                    "$(CMTROOT)\mgr\cmt_uninstalldir_action.bat"
598
599macro cmt_installdir_excludes  "" WIN32 "$(CMTROOT)\mgr\cmt_installdir_excludes.txt"
600
601
602
603macro mkdir  "mkdir" \
604      LynxOS "mkdir -f"
605
606#-----------------------------------------------------------------
607# Generic copy facility
608#   It is customized through the parameter:
609#     install_dir="<path where to install the sources>"
610#
611make_fragment installer -header=installer_header
612
613
614#-----------------------------------------------------------------
615# Generic usage of the cmt expand model facility
616#   the fragment is customized through the following parameters:
617#    model="<model text string>"
618#    out="<output file name>"
619#
620make_fragment generator -header=generator_header
621
622#-----------------------------------------------------------------
623# Generic action runner
624#
625make_fragment cmt_action_runner -header=cmt_action_runner_header
626
627#
628# The supported languages
629#
630
631language fortran -suffix=f -suffix=F -preprocessor_command=$(ppcmd) -linker=$(flink)
632language c       -suffix=c -prototypes -linker=$(clink)
633language c++     -suffix=C -suffix=cc -suffix=cxx -suffix=cpp -fragment=cpp -linker=$(cpplink)
634language java    -suffix=java -linker=java
635language yacc    -suffix=y -prototypes -linker=$(clink)
636language lex     -suffix=l -prototypes -linker=$(clink)
637
638#
639# The CMTPATH patterns for installation areas
640#
641
642macro cmt_installarea_prefix "InstallArea"
643
644cmtpath_pattern \
645  macro cmt_installarea_paths "$(cmt_installarea_prefix)/$(tag)/bin" ; \
646  macro_append cmt_installarea_paths " $(cmt_installarea_prefix)/$(tag)/lib" ; \
647  macro_append cmt_installarea_paths " $(cmt_installarea_prefix)/share/lib" ; \
648  macro_append cmt_installarea_paths " $(cmt_installarea_prefix)/share/bin" ; \
649  macro_prepend use_linkopts   " $(cmt_installarea_linkopts) " ; \
650  macro_append shlibbuilder    " $(cmt_installarea_linkopts) "
651
652macro CMT_PATH_remove_regexp "/[^/]*/" WIN32 "\\[^\\]*\\"
653macro CMT_PATH_remove_share_regexp "/share/" WIN32 "\\share\\"
654
655cmtpath_pattern \
656  macro <project>_installarea_prefix "$(cmt_installarea_prefix)" ; \
657  macro <project>_installarea_prefix_remove "$(<project>_installarea_prefix)" ; \
658  path_remove_regexp PATH "$(<project>_installarea_prefix_remove)$(CMT_PATH_remove_regexp)bin$" ; \
659  path_remove_regexp PATH "$(<project>_installarea_prefix_remove)$(CMT_PATH_remove_regexp)lib$" ; \
660  path_remove_regexp LD_LIBRARY_PATH "$(<project>_installarea_prefix_remove)/[^/]*/lib$"  ; \
661  path_remove_regexp CLASSPATH "$(<project>_installarea_prefix_remove)$(CMT_PATH_remove_share_regexp)lib$" \
662                     <project>_without_installarea "" ; \
663  path_remove_regexp CLASSPATH "$(<project>_installarea_prefix_remove)$(CMT_PATH_remove_share_regexp)bin$" \
664                     <project>_without_installarea ""
665
666cmtpath_pattern \
667  path_prepend PATH "" \
668               <project>_with_installarea&WIN32 "<path>/$(<project>_installarea_prefix)/${tag}/bin" \
669               <project>_with_installarea&Unix "<path>/$(<project>_installarea_prefix)/${tag}/bin" ; \
670  path_prepend PATH "" \
671               <project>_with_installarea&WIN32 "<path>/$(<project>_installarea_prefix)/${tag}/lib" ; \
672  path_prepend LD_LIBRARY_PATH "" \
673               <project>_with_installarea&Unix "<path>/$(<project>_installarea_prefix)/${tag}/lib" ; \
674  path_prepend CLASSPATH       "<path>/$(<project>_installarea_prefix)/share/lib" <project>_without_installarea "" ; \
675  path_prepend CLASSPATH       "<path>/$(<project>_installarea_prefix)/share/bin" <project>_without_installarea "" ; \
676  macro_prepend cmt_installarea_linkopts "" \
677                <project>_without_installarea "" \
678                <project>_with_installarea&Unix " -L<path>/$(<project>_installarea_prefix)/$(tag)/lib " \
679                <project>_with_installarea&WIN32 " /LIBPATH:<path>\$(<project>_installarea_prefix)\$(tag)\lib "
680
681set NEWCMTCONFIG "${cmt_hardware}-${cmt_system_version}-${cmt_compiler_version}"
682
683#
684# The cmt constituent
685#
686
687application cmt cmt.cxx \
688cmt_awk.cxx \
689cmt_branch.cxx \
690cmt_constituent.cxx \
691cmt_deps_builder.cxx \
692cmt_fragment.cxx \
693cmt_generator.cxx \
694cmt_include.cxx \
695cmt_parser.cxx \
696cmt_script.cxx \
697cmt_string.cxx \
698cmt_system.cxx \
699cmt_tag.cxx \
700cmt_use.cxx \
701cmt_symbol.cxx \
702cmt_error.cxx \
703cmt_pattern.cxx \
704cmt_language.cxx \
705cmt_cvs.cxx \
706cmt_group.cxx \
707cmt_database.cxx \
708cmt_lock.cxx \
709cmt_triggers.cxx \
710cmt_regexp.cxx \
711cmt_model.cxx \
712cmt_project.cxx \
713cmt_syntax.cxx \
714cmt_install_area.cxx \
715cmt_cmtpath_pattern.cxx \
716cmt_sequence.cxx \
717cmt_generators.cxx \
718cmt_scope_section.cxx \
719cmt_log.cxx
720
721private
722
723macro all_constituents cmt
724
725macro_append cpplink "" VisualC " advapi32.lib "
726
Note: See TracBrowser for help on using the repository browser.