home *** CD-ROM | disk | FTP | other *** search
/ Atari FTP / ATARI_FTP_0693.zip / ATARI_FTP_0693 / Mint / Mgr / VDImgr.zoo / rmgr / Makefile next >
Makefile  |  1993-03-16  |  728b  |  23 lines

  1. # The following options can be set:
  2. #
  3. # -DGETTTYENT -- your system has the new format /etc/ttys (like 4.3 BSD)
  4. #                and the getttyent(3) library functions.
  5. #
  6. # -DUSEBCOPY  -- use the bcopy() from the system's C-library.  If this
  7. #                is set, bcopy must support overlapping source and
  8. #                destination.  If USEBCOPY is not set, screen uses its
  9. #                own version of bcopy.
  10. #
  11. # You should install as set-uid with owner root, so that it can read/write
  12. # /etc/utmp, read /dev/kmem, and chown/chmod the allocated pseudo-ttys.
  13.  
  14. OPTIONS= -DUSEBCOPY -DGETTTYENT
  15.  
  16. CFLAGS= -O
  17.  
  18. rmgr: rmgr.o
  19.     $(CC) $(CFLAGS) -o rmgr rmgr.o libmgr.a
  20.  
  21. rmgr.o: rmgr.c rmgr.h
  22.     $(CC) $(OPTIONS) $(CFLAGS) -c rmgr.c
  23.