Annotation of researchv9/X11/src/X.V11R1/server/Imakefile, revision 1.1.1.2

1.1       root        1: #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)'
                      2: 
                      3:         SUBDIRS = dix $(ALLDDXDIRS) $(ALLOSDIRS)
                      4:     CDEBUGFLAGS = ServerCDebugFlags
                      5:      EXTENSIONS = $(EXTENSIONSRC)/server/libext.a
                      6:          EXTDIR = $(EXTENSIONSRC)/server
                      7:      ALLDDXDIRS = ddx/mi ddx/sun ddx/cfb ddx/apollo ddx/mfb ddx/lk201 \
                      8:                     ddx/qvss ddx/qdss ddx/ibm/apa16 ddx/ibm/rt ddx/ibm/aed
                      9:       ALLOSDIRS = os/sysV os/4.2bsd
                     10:         SUBDIRS = dix $(ALLDDXDIRS) $(ALLOSDIRS)
                     11:            UNIX = os/4.2bsd/libos.a
1.1.1.2 ! root       12:              V9        = os/v9/libos.a
1.1       root       13:            SYSV = os/sysV/libos.a
                     14:             MFB = ddx/mfb/libmfb.a
                     15:             CFB = ddx/cfb/libcfb.a
                     16:              MI = ddx/mi/libmi.a
                     17:             DIX = dix/libdix.a
                     18:             SUN = ddx/sun/libsun.a
1.1.1.2 ! root       19:           V9SUN = ddx/v9sun/libv9sun.a
        !            20:          V9LIBS = -lipc
1.1       root       21:         SYSLIBS = -lm -ldbm
                     22:     ALLPOSSIBLE = Xqvss Xqdss Xsun Xapa16 Xapollo
                     23: 
                     24: #ifndef        XqvssServer
                     25: #define        XqvssServer /* as nothing */
                     26: #endif
                     27: 
                     28: #ifndef        XqdssServer
                     29: #define        XqdssServer /* as nothing */
                     30: #endif
                     31: 
                     32: #ifndef        XsunServer
                     33: #define        XsunServer /* as nothing */
                     34: #endif
                     35: 
                     36: #ifndef        XapolloServer
                     37: #define        XapolloServer /* as nothing */
                     38: #endif
                     39: 
                     40: #ifndef        Xapa16Server
                     41: #define        Xapa16Server /* as nothing */
                     42: #endif
                     43: 
                     44: #ifndef        XaedServer
                     45: #define        XaedServer /* as nothing */
                     46: #endif
                     47: 
1.1.1.2 ! root       48: #ifndef        Xsunv9Server
        !            49: #define        Xsunv9Server /* as nothing */
        !            50: #endif
        !            51: 
        !            52: ALL = XqvssServer XqdssServer XsunServer XapolloServer Xapa16Server XaedServer Xsunv9Server
1.1       root       53: 
                     54: #
                     55: # This turns off the default rule for compiling .c files because
                     56: # this makefile does not really know how to build it.  This is really
                     57: # just a hack because of sun's version of make and nfs.
                     58: #
                     59: .c.o:
                     60: 
                     61: all: $(ALL)
                     62: 
                     63: #
                     64: # qvss server
                     65: #
                     66: QVSSDIRS = dix ddx/mi ddx/mfb ddx/lk201 ddx/qvss os/4.2bsd
                     67: QVSSOBJS = ddx/qvss/init.o ddx/qvss/qvss_io.o ddx/lk201/lk201.o
                     68: QVSSLIBS = $(DIX) $(UNIX) $(MFB) $(MI) $(EXTENSIONS)
                     69: XqvssDIRS = $(QVSSDIRS)
                     70: 
                     71: ServerTarget(Xqvss,$(EXTDIR) $(QVSSDIRS),$(QVSSOBJS),$(QVSSLIBS),$(SYSLIBS))
                     72: 
                     73: #
                     74: # qdss server
                     75: #
                     76: QDSSDIRS = dix ddx/mi ddx/mfb ddx/lk201 ddx/qdss os/4.2bsd
                     77: QDSSOBJS = ddx/qdss/init.o ddx/qdss/qdss_io.o ddx/lk201/lk201.o
                     78: QDSSLIBS = ddx/qdss/libqdss.a.save ddx/qdss/libtl.a.save \
                     79:                ddx/qdss/libqdss.a.save \
                     80:                $(DIX) $(UNIX) $(MFB) $(MI) $(EXTENSIONS)
                     81: XqdssDIRS = $(QDSSDIRS)
                     82: 
                     83: ServerTarget(Xqdss,$(EXTDIR) $(QDSSDIRS),$(QDSSOBJS),$(QDSSLIBS),$(SYSLIBS))
                     84: 
                     85: 
                     86: #
                     87: # sun server
                     88: #
                     89: #ifdef UseSunWindowsInServer
                     90: SUNWINDOWSLIBS = -lsunwindow -lpixrect
                     91: #endif
                     92: SUNDIRS = dix ddx/mi ddx/mfb ddx/cfb ddx/sun os/4.2bsd
                     93: SUNOBJS = ddx/sun/sunInit.o
                     94: SUNLIBS = $(SUN) $(CFB) $(DIX) $(UNIX) $(MFB) $(MI) $(EXTENSIONS)
                     95: SUNSYSLIBS = $(SYSLIBS) $(SUNWINDOWSLIBS)
                     96: XsunDIRS = $(SUNDIRS)
                     97: 
                     98: ServerTarget(Xsun,$(EXTDIR) $(SUNDIRS),$(SUNOBJS),$(SUNLIBS),$(SUNSYSLIBS))
                     99: 
                    100: 
                    101: #
                    102: # apa16 server
                    103: #
                    104: APA16DIRS = dix ddx/mi ddx/mfb ddx/ibm/apa16 ddx/ibm/rt os/4.2bsd
                    105: APA16OBJS = ddx/ibm/rt/rtinit.o ddx/ibm/rt/rtio.o
                    106: APA16LIBS = ddx/ibm/apa16/libapa16.a ddx/ibm/rt/librt.a \
                    107:                $(DIX) $(UNIX) $(MFB) $(MI) $(EXTENSIONS)
                    108: Xapa16DIRS = $(APA16DIRS)
                    109: 
                    110: ServerTarget(Xapa16,$(EXTDIR) $(APA16DIRS),$(APA16OBJS),$(APA16LIBS),$(SYSLIBS))
                    111: 
                    112: #
                    113: # aed server
                    114: #
                    115: AEDDIRS = dix ddx/mi ddx/mfb ddx/ibm/aed ddx/ibm/rt os/4.2bsd
                    116: AEDOBJS = ddx/ibm/rt/rtinit.o ddx/ibm/rt/rtio.o
                    117: AEDLIBS = ddx/ibm/aed/libaed.a ddx/ibm/rt/librt.a \
                    118:                $(DIX) $(UNIX) $(MFB) $(MI) $(EXTENSIONS)
                    119: XaedDIRS = $(AEDDIRS)
                    120: 
                    121: ServerTarget(Xaed,$(EXTDIR) $(AEDDIRS),$(AEDOBJS),$(AEDLIBS),$(SYSLIBS))
                    122: 
                    123: 
                    124: #
                    125: # apollo server
                    126: #
                    127: APOLLODIRS = dix ddx/mi ddx/mfb ddx/apollo os/4.2bsd
                    128: APOLLOOBJS = ddx/apollo/init.o ddx/apollo/apollo_io.o \
                    129: 
                    130:                /sys/traits/io_traits
                    131: APOLLOLIBS = $(DIX) $(UNIX) $(MFB) $(MI) $(EXTENSIONS)
                    132: XapolloDIRS = $(APOLLODIRS)
                    133: 
                    134: ServerTarget(Xapollo,$(EXTDIR) $(APOLLODIRS),$(APOLLOOBJS),$(APOLLOLIBS),$(SYSLIBS))
                    135: 
                    136: #
