Annotation of coherent/g/usr/lib/uucp/tay104/Makefile.in, revision 1.1.1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.