home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / utility / rcs5ap1m / makefile next >
Makefile  |  1991-02-19  |  9KB  |  153 lines

  1. # $Id: makefile.,v 1.4 1991/01/30 17:33:42 apratt Exp $
  2. # Copyright (C) 1982, 1988, 1989 Walter Tichy
  3. #   Copyright 1990 by Paul Eggert
  4. #   Distributed under license by the Free Software Foundation, Inc.
  5. #
  6. # This file is part of RCS.
  7. #
  8. # RCS is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 1, or (at your option)
  11. # any later version.
  12. #
  13. # RCS is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with RCS; see the file COPYING.  If not, write to
  20. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  21. #
  22. # Report problems and direct all questions to:
  23. #
  24. #    rcs-bugs@cs.purdue.edu
  25. #
  26. #               INSTRUCTIONS
  27. #               ============
  28.  
  29.  
  30. #    Figure out where to put the RCS commands; define RCSDIR accordingly.
  31.  
  32. RCSDIR  = /net/acae127/home/bammi/bin
  33. #RCSDIR = /usr/local/bin
  34.  
  35.  
  36. #    Define INSTALL_SETID_FLAGS as needed to install RCS setgid or setuid.
  37. #    This makes sense only when setegid() and seteuid() work
  38. #    Setgid is better than setuid because it mixes with nonstrict locking.
  39. #INSTALL_SETID_FLAGS = ${INSTALL_NORMAL_FLAGS}
  40. #INSTALL_SETID_FLAGS = -g rcs -o root -m 2555
  41.  INSTALL_SETID_FLAGS = ${INSTALL_NORMAL_FLAGS}
  42.  
  43.  
  44. #    Define RCSPREFIX to be empty if you want RCS to search the PATH for
  45. #    subsidiary RCS commands like co.  This lets you move RCS commands
  46. #    after building them, and permits multiple instances of setgid RCS
  47. #    commands on the same host for different groups.
  48. #
  49. #    Define RCSPREFIX to a path followed by / if you want RCS to look in
  50. #    just one place.  This makes execution faster.  Also, if your host's
  51. #    execvp() system call does not understand the BSD #!/bin/sh convention
  52. #    for starting shell files, you must use a nonempty RCSPREFIX, because
  53. #    in this case rcsmerge invokes `/bin/sh ${RCSPREFIX}merge'.
  54.  
  55. #RCSPREFIX =
  56. #RCSPREFIX = ${RCSDIR}/
  57.  RCSPREFIX = ${RCSDIR}/
  58.  
  59. #    Define DIFF and DIFF3 to be the name of your diff and diff3 programs.
  60. #    DIFF must be an absolute path name if setgid or setuid is used.
  61. #    Define DIFF_FLAGS to be diff's options for RCS format output.
  62. #    If available, use the -a option for comparing arbitrary files.
  63. #    Define DIFF_L to be 1 if your diff understands GNU diff's -L option.
  64. #    Set DIFF3_TYPE=lib for traditional diff, =bin otherwise.
  65. #    If DIFF3_type=bin, make sure your diff3 understands -a, -L, and and -m.
  66. #    If DIFF3_type=lib, avoid the diff3 program visible to users, and
  67. #    use the one in /usr/lib instead; it may be called /usr/lib/diff3prog.
  68.  
  69. # Traditional diff
  70. #DIFF = /bin/diff
  71. #DIFF_FLAGS = -n
  72. #DIFF_L = 0
  73. #DIFF3 = /usr/lib/diff3
  74. #DIFF3_TYPE = lib
  75.  
  76. # GNU diff -- must be version 1.15 or later
  77. DIFFPREFIX = ${RCSDIR}/
  78. DIFF = ${DIFFPREFIX}diff
  79. DIFF_FLAGS = -an
  80. DIFF_L = 1
  81. DIFF3 = ${DIFF}3
  82. DIFF3_TYPE = bin
  83.  
  84. # DIFF = /bin/diff
  85. # DIFF_FLAGS = -n
  86. # DIFF_L = 0
  87. # DIFF3 = /usr/lib/diff3
  88. # DIFF3_TYPE = lib
  89.  
  90.  
  91. #    Set SENDMAIL to be a comma-separated list of strings that are a command
  92. #    to send mail.  The first string should be an absolute pathname.
  93. #    The name of the addressee will be appended as a separate argument,
  94. #    and the standard input will be the message (first line "Subject: xxxx",
  95. #    second line empty).
  96.  
  97. #SENDMAIL = "/bin/mail"
  98. #SENDMAIL = "/etc/delivermail", "-w"
  99. #SENDMAIL = "/usr/lib/sendmail"
  100.  SENDMAIL = "/bin/mail"
  101.  
  102.  
  103. #    Decide what loader libraries you need.
  104. #    Some older hosts need -lBSD, -ljobs, or -lPW.
  105.  
  106. LDLIBS =
  107.  
  108.  
  109. #    Decide what C compiler flags you need.
  110.  
  111. # Optimize.  Put in options that work well for your compiler.
  112. # Options to try with GCC include -fdelayed-braoch, -finline-functions,
  113. # -fomit-frame-pointer, and -fstrength-reduce.
  114. CC_O = -O -fstrength-reduce # -finline-functions
  115.  
  116. # Make all initialized data read-only (not just string literals).
  117. # This option can h◆äÇêOçê⇦3@⇩⇨¡כlñ O$¼-m-כΣ-ל.ì,-ì/L¼ä î.î$m .L¼àIJíDd    .ä∈dל∈äϕ∈Nì⇦ϕ∈NO--כΣ ,M∈«ä,ג-∈«D mϕ«-î«Dn«∈NÄe≡0q✓╱╱ij{⇦ B|[+י†{ô!phQ⑨⇧íqÜ②Ü!k③♪¢+!⇨{kâKc+ôÿhQəəə·æ⇧Θ⇧jÉhQ⑨⇨k{¢í⇨{úC+æ⇨{kâKc$#âå`αα&~⇨âå|αα&~⇨âçâåb|≡LN| ⓪"|D&| ⇦Ç"~╱2~⇩|ijαΓ~2╱"⇩╱2◆âå`αÇÇ<Éîא⇦b~⇩~Lαα⇩~Lαגî≡ij ⇩~Lα<<גî≡ij ⇩~câçâçâåb|D&|ijαπâäαΓ~⇩|@`câäαα⇩~⇩~p ~<⓪⇦ @&p$⓪ ~$⓪ B  $⓪⇦@#âäαגî≡ij"~⇩~LααÇ⇩~Lαα$⇩~Lαα⇨âçâåb|D&| $pL⓪ ⓪⇦p|Γ|`<⓪ @$#âå`αΓ~⇩|`câå`αגed and layout to standard Twister.
  118. In tests where I copied 50 or so files from a ramdisk to floppy, this
  119. format is slightly faster than twister, and has a few extra K of storage.
  120. p.o rcsfnms.o
  121. rcs.ttp : ${RCS} system.o
  122.     ${CC} ${CFLAGS} ${RCS} system.o ${LDLIBS} -o $@
  123.  
  124. RCSDIFF = rcsdiff.o rcsutil.o rcsfnms.o rcsmap.o rcsrev.o rcssyn.o rcslex.o \
  125.     maketime.o partime.o
  126. rcsdiff.ttp : ${RCSDIFF} system.o
  127.     ${CC} ${CFLAGS} ${RCSDIFF} system.o ${LDLIBS} -o $@
  128.  
  129. RCSMERGE = rcsmerge.o rcsutil.o rcsfnms.o rcsmap.o rcsrev.o rcssyn.o rcslex.o
  130. rcsmerge.ttp : ${RCSMERGE} system.o 
  131.     ${CC} ${CFLAGS} ${RCSMERGE} system.o ${LDLIBS} -o $@
  132.  
  133. PAIRTEST = pairtest.o rcslex.o rcssyn.o rcsrev.o rcsutil.o rcsgen.o rcsedit.o rcskeys.o \
  134.     rcsmap.o 
  135. pairtest.ttp: ${PAIRTEST} system.o
  136.     gcc -o pairtest.ttp ${CFLAGS} ${PAIRTEST} system.o ${LDLIBS}
  137. pairtest.o: rcsfnms.c
  138.     gcc -o pairtest.o $(CFLAGS) -DPAIRTEST -c rcsfnms.c
  139.  
  140. SOURCE=    ci.c co.c ident.c maketime.c partime.c rcs.c \
  141.     rcsdiff.c rcsedit.c rcsfcmp.c rcsfnms.c rcsgen.c \
  142.     rcskeep.c rcskeys.c rcslex.c rcsmap.c rcsmerge.c rcsrev.c rcssyn.c \
  143.     rcsutil.c rlog.c
  144. OBJECT=    ci.o co.o ident.o maketime.o partime.o rcs.o \
  145.     rcsdiff.o rcsedit.o rcsfcmp.o rcsfnms.o rcsgen.o \
  146.     rcskeep.o rcskeys.o rcslex.o rcsmap.o rcsmerge.o rcsrev.o rcssyn.o \
  147.     rcsutil.o rlog.o
  148.  
  149. lint : conf.h
  150.     ${LINT} ${LINTFLAGS} -Dlint=1 ${SOURCE}
  151.  
  152. ${OBJECT} : conf.h rcsbase.h
  153.