home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / os / bsdss4.tz / bsdss4 / bsdss / setvar.csh < prev   
Encoding:
Linux/UNIX/POSIX Shell Script  |  1992-07-19  |  3.6 KB  |  127 lines

  1. #!/bin/csh
  2. #
  3. # Mach Operating System
  4. # Copyright (c) 1992 Carnegie Mellon University
  5. # All Rights Reserved.
  6. # Permission to use, copy, modify and distribute this software and its
  7. # documentation is hereby granted, provided that both the copyright
  8. # notice and this permission notice appear in all copies of the
  9. # software, derivative works or modified versions, and any portions
  10. # thereof, and that both notices appear in supporting documentation.
  11. # CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
  12. # CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  13. # ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  14. # Carnegie Mellon requests users of this software to return to
  15. #  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  16. #  School of Computer Science
  17. #  Carnegie Mellon University
  18. #  Pittsburgh PA 15213-3890
  19. # any improvements or extensions that they make and grant Carnegie Mellon 
  20. # the rights to redistribute these changes.
  21. #
  22. #
  23. # @OSF_FREE_COPYRIGHT@
  24. #
  25. # Copyright (c) 1991
  26. # Open Software Foundation, Inc.
  27. # Permission is hereby granted to use, copy, modify and freely distribute
  28. # the software in this file and its documentation for any purpose without
  29. # fee, provided that the above copyright notice appears in all copies and
  30. # that both the copyright notice and this permission notice appear in
  31. # supporting documentation.  Further, provided that the name of Open
  32. # Software Foundation, Inc. ("OSF") not be used in advertising or
  33. # publicity pertaining to distribution of the software without prior
  34. # written permission from OSF.  OSF makes no representations about the
  35. # suitability of this software for any purpose.  It is provided "as is"
  36. # without express or implied warranty.
  37. #
  38. #
  39. # HISTORY
  40. # $Log:    setvar.csh,v $
  41. # Revision 2.2  92/05/20  20:16:42  mrt
  42. #     Put EndLog marker in the right place
  43. #     [92/05/20  14:34:30  mrt]
  44. #     First checkin
  45. #     [92/05/20            mrt]
  46. #     $EndLog$
  47.  
  48. #
  49. # Setup variables describing the current environment
  50. #
  51.  
  52. # TARGET_MACHINE names subdirectories with machine specific files
  53. setenv TARGET_MACHINE "SUN3"
  54. #target_machine is used as the name of the kernel directory that "machine"
  55. #links to unless it it overridden by KERN_MACHINE_DIR
  56. setenv target_machine "sun3"
  57. setenv TARGET_CPU "SUN3"
  58. setenv target_cpu "sun3"
  59. setenv TARGET_OS "MACH"
  60. setenv target_os "mach"
  61.  
  62. #
  63. # Default search path 
  64. #
  65. setenv DEFPATH /usr/cs/bin:/usr/ucb:/bin:/usr/bin
  66. setenv DEFCPATH /usr/cs/include:/usr/include
  67. setenv DEFLPATH /usr/cs/lib:/usr/lib
  68.  
  69. #
  70. # File formats
  71. #
  72. setenv OBJECT_FORMAT A_OUT
  73. setenv ARCHIVE_FORMAT BSDARCH
  74.  
  75. #
  76. #  Compiler choices
  77. #
  78. setenv CC gcc
  79. #setenv ASCPP "cc -ES"
  80. setenv ASCPP "gcc -S"
  81. #setenv CPP /lib/cpp
  82. setenv CPP /usr/LOCAL/other/sun3/gcc-2.2.2/cpp
  83.  
  84. setenv NOSHARED_LIBRARIES NOSHARED_LIBRARIES
  85.  
  86. #
  87. # Porting flags - used by some ODE tools to avoid using
  88. # features that the current system doesn't support
  89. # Set PORTING_FLAGS to the ones your system is missing
  90. #
  91. # NO_DIRENT used by md.c
  92. # NO_SETENV
  93. # NO_STRDUP used by makepath.c
  94. # NO_SYSLIMITS used by makepath.c
  95. # NO_UTIMES used by release.c
  96. # NO_VPRINTF used by md.c, release.c
  97.  
  98. set PORTING_FLAGS="-DNO_STRDUP -DNO_SYS_LIMITS -DNO_DIRENT"
  99.  
  100. #
  101. # Define these if your system  does not have these entries
  102. # in libc.a. Make needs them and will get them from its 
  103. # porting directory if the NO_ environment variable is set
  104. #
  105.  
  106. #setenv NO_FSS NOFSS
  107. setenv NO_GETCWD NO_GETCWD
  108. setenv NO_GETOPT NO_GETOPT
  109. #setenv NO_SETENV NO_SETENV
  110. setenv NO_STRDUP NO_STRDUP
  111. #setenv NO_STRERROR NO_STRERROR
  112. setenv NO_WAITPID NO_WAITPID
  113.  
  114. setenv MAKESYSPATH /home/mckeeveb/private/mach3/src/user/ode/mk
  115. setenv RULES_MK osf.rules.mk
  116. setenv project_name mach3
  117.