home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / informix / 1877 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.6 KB

  1. Path: sparky!uunet!wupost!emory!worms-emh2.army.mil
  2. From: bob@worms-emh2.army.mil (Bob Kane)
  3. Newsgroups: comp.databases.informix
  4. Subject: 4GL, Make & SCCS
  5. Message-ID: <9468@emory.mathcs.emory.edu>
  6. Date: 4 Sep 92 09:48:11 GMT
  7. Sender: walt@mathcs.emory.edu
  8. Reply-To: bob@worms-emh2.army.mil (Bob Kane)
  9. Lines: 26
  10. X-Informix-List-ID: <list.1429>
  11.  
  12. If anyone out is currently using Unix Make files to compile 4GL programs that
  13. are maintained by SCCS (Source Code Control System) I would appreciate some
  14. pointers.  I am trying to set this up for all of our systems, but I am not
  15. terribly familar with SCCS and how to make the proper calls to it from the
  16. makefile.  For example, 4GL modules that use a specific globals file require
  17. that the globals source file (the 4GL code) be available and readable at
  18. compile time.  If you are using the makefile to compile a single module that
  19. you have changed, it would appear that you have to check out a copy of the
  20. globals file from SCCS before the compile.  This means that each rule for
  21. a 4GL has to check out a copy of the globals file, and unget it when it is
  22. finished, so it is availble for the next module.  Or is my logic faulty?
  23.  
  24. Example of the rules I have set up is below:
  25.  
  26.     module.o :
  27.         $(GET) -e s.globals.4gl
  28.         $(GET) -e s.module.4gl
  29.         c4gl -c module.4gl
  30.         unget s.globals.4gl
  31.         unget s.module.4gl
  32.  
  33. -----------------------------------------------------------------------------
  34. Bob Kane                   Internet: bob@worms-emh2.army.mil (IP 134.235.9.2)
  35. TechDyn Systems               Voice: (049) 6241-487304   (WORMS, GERMANY)
  36. CMR 421, BOX 706                Fax: (049) 6241-74530
  37. APO AE 09056                    CIS: 71054,2661
  38.