1.1.1.2 ! root      137: # v9sun server
        !           138: #
        !           139: SUNV9DIRS = dix ddx/mi ddx/mfb ddx/v9sun os/v9
        !           140: SUNV9OBJS = ddx/v9sun/sunInit.o
        !           141: SUNV9LIBS = $(V9SUN) $(DIX) $(V9) $(MFB) $(MI)
        !           142: SUNV9SLIBS = $(V9LIBS)
        !           143: Xsunv9DIRS = $(SUNV9DIRS)
        !           144: 
        !           145: ServerTarget(Xsunv9, $(SUNV9DIRS),$(SUNV9OBJS),$(SUNV9LIBS),$(SUNV9SLIBS))
        !           146: 
        !           147: #
1.1       root      148: # other, necessary targets
                    149: #
                    150: CleanSubdirs($(SUBDIRS))
                    151: TagSubdirs($(SUBDIRS))
                    152: MakefileSubdirs($(SUBDIRS))
                    153: InstallMultiple($(ALL),$(BINDIR))
                    154: 
                    155: #
                    156: # Gad, but I wish this wasn't so complicated.  All this because
                    157: # If we are making two servers, then there may be two lists of
                    158: # directories to depend or whatever, most of which are duplicates
                    159: #
                    160: #define DoServerSubdirList(target)                                     @@\
                    161: target::                                                               @@\
                    162:        @for i in $(ALL); do \                                          @@\
                    163:                dirs="$$dirs \$$($${i}DIRS)"; \                         @@\
                    164:        done; \                                                         @@\
                    165:        $(MAKE) $(MFLAGS) Real/**/target \                              @@\
                    166:                "SERVERSUBDIRS=$$dirs" \                                @@\
                    167:                LINT=$(LINT) DESTDIR=$(DESTDIR)                         @@\
                    168:                                                                        @@\
                    169: Real/**/target:                                                                @@\
                    170:        @subdirs=`ls -d $(SERVERSUBDIRS) | sort -u`; \                  @@\
                    171:        for i in $$subdirs; do \                                        @@\
                    172:                echo "target/**/ing $$i"; \                             @@\
                    173:                (cd $$i ; $(MAKE) $(MFLAGS) target \                    @@\
                    174:                        LINT=$(LINT) DESTDIR=$(DESTDIR) ); \            @@\
                    175:        done
                    176: 
                    177: DoServerSubdirList(depend)
                    178: DoServerSubdirList(install)
                    179: DoServerSubdirList(lintlib)
                    180: 
                    181: $(EXTDIR) $(SUBDIRS): FRC
                    182:        @cd $@ ; echo "making $@"; \
                    183:        $(MAKE) $(MFLAGS) PassCDebugFlags all
                    184: 
                    185: lint:
                    186:        lint dix/?*.ln os/4.2bsd/?*.ln ddx/mi/?*.ln ddx/mfb/?*.ln > lint.out
                    187: 
                    188: clean::
                    189:        rm -f $(ALLPOSSIBLE)
                    190: 
                    191: FRC:

unix.superglobalmegacorp.com

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