|
|
1.1 ! root 1: # Generated automatically from Makefile.in by configure. ! 2: # This is the Makefile for Taylor UUCP ! 3: # ! 4: # The file Makefile.in should be processed by configure to generate ! 5: # Makefile. If you want to generate Makefile by hand, you must find ! 6: # all variables surrounded by @ and replace them with the correct ! 7: # value (e.g. cc must be replaced by something like cc or gcc). ! 8: # ! 9: # Once you have done that, you should check the definitions at the top ! 10: # of this file to make sure that they are reasonable for your system. ! 11: ! 12: # Prefix directory for installation directories. ! 13: prefix = /usr ! 14: ! 15: # The user name that should own the resulting executables, several of ! 16: # which are suid. ! 17: owner = uucp ! 18: ! 19: # Where to install uucico, uuxqt, uuchk and uuconv. If you use this ! 20: # definition, $(prefix)/lib must exist. ! 21: sbindir = $(prefix)/lib/uucp ! 22: ! 23: # Where to install uucp, uux, uustat, uuname, uulog, uuto, uupick and ! 24: # cu. ! 25: bindir = $(prefix)/bin ! 26: ! 27: # Where to install man pages. Section 1 for user programs, 8 for daemons. ! 28: man1dir = $(prefix)/man/man1 ! 29: man1ext = .1 ! 30: man8dir = $(prefix)/man/man8 ! 31: man8ext = .8 ! 32: ! 33: # Where to install the info files. ! 34: infodir = $(prefix)/info ! 35: ! 36: # The directory to look in for new style configuration files (when ! 37: # using HAVE_TAYLOR_CONFIG). Note that by default this is different ! 38: # from sbindir, unlike traditional UUCP packages. ! 39: newconfigdir = $(prefix)/lib/uucp ! 40: ! 41: # The directory to look in for BNU (when using HAVE_BNU_CONFIG) or ! 42: # V2 (when using HAVE_V2_CONFIG) style configuration files. ! 43: oldconfigdir = /usr/lib/uucp ! 44: ! 45: # If you don't want to compile tstuu, which requires BSD style ptys ! 46: # and the Taylor configuration files, comment out the following line ! 47: # The tstuu program is only used to test the package; it is described ! 48: # further in the documentation. ! 49: TSTUU = tstuu ! 50: ! 51: # ! 52: # The next few lines are set up by the configuration script. You may ! 53: # want to look them over. ! 54: # ! 55: ! 56: # If you do not have the mkdir system call, undefine the following three ! 57: # lines. This will install uudir as an suid root program. This is ! 58: # necessary because invoking /bin/mkdir from an suid program will ! 59: # leave the directories owned by the wrong user. ! 60: # UUDIR = uudir ! 61: # uudirdir = $(sbindir)/util ! 62: # UUDIRFLAGS = -DUUDIR_PROGRAM=\"$(uudirdir)/$(UUDIR)\" ! 63: ! 64: # Source directory and, if necessary, VPATH ! 65: srcdir = . ! 66: VPATH = . ! 67: ! 68: # Define programs and flags ! 69: CC = cc ! 70: CFLAGS =-O -f ! 71: LDFLAGS = ! 72: LIBS = ! 73: ! 74: INSTALL = cp ! 75: INSTALL_PROGRAM = $(INSTALL) ! 76: INSTALL_DATA = $(INSTALL) ! 77: ! 78: RANLIB = ranlib ! 79: ! 80: LN_S = ln ! 81: ! 82: MAKEINFO = makeinfo ! 83: TEXI2DVI = texi2dvi ! 84: DVITPS = dvips ! 85: ! 86: # ! 87: # Nothing else to configure ! 88: # ! 89: ! 90: SHELL = /bin/sh ! 91: ! 92: VERSION = 1.04 ! 93: ! 94: MORECFLAGS = -I$(srcdir) -I. -DMWCBBS -DSBINDIR=\"$(sbindir)\" -DOWNER=\"$(owner)\" -DVERSION=\"$(VERSION)\" $(UUDIRFLAGS) ! 95: ! 96: MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)' LN_S='$(LN_S)' newconfigdir='$(newconfigdir)' oldconfigdir='$(oldconfigdir)' owner='$(owner)' sbindir='$(sbindir)' UUDIRFLAGS='$(UUDIRFLAGS)' VERSION='$(VERSION)' ! 97: ! 98: PROGRAMS = uucico uuxqt uux uucp uuchk uuconv uustat uuname uusched \ ! 99: uulog uuto uupick cu ! 100: ! 101: UUOBJS = uucico.o trans.o send.o rec.o xcmd.o prot.o protg.o protf.o \ ! 102: prott.o prote.o proti.o protj.o protz.o time.o log.o chat.o \ ! 103: conn.o tcp.o tli.o util.o copy.o ! 104: XQTOBJS = uuxqt.o util.o log.o copy.o ! 105: UUXOBJS = uux.o util.o log.o copy.o ! 106: UUCPOBJS = uucp.o util.o log.o copy.o ! 107: UUSTATOBJS = uustat.o util.o log.o copy.o ! 108: UUNAMEOBJS = uuname.o log.o ! 109: UULOGOBJS = uulog.o log.o ! 110: UUPICKOBJS = uupick.o log.o copy.o ! 111: CUOBJS = cu.o prot.o log.o chat.o conn.o tcp.o tli.o copy.o ! 112: UUCHKOBJS = uuchk.o ! 113: UUCONVOBJS = uuconv.o ! 114: TSTOBJS = tstuu.o ! 115: ! 116: ALLOBJS = uucico.o uuxqt.o uux.o uucp.o uuchk.o uuconv.o uustat.o \ ! 117: uuname.o uulog.o uupick.o cu.o uudir.o tstuu.o trans.o send.o \ ! 118: rec.o xcmd.o prot.o protg.o protf.o prott.o prote.o proti.o \ ! 119: protj.o protz.o util.o time.o log.o chat.o conn.o tcp.o tli.o \ ! 120: copy.o ! 121: ! 122: UULIBS = unix/libunix.a uuconf/libuuconf.a lib/libuucp.a ! 123: ! 124: all: $(PROGRAMS) $(TSTUU) $(UUDIR) ! 125: ! 126: install: $(PROGRAMS) $(UUDIR) ! 127: if test -d $(sbindir); then true; else mkdir $(sbindir); fi ! 128: if test -d $(bindir); then true; else mkdir $(bindir); fi ! 129: -if test -f $(sbindir)/uucico.old; then rm -f $(sbindir)/uucico; else mv $(sbindir)/uucico $(sbindir)/uucico.old; fi ! 130: -if test -f $(sbindir)/uuxqt.old; then rm -f $(sbindir)/uuxqt; else mv $(sbindir)/uuxqt $(sbindir)/uuxqt.old; fi ! 131: -if test -f $(sbindir)/uusched.old; then rm -f $(sbindir)/uusched; else mv $(sbindir)/uusched $(sbindir)/uusched.old; fi ! 132: $(INSTALL_PROGRAM) uucico $(sbindir)/uucico ! 133: $(INSTALL_PROGRAM) uuxqt $(sbindir)/uuxqt ! 134: $(INSTALL_PROGRAM) uuchk $(sbindir)/uuchk ! 135: $(INSTALL_PROGRAM) uuconv $(sbindir)/uuconv ! 136: $(INSTALL_PROGRAM) uusched $(sbindir)/uusched ! 137: chown $(owner) $(sbindir)/uucico $(sbindir)/uuxqt ! 138: chmod 4555 $(sbindir)/uucico $(sbindir)/uuxqt ! 139: chown $(owner) $(sbindir)/uuchk $(sbindir)/uuconv ! 140: if test "$(UUDIR)X" != "X"; then \ ! 141: if test -d $(uudirdir); then \ ! 142: true \ ! 143: else \ ! 144: mkdir $(uudirdir); \ ! 145: fi; \ ! 146: chown $(owner) $(uudirdir); \ ! 147: chmod 100 $(uudirdir); \ ! 148: $(INSTALL_PROGRAM) uudir $(uudirdir)/uudir; \ ! 149: chown root $(uudirdir)/uudir; \ ! 150: chmod 4555 $(uudirdir)/uudir; \ ! 151: else \ ! 152: true; \ ! 153: fi ! 154: -for i in uux uucp uustat uuname uulog uuto uupick cu; do \ ! 155: if test -f $(bindir)/$$i.old; then \ ! 156: rm -f $(bindir)/$$i; \ ! 157: else \ ! 158: mv $(bindir)/$$i $(bindir)/$$i.old; \ ! 159: fi; \ ! 160: $(INSTALL_PROGRAM) $$i $(bindir)/$$i; \ ! 161: done ! 162: chown $(owner) $(bindir)/uux $(bindir)/uucp $(bindir)/uustat ! 163: chown $(owner) $(bindir)/uuname $(bindir)/cu ! 164: chmod 4555 $(bindir)/uux $(bindir)/uucp $(bindir)/uustat ! 165: chmod 4555 $(bindir)/uuname $(bindir)/cu ! 166: $(INSTALL_DATA) $(srcdir)/uucico.8 $(man8dir)/uucico$(man8ext) ! 167: $(INSTALL_DATA) $(srcdir)/uuxqt.8 $(man8dir)/uuxqt$(man8ext) ! 168: $(INSTALL_DATA) $(srcdir)/uux.1 $(man1dir)/uux$(man1ext) ! 169: $(INSTALL_DATA) $(srcdir)/uucp.1 $(man1dir)/uucp$(man1ext) ! 170: $(INSTALL_DATA) $(srcdir)/uustat.1 $(man1dir)/uustat$(man1ext) ! 171: $(INSTALL_DATA) $(srcdir)/cu.1 $(man1dir)/cu$(man1ext) ! 172: @echo Use \"make install-info\" to install the info pages. ! 173: ! 174: uninstall: ! 175: rm -f $(sbindir)/uucico $(sbindir)/uuxqt $(sbindir)/uusched ! 176: -cp $(sbindir)/uucico.old $(sbindir)/uucico ! 177: -cp $(sbindir)/uuxqt.old $(sbindir)/uuxqt ! 178: -cp $(sbindir)/uusched.old $(sbindir)/uusched ! 179: -chown $(owner) $(sbindir)/uucico $(sbindir)/uuxqt ! 180: -chmod 4555 $(sbindir)/uucico $(sbindir)/uuxqt ! 181: -chown $(owner) $(sbindir)/uuchk $(sbindir)/uuconv ! 182: rm -f $(bindir)/uux $(bindir)/uucp $(bindir)/uustat ! 183: rm -f $(bindir)/uuname $(bindir)/uulog $(bindir)/uuto ! 184: rm -f $(bindir)/uupick $(bindir)/cu ! 185: -cp $(bindir)/uux.old $(bindir)/uux ! 186: -cp $(bindir)/uucp.old $(bindir)/uucp ! 187: -cp $(bindir)/uustat.old $(bindir)/uustat ! 188: -cp $(bindir)/uuname.old $(bindir)/uuname ! 189: -cp $(bindir)/uulog.old $(bindir)/uulog ! 190: -cp $(bindir)/uuto.old $(bindir)/uuto ! 191: -cp $(bindir)/uupick.old $(bindir)/uupick ! 192: -cp $(bindir)/cu.old $(bindir)/cu ! 193: -chown $(owner) $(bindir)/uux $(bindir)/uucp $(bindir)/uustat ! 194: -chown $(owner) $(bindir)/uuname $(bindir)/cu ! 195: -chmod 4555 $(bindir)/uux $(bindir)/uucp $(bindir)/uustat ! 196: -chmod 4555 $(bindir)/uuname $(bindir)/cu ! 197: ! 198: uucico: $(UUOBJS) $(UULIBS) ! 199: $(CC) $(LDFLAGS) -o uucico $(UUOBJS) $(UULIBS) $(LIBS) ! 200: ! 201: uuxqt: $(XQTOBJS) $(UULIBS) ! 202: $(CC) $(LDFLAGS) -o uuxqt $(XQTOBJS) $(UULIBS) $(LIBS) ! 203: ! 204: uux: $(UUXOBJS) $(UULIBS) ! 205: $(CC) $(LDFLAGS) -o uux $(UUXOBJS) $(UULIBS) $(LIBS) ! 206: ! 207: uucp: $(UUCPOBJS) $(UULIBS) ! 208: $(CC) $(LDFLAGS) -o uucp $(UUCPOBJS) $(UULIBS) $(LIBS) ! 209: ! 210: uustat: $(UUSTATOBJS) $(UULIBS) ! 211: $(CC) $(LDFLAGS) -o uustat $(UUSTATOBJS) $(UULIBS) $(LIBS) ! 212: ! 213: uuname: $(UUNAMEOBJS) $(UULIBS) ! 214: $(CC) $(LDFLAGS) -o uuname $(UUNAMEOBJS) $(UULIBS) $(LIBS) ! 215: ! 216: uulog: $(UULOGOBJS) $(UULIBS) ! 217: $(CC) $(LDFLAGS) -o uulog $(UULOGOBJS) $(UULIBS) $(LIBS) ! 218: ! 219: uusched: uusched.in Makefile ! 220: -rm -f uusched ! 221: sed 's,@SBINDIR@,$(sbindir),' < $(srcdir)/uusched.in > uusched ! 222: chmod 0555 uusched ! 223: ! 224: uuto: uuto.in Makefile ! 225: -rm -f uuto ! 226: sed 's,@BINDIR@,$(bindir),' < $(srcdir)/uuto.in > uuto ! 227: chmod 0555 uuto ! 228: ! 229: uupick: $(UUPICKOBJS) $(UULIBS) ! 230: $(CC) $(LDFLAGS) -o uupick $(UUPICKOBJS) $(UULIBS) $(LIBS) ! 231: ! 232: cu: $(CUOBJS) $(UULIBS) ! 233: $(CC) $(LDFLAGS) -o cu $(CUOBJS) $(UULIBS) $(LIBS) ! 234: ! 235: uuchk: $(UUCHKOBJS) $(UULIBS) ! 236: $(CC) $(LDFLAGS) -o uuchk $(UUCHKOBJS) $(UULIBS) $(LIBS) ! 237: ! 238: uuconv: $(UUCONVOBJS) $(UULIBS) ! 239: $(CC) $(LDFLAGS) -o uuconv $(UUCONVOBJS) $(UULIBS) $(LIBS) ! 240: ! 241: tstuu: $(TSTOBJS) $(UULIBS) ! 242: $(CC) -f $(LDFLAGS) -o tstuu $(TSTOBJS) $(UULIBS) $(LIBS) ! 243: ! 244: uudir: uudir.o $(UULIBS) ! 245: $(CC) $(LDFLAGS) -o uudir uudir.o $(UULIBS) $(LIBS) ! 246: ! 247: .c.o: ! 248: $(CC) -c $(CFLAGS) $(MORECFLAGS) $< ! 249: ! 250: uuconv.o: uuconv.c ! 251: $(CC) -c $(CFLAGS) $(MORECFLAGS) -I$(srcdir)/uuconf -Iuuconf $(srcdir)/uuconv.c ! 252: ! 253: sysdep.h: sysh.unx ! 254: rm -f sysdep.h ! 255: $(LN_S) $(srcdir)/sysh.unx sysdep.h || cp $(srcdir)/sysh.unx sysdep.h ! 256: ! 257: uuconf/libuuconf.a: FORCE ! 258: (cd uuconf; $(MAKE) $(MDEFINES) libuuconf.a) ! 259: ! 260: unix/libunix.a: FORCE sysdep.h ! 261: (cd unix; $(MAKE) $(MDEFINES) libunix.a) ! 262: ! 263: lib/libuucp.a: FORCE ! 264: (cd lib; $(MAKE) $(MDEFINES) libuucp.a) ! 265: ! 266: FORCE:; ! 267: ! 268: clean: ! 269: (cd unix; $(MAKE) $(MDEFINES) clean) ! 270: (cd uuconf; $(MAKE) $(MDEFINES) clean) ! 271: (cd lib; $(MAKE) $(MDEFINES) clean) ! 272: rm -f $(ALLOBJS) $(PROGRAMS) tstuu sysdep.h ! 273: rm -f uucp-$(VERSION).tar.Z ! 274: rm -rf uucp-$(VERSION) ! 275: ! 276: distclean: ! 277: (cd unix; $(MAKE) $(MDEFINES) distclean) ! 278: (cd uuconf; $(MAKE) $(MDEFINES) distclean) ! 279: (cd lib; $(MAKE) $(MDEFINES) distclean) ! 280: rm -f $(ALLOBJS) $(PROGRAMS) tstuu sysdep.h ! 281: rm -f uucp-$(VERSION).tar.Z ! 282: rm -rf uucp-$(VERSION) ! 283: rm -f Makefile conf.h config.status ! 284: ! 285: mostlyclean: clean ! 286: ! 287: realclean: distclean ! 288: ! 289: # The distribution targets are mostly for my own use; they are not ! 290: # expected to work on all other systems. ! 291: ! 292: dist: ! 293: -rm -rf uucp-$(VERSION) ! 294: -rm -f uucp-$(VERSION).tar uucp-$(VERSION).tar.Z ! 295: mkdir uucp-$(VERSION) ! 296: ln `cat MANIFEST` uucp-$(VERSION) ! 297: rm -f uucp-$(VERSION)/policy.h uucp-$(VERSION)/Makefile.in ! 298: cp policy.h Makefile.in uucp-$(VERSION) ! 299: chmod 0644 uucp-$(VERSION)/policy.h uucp-$(VERSION)/Makefile.in ! 300: chmod 0644 uucp-$(VERSION)/uucp.texi ! 301: mkdir uucp-$(VERSION)/contrib ! 302: ln contrib/* uucp-$(VERSION)/contrib ! 303: mkdir uucp-$(VERSION)/sample ! 304: ln sample/* uucp-$(VERSION)/sample ! 305: (cd unix; $(MAKE) $(MDEFINES) dist) ! 306: (cd uuconf; $(MAKE) $(MDEFINES) dist) ! 307: (cd lib; $(MAKE) $(MDEFINES) dist) ! 308: tar -cvf uucp-$(VERSION).tar uucp-$(VERSION) ! 309: compress uucp-$(VERSION).tar ! 310: ! 311: doc-dist: uucp.texi uucp.info uucp.dvi uucp.ps ! 312: -rm -rf uucp-doc-$(VERSION) uucp-doc-dist ! 313: -rm -f uucp-doc-$(VERSION).tar uucp-doc-$(VERSION).tar.Z ! 314: mkdir uucp-doc-$(VERSION) ! 315: ln README-DOC uucp-doc-$(VERSION) ! 316: ln $(srcdir)/uucp.texi uucp-doc-$(VERSION) ! 317: for i in uucp.info*; do ln $$i uucp-doc-$(VERSION); done ! 318: ln uucp.dvi uucp-doc-$(VERSION) ! 319: ln uucp.cp uucp.fn uucp.aux uucp-doc-$(VERSION) ! 320: ln texinfo.tex uucp-doc-$(VERSION) ! 321: mkdir uucp-doc-dist ! 322: mv uucp-doc-$(VERSION) uucp-doc-dist/uucp-$(VERSION) ! 323: cd uucp-doc-dist; tar -cvf ../uucp-doc-$(VERSION).tar uucp-$(VERSION) ! 324: compress uucp-doc-$(VERSION).tar ! 325: -rm -rf uucp-doc-dist ! 326: ! 327: info: uucp.info ! 328: ! 329: uucp.info: uucp.texi ! 330: $(MAKEINFO) $< ! 331: ! 332: install-info: uucp.info ! 333: for i in uucp.info*; do \ ! 334: $(INSTALL_DATA) $$i $(infodir)/$$i; \ ! 335: done ! 336: ! 337: dvi: uucp.dvi ! 338: ! 339: uucp.dvi: uucp.texi ! 340: $(TEXI2DVI) $< ! 341: ! 342: ps: uucp.ps ! 343: ! 344: uucp.ps: uucp.dvi ! 345: $(DVITPS) -o uucp.ps $< ! 346: ! 347: # Having Makefile depend on conf.h.in insures that conf.h will get ! 348: # rebuilt when conf.h.in changes. We don't want conf.h to change ! 349: # unnecessarily, nor do we want to run config.status unnecessarily. ! 350: # This won't work on versions of make that don't check dependencies ! 351: # for Makefile, but I'm the only person likely to change conf.h.in ! 352: # anyhow. ! 353: Makefile: config.status Makefile.in conf.h.in ! 354: sh config.status ! 355: ! 356: config.status: configure ! 357: configure --no-create ! 358: ! 359: configure: configure.in ! 360: autoconf ! 361: ! 362: TAGS: ! 363: etags *.h *.c ! 364: ! 365: # Header file dependencies. These are maintained by hand. ! 366: ! 367: $(ALLOBJS): uucp.h conf.h policy.h ! 368: ! 369: uucico.o: uudefs.h uuconf.h system.h prot.h conn.h trans.h getopt.h ! 370: uuxqt.o: uudefs.h uuconf.h system.h getopt.h ! 371: uux.o: uudefs.h uuconf.h system.h getopt.h sysdep.h ! 372: uucp.o: uudefs.h uuconf.h system.h getopt.h ! 373: uustat.o: uudefs.h uuconf.h system.h getopt.h ! 374: uuname.o: uudefs.h uuconf.h system.h getopt.h ! 375: uulog.o: uudefs.h uuconf.h system.h getopt.h ! 376: uupick.o: uudefs.h uuconf.h system.h getopt.h ! 377: cu.o: cu.h uudefs.h uuconf.h sysdep.h conn.h prot.h system.h getopt.h ! 378: uuchk.o: uuconf.h getopt.h ! 379: uuconv.o: $(srcdir)/uuconf/uucnfi.h uuconf.h getopt.h ! 380: uudir.o: sysdep.h ! 381: tstuu.o: sysdep.h getopt.h system.h ! 382: trans.o: uudefs.h uuconf.h system.h prot.h trans.h ! 383: send.o: uudefs.h uuconf.h system.h prot.h trans.h ! 384: rec.o: uudefs.h uuconf.h system.h prot.h trans.h ! 385: xcmd.o: uudefs.h uuconf.h system.h prot.h trans.h ! 386: prot.o: uudefs.h system.h prot.h conn.h ! 387: protg.o: uudefs.h uuconf.h prot.h conn.h system.h trans.h ! 388: protf.o: uudefs.h uuconf.h prot.h conn.h system.h trans.h ! 389: prott.o: uudefs.h uuconf.h prot.h conn.h system.h trans.h ! 390: prote.o: uudefs.h uuconf.h prot.h conn.h system.h trans.h ! 391: proti.o: uudefs.h uuconf.h prot.h conn.h system.h trans.h ! 392: protj.o: uudefs.h prot.h conn.h system.h trans.h ! 393: protz.o: uudefs.h uuconf.h prot.h conn.h system.h trans.h ! 394: log.o: uudefs.h uuconf.h system.h ! 395: chat.o: uudefs.h uuconf.h system.h prot.h conn.h ! 396: conn.o: uudefs.h uuconf.h conn.h ! 397: tcp.o: uudefs.h uuconf.h conn.h sysdep.h system.h ! 398: tli.o: uudefs.h uuconf.h conn.h sysdep.h system.h ! 399: time.o: uudefs.h uuconf.h ! 400: util.o: uudefs.h uuconf.h system.h ! 401: copy.o: uudefs.h system.h sysdep.h ! 402: ! 403: .NOEXPORT:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.