Annotation of 43BSDTahoe/new/xns/examples/filing_common/Makefile, revision 1.1

1.1     ! root        1: # $Header: Makefile,v 1.3 87/04/01 10:14:19 ed Exp $
        !             2: #
        !             3: # Copyright (c) 1986, 1987 Xerox Corporation.
        !             4: #
        !             5: # $Log:        Makefile,v $
        !             6: # Revision 1.3  87/04/01  10:14:19  ed
        !             7: # Added ROOTNOTALLOWED compilation flag for services.
        !             8: # 
        !             9: # Revision 1.2  87/03/17  16:31:21  ed
        !            10: # Everything now made here; avoids replication into other directories.
        !            11: # 
        !            12: # Revision 1.1  87/01/16  09:39:03  ed
        !            13: # Initial revision
        !            14: # 
        !            15: # Revision 1.1  87/01/14  13:05:16  ed
        !            16: # Initial revision
        !            17: # 
        !            18: # 
        !            19: 
        !            20: DESTDIR =
        !            21: DESTBIN = ${DESTDIR}/usr/new
        !            22: DESTCOURIER = ${DESTDIR}/usr/new/lib/xnscourier
        !            23: 
        !            24: BINDIR = ../../bin
        !            25: LIBDIR = ../../lib
        !            26: MANDIR = ../../man
        !            27: INCDIR = ../../include
        !            28: COURIERDIR = ../../xnscourier
        !            29: 
        !            30: #
        !            31: # compile flags
        !            32: #   FILING4=1                  defines use of Filing Protocol v4
        !            33: #   FILING5=1                  defines use of Filing Protocol v5
        !            34: #   FILING6=1                  defines use of Filing Protocol v6
        !            35: #   FILINGSUBSET1=1            defines use of FilingSubset Protocol v1
        !            36: #   FILETOOLCOMPATIIBLITY      allows use with XDE Filetool until FilingSubset
        !            37: #                              is implemented
        !            38: #   EXTENSIONS                 enable services beyond FilingSubset compatiblity
        !            39: #   ROONOTALLOWED              disable "root" logins
        !            40: #   DEBUG                      debug output generated
        !            41: # 
        !            42: 
        !            43: #CFLAGS= -O -g -DDEBUG -I${INCDIR}
        !            44: CFLAGS= -O -I. -I${INCDIR}
        !            45: RCSREV=
        !            46: 
        !            47: # directories
        !            48: INCLUDE= ${INCDIR}/xnscourier
        !            49: 
        !            50: OBJS= misc.o get_type.o errmsg.o Make2ndCreds.o 
        !            51: F4OBJS= filingd_F4.o system_F4.o errors_F4.o \
        !            52:        attribute_F4.o VPsupport_F4.o 
        !            53: F5OBJS= filingd_F5.o system_F5.o errors_F5.o \
        !            54:        attribute_F5.o VPsupport_F5.o 
        !            55: F6OBJS= filingd_F6.o system_F6.o errors_F6.o \
        !            56:        attribute_F6.o VPsupport_F6.o unixcreds_F6.o
        !            57: FS1OBJS= filingd_FS1.o system_FS1.o errors_FS1.o \
        !            58:        attribute_FS1.o VPsupport_FS1.o unixcreds_FS1.o
        !            59: 
        !            60: HDRS= ${INCLUDE}/filetypes.h ${INCLUDE}/filing_server.h
        !            61: 
        !            62: ALL= ${OBJS} ${F4OBJS} ${F5OBJS} ${F6OBJS} ${FS1OBJS}
        !            63: 
        !            64: install: ${HDRS} ${ALL}
        !            65:        ar cr ${LIBDIR}/lib_filing.a ${OBJS}
        !            66:        ranlib ${LIBDIR}/lib_filing.a
        !            67:        ar cr ${LIBDIR}/lib_filing4.a ${F4OBJS}
        !            68:        ranlib ${LIBDIR}/lib_filing4.a
        !            69:        ar cr ${LIBDIR}/lib_filing5.a ${F5OBJS}
        !            70:        ranlib ${LIBDIR}/lib_filing5.a
        !            71:        ar cr ${LIBDIR}/lib_filing6.a ${F6OBJS}
        !            72:        ranlib ${LIBDIR}/lib_filing6.a
        !            73:        ar cr ${LIBDIR}/lib_filingsubset1.a ${FS1OBJS}
        !            74:        ranlib ${LIBDIR}/lib_filingsubset1.a
        !            75: 
        !            76: errmsg.o: errmsg.c
        !            77:        ${CC} -c -I../../courierlib -I${INCDIR} -I${INCLUDE} errmsg.c
        !            78: 
        !            79: get_type.o: get_type.c 
        !            80:        ${CC} -c ${CFLAGS} get_type.c
        !            81: 
        !            82: Make2ndCreds.o: MakeSecondaryCreds.c ${INCLUDE}/FilingSubset1.h
        !            83:        ${CC} -c ${CFLAGS} -o Make2ndCreds.o MakeSecondaryCreds.c
        !            84: 
        !            85: #
        !            86: # filing V4
        !            87: #
        !            88: 
        !            89: filingd_F4.o : filingd.c filingV4.h \
        !            90:                        clearinghouseV2.h authenticationV2.h
        !            91:        @echo 'expect enumeration type clashes (for now)'
        !            92:        ${CC} -c ${CFLAGS} -DFILING4=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !            93:                -DROOTNOTALLOWED filingd.c -o filingd_F4.o
        !            94: 
        !            95: errors_F4.o : filing_errors.c filingV4.h \
        !            96:                        clearinghouseV2.h authenticationV2.h
        !            97:        @echo 'expect enumeration type clashes (for now)'
        !            98:        ${CC} -c ${CFLAGS} -DFILING4=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !            99:                filing_errors.c -o errors_F4.o
        !           100: 
        !           101: system_F4.o : system_interface.c filingV4.h \
        !           102:                        clearinghouseV2.h authenticationV2.h
        !           103:        ${CC} -c ${CFLAGS} -DFILING4=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           104:                system_interface.c -o system_F4.o
        !           105: 
        !           106: attribute_F4.o : attribute.c filingV4.h \
        !           107:                        clearinghouseV2.h authenticationV2.h
        !           108:        ${CC} -c ${CFLAGS} -DFILING4=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           109:                attribute.c -o attribute_F4.o
        !           110: 
        !           111: VPsupport_F4.o : VPsupport.c filingV4.h \
        !           112:                        clearinghouseV2.h authenticationV2.h
        !           113:        ${CC} -c ${CFLAGS} -DFILING4=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           114:                VPsupport.c -o VPsupport_F4.o
        !           115: 
        !           116: #
        !           117: # filing V5
        !           118: #
        !           119: 
        !           120: filingd_F5.o : filingd.c filingV5.h \
        !           121:                        clearinghouseV2.h authenticationV2.h
        !           122:        @echo 'expect enumeration type clashes (for now)'
        !           123:        ${CC} -c ${CFLAGS} -DFILING5=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           124:                -DROOTNOTALLOWED filingd.c -o filingd_F5.o
        !           125: 
        !           126: errors_F5.o : filing_errors.c filingV5.h \
        !           127:                        clearinghouseV2.h authenticationV2.h
        !           128:        @echo 'expect enumeration type clashes (for now)'
        !           129:        ${CC} -c ${CFLAGS} -DFILING5=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           130:                filing_errors.c -o errors_F5.o
        !           131: 
        !           132: system_F5.o : system_interface.c filingV5.h \
        !           133:                        clearinghouseV2.h authenticationV2.h
        !           134:        ${CC} -c ${CFLAGS} -DFILING5=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           135:                system_interface.c -o system_F5.o
        !           136: 
        !           137: attribute_F5.o : attribute.c filingV5.h \
        !           138:                        clearinghouseV2.h authenticationV2.h
        !           139:        ${CC} -c ${CFLAGS} -DFILING5=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           140:                attribute.c -o attribute_F5.o
        !           141: 
        !           142: VPsupport_F5.o : VPsupport.c filingV5.h \
        !           143:                        clearinghouseV2.h authenticationV2.h
        !           144:        ${CC} -c ${CFLAGS} -DFILING5=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           145:                VPsupport.c -o VPsupport_F5.o
        !           146: 
        !           147: #
        !           148: # filing V6
        !           149: #
        !           150: 
        !           151: filingd_F6.o : filingd.c filingV6.h \
        !           152:                        clearinghouseV3.h authenticationV3.h
        !           153:        @echo 'expect enumeration type clashes (for now)'
        !           154:        ${CC} -c ${CFLAGS} -DFILING6=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           155:                -DROOTNOTALLOWED filingd.c -o filingd_F6.o
        !           156: 
        !           157: errors_F6.o : filing_errors.c filingV6.h \
        !           158:                        clearinghouseV3.h authenticationV3.h
        !           159:        @echo 'expect enumeration type clashes (for now)'
        !           160:        ${CC} -c ${CFLAGS} -DFILING6=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           161:                filing_errors.c -o errors_F6.o
        !           162: 
        !           163: system_F6.o : system_interface.c filingV6.h \
        !           164:                        clearinghouseV3.h authenticationV3.h
        !           165:        ${CC} -c ${CFLAGS} -DFILING6=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           166:                system_interface.c -o system_F6.o
        !           167: 
        !           168: attribute_F6.o : attribute.c filingV6.h \
        !           169:                        clearinghouseV3.h authenticationV3.h
        !           170:        ${CC} -c ${CFLAGS} -DFILING6=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           171:                attribute.c -o attribute_F6.o
        !           172: 
        !           173: VPsupport_F6.o : VPsupport.c filingV6.h \
        !           174:                        clearinghouseV3.h authenticationV3.h
        !           175:        ${CC} -c ${CFLAGS} -DFILING6=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           176:                VPsupport.c -o VPsupport_F6.o
        !           177: 
        !           178: unixcreds_F6.o : unixcreds.c filingV6.h \
        !           179:                        clearinghouseV3.h authenticationV3.h
        !           180:        ${CC} -c ${CFLAGS} -DFILING6=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           181:                unixcreds.c -o unixcreds_F6.o
        !           182: 
        !           183: #
        !           184: # filingsubset V1
        !           185: #
        !           186: 
        !           187: filingd_FS1.o : filingd.c filingsubsetV1.h \
        !           188:                        clearinghouseV3.h authenticationV3.h
        !           189:        @echo 'expect enumeration type clashes (for now)'
        !           190:        ${CC} -c ${CFLAGS} -DFILINGSUBSET1=1 \
        !           191:                -DROOTNOTALLOWED filingd.c -o filingd_FS1.o
        !           192: 
        !           193: errors_FS1.o : filing_errors.c filingsubsetV1.h \
        !           194:                        clearinghouseV3.h authenticationV3.h
        !           195:        @echo 'expect enumeration type clashes (for now)'
        !           196:        ${CC} -c ${CFLAGS} -DFILINGSUBSET1=1 \
        !           197:                filing_errors.c -o errors_FS1.o
        !           198: 
        !           199: system_FS1.o : system_interface.c filingsubsetV1.h \
        !           200:                        clearinghouseV3.h authenticationV3.h
        !           201:        ${CC} -c ${CFLAGS} -DFILINGSUBSET1=1 \
        !           202:                system_interface.c -o system_FS1.o
        !           203: 
        !           204: attribute_FS1.o : attribute.c filingsubsetV1.h \
        !           205:                        clearinghouseV3.h authenticationV3.h
        !           206:        ${CC} -c ${CFLAGS} -DFILINGSUBSET1=1 \
        !           207:                attribute.c -o attribute_FS1.o
        !           208: 
        !           209: VPsupport_FS1.o : VPsupport.c filingsubsetV1.h \
        !           210:                        clearinghouseV3.h authenticationV3.h
        !           211:        ${CC} -c ${CFLAGS} -DFILINGSUBSET1=1 \
        !           212:                VPsupport.c -o VPsupport_FS1.o
        !           213: 
        !           214: unixcreds_FS1.o : unixcreds.c filingsubsetV1.h \
        !           215:                        clearinghouseV3.h authenticationV3.h
        !           216:        ${CC} -c ${CFLAGS} -DFILINGSUBSET1=1 -DFILETOOLCOMPATIBILITY -DEXTENSIONS \
        !           217:                unixcreds.c -o unixcreds_FS1.o
        !           218: 
        !           219: #
        !           220: # headers
        !           221: #
        !           222: 
        !           223: ${INCLUDE}/filetypes.h: filetypes.h
        !           224:        install -c -m 644 filetypes.h ${INCLUDE}/filetypes.h
        !           225: 
        !           226: ${INCLUDE}/filing_server.h: filing_server.h
        !           227:        install -c -m 644 filing_server.h ${INCLUDE}/filing_server.h
        !           228: 
        !           229: clean:
        !           230:        -rm -f *.o *.BAK *.CKP ${ALL} \
        !           231:                filingV4.h filingV5.h filingV6.h filingsubsetV1.h \
        !           232:                clearinghouseV2.h clearinghouseV3.h \
        !           233:                authenticationV2.h authenticationV3.h
        !           234: 
        !           235: rcs:
        !           236:        rcs -l RCS/*
        !           237:        cat ../../rcsdescription | ci -u${RCSREV} -q -N${RCSNAME} RCS/*
        !           238: 
        !           239: filingV4.h: ../../courierlib/Filing4_defs.h 
        !           240:        sed -e 's/typedef Filing4_[^ ]* /&FILING_/' \
        !           241:            -e 's/#define Filing4_[^ ]* /&FILING_/g' \
        !           242:            -e '/#define Filing4_/!s/#define /#define FILING_/g' \
        !           243:            -e 's/^     /&FILING_/' \
        !           244:            -e 's/^} /&FILING_/' \
        !           245:            -e 's/#include "Filing4.h"/#include <xnscourier\/Filing4.h>/' \
        !           246:            ../../courierlib/Filing4_defs.h >filingV4.h
        !           247: 
        !           248: filingV5.h: ../../courierlib/Filing5_defs.h
        !           249:        sed -e 's/typedef Filing5_[^ ]* /&FILING_/' \
        !           250:            -e 's/#define Filing5_[^ ]* /&FILING_/g' \
        !           251:            -e '/#define Filing5_/!s/#define /#define FILING_/g' \
        !           252:            -e 's/^     /&FILING_/' \
        !           253:            -e 's/^} /&FILING_/' \
        !           254:            -e 's/#include "Filing5.h"/#include <xnscourier\/Filing5.h>/' \
        !           255:            ../../courierlib/Filing5_defs.h >filingV5.h
        !           256: 
        !           257: filingV6.h: ../../courierlib/Filing6_defs.h
        !           258:        sed -e 's/typedef Filing6_[^ ]* /&FILING_/' \
        !           259:            -e 's/#define Filing6_[^ ]* /&FILING_/g' \
        !           260:            -e '/#define Filing6_/!s/#define /#define FILING_/g' \
        !           261:            -e 's/^     /&FILING_/' \
        !           262:            -e 's/^} /&FILING_/' \
        !           263:            -e 's/#include "Filing6.h"/#include <xnscourier\/Filing6.h>/' \
        !           264:            ../../courierlib/Filing6_defs.h >filingV6.h
        !           265: 
        !           266: filingsubsetV1.h: ../../courierlib/FilingSubset1_defs.h
        !           267:        sed -e 's/typedef FilingSubset1_[^ ]* /&FILING_/' \
        !           268:            -e 's/#define FilingSubset1_[^ ]* /&FILING_/g' \
        !           269:            -e '/#define FilingSubset1_/!s/#define /#define FILING_/g' \
        !           270:            -e 's/^     /&FILING_/' \
        !           271:            -e 's/^} /&FILING_/' \
        !           272:            -e 's/#include "FilingSubset1.h"/#include <xnscourier\/FilingSubset1.h>/' \
        !           273:            ../../courierlib/FilingSubset1_defs.h >filingsubsetV1.h
        !           274: 
        !           275: clearinghouseV2.h: ../../courierlib/Clearinghouse2_defs.h
        !           276:        sed -e 's/typedef Clearinghouse2_[^ ]* /&CLEARINGHOUSE_/' \
        !           277:            -e 's/#define Clearinghouse2_[^ ]* /&CLEARINGHOUSE_/g' \
        !           278:            -e '/#define Clearinghouse2_/!s/#define /#define CLEARINGHOUSE_/g' \
        !           279:            -e 's/^     /&CLEARINGHOUSE_/' \
        !           280:            -e 's/^} /&CLEARINGHOUSE_/' \
        !           281:            -e '/#include/D' \
        !           282:            ../../courierlib/Clearinghouse2_defs.h >clearinghouseV2.h
        !           283: 
        !           284: clearinghouseV3.h: ../../courierlib/Clearinghouse3_defs.h
        !           285:        sed -e 's/typedef Clearinghouse3_[^ ]* /&CLEARINGHOUSE_/' \
        !           286:            -e 's/#define Clearinghouse3_[^ ]* /&CLEARINGHOUSE_/g' \
        !           287:            -e '/#define Clearinghouse3_/!s/#define /#define CLEARINGHOUSE_/g' \
        !           288:            -e 's/^     /&CLEARINGHOUSE_/' \
        !           289:            -e 's/^} /&CLEARINGHOUSE_/' \
        !           290:            -e '/#include/D' \
        !           291:            ../../courierlib/Clearinghouse3_defs.h >clearinghouseV3.h
        !           292: 
        !           293: authenticationV2.h: ../../courierlib/Authentication2_defs.h
        !           294:        sed -e 's/typedef Authentication2_[^ ]* /&AUTHENTICATION_/' \
        !           295:            -e 's/#define Authentication2_[^ ]* /&AUTHENTICATION_/g' \
        !           296:            -e '/#define Authentication2_/!s/#define /#define AUTHENTICATION_/g' \
        !           297:            -e 's/^     /&AUTHENTICATION_/' \
        !           298:            -e 's/^} /&AUTHENTICATION_/' \
        !           299:            -e '/#include/D' \
        !           300:            ../../courierlib/Authentication2_defs.h >authenticationV2.h
        !           301: 
        !           302: authenticationV3.h: ../../courierlib/Authentication3_defs.h
        !           303:        sed -e 's/typedef Authentication3_[^ ]* /&AUTHENTICATION_/' \
        !           304:            -e 's/#define Authentication3_[^ ]* /&AUTHENTICATION_/g' \
        !           305:            -e '/#define Authentication3_/!s/#define /#define AUTHENTICATION_/g' \
        !           306:            -e 's/^     /&AUTHENTICATION_/' \
        !           307:            -e 's/^} /&AUTHENTICATION_/' \
        !           308:            -e '/#include/D' \
        !           309:            ../../courierlib/Authentication3_defs.h >authenticationV3.h
        !           310: 
        !           311: 

unix.superglobalmegacorp.com

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