Annotation of researchv9/X11/src/X.V11R1/util/makedepend/Makefile, revision 1.1.1.1

1.1       root        1: 
                      2: #
                      3: # This makefile is automatically generated by imake... do not modify
                      4: # or you may lose your changes when imake generates makefiles again.
                      5: # Ignore this message if you are not using imake.
                      6: #
                      7: 
                      8:             TOP = ./../..
                      9:              AS = as
                     10:              CC = cc
                     11:             CPP = /lib/cpp
                     12:              LD = ld
                     13:            LINT = lint
                     14:            MAKE = make
                     15:     CDEBUGFLAGS = -O
                     16:         DESTDIR =
                     17: 
                     18:         INSTALL = install
                     19:            TAGS = ctags
                     20:          DEPEND = $(DEPENDSRC)/makedepend
                     21:           IMAKE = $(IMAKESRC)/imake
                     22:             RGB = $(RGBSRC)/rgb
                     23:          CFLAGS = $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES)
                     24:         LDFLAGS = $(CDEBUGFLAGS) $(SYS_LIBRARIES)
                     25:    INSTLIBFLAGS = -c -m 0664
                     26:       USRLIBDIR = $(DESTDIR)/usr/lib
                     27:          BINDIR = $(DESTDIR)/usr/bin/X11
                     28:          LIBDIR = $(DESTDIR)/usr/lib/X11
                     29:          INCDIR = $(DESTDIR)/usr/include/X11
                     30:    FUTUREINCDIR = $(DESTDIR)/usr/include/X
                     31:         FONTDIR = $(DESTDIR)$(LIBDIR)/fonts
                     32:          MANDIR = $(DESTDIR)/usr/man/mann
                     33:       CLIENTSRC = $(TOP)/clients
                     34:         DEMOSRC = $(TOP)/demos
                     35:          LIBSRC = $(TOP)/lib
                     36:         FONTSRC = $(TOP)/fonts
                     37:      INCLUDESRC = $(TOP)/include
                     38:       SERVERSRC = $(TOP)/server
                     39:         UTILSRC = $(TOP)/util
                     40:         HACKSRC = $(TOP)/hacks
                     41:          DOCSRC = $(TOP)/doc
                     42:       DEPENDSRC = $(UTILSRC)/makedepend
                     43:        IMAKESRC = $(UTILSRC)/imake
                     44:          RGBSRC = $(UTILSRC)/rgb
                     45:         XLIBSRC = $(LIBSRC)/X
                     46:          XRMSRC = $(LIBSRC)/Xrm
                     47:      TOOLKITSRC = $(LIBSRC)/Xtk
                     48:      OLDXLIBSRC = $(LIBSRC)/oldX
                     49:     OLDXMENUSRC = $(LIBSRC)/oldXMenu
                     50:       OLDXRMSRC = $(LIBSRC)/oldXrm
                     51:   OLDTOOLKITSRC = $(LIBSRC)/oldXtk
                     52:    EXTENSIONSRC = $(TOP)/extensions
                     53:         XMANSRC = $(DOCSRC)/Xlib/Xman
                     54:    EXTENSIONLIB = $(EXTENSIONSRC)/lib/libXext.a
                     55:            XLIB = $(XLIBSRC)/libX.a
                     56:         OLDXLIB = $(OLDXLIBSRC)/liboldX.a
                     57:        XTOOLLIB = $(TOOLKITSRC)/libXtk.a
                     58:     OLDXTOOLLIB = $(OLDTOOLKITSRC)/liboldXtk.a
                     59:     OLDXMENULIB = $(OLDXMENUSRC)/libXMenu.a
                     60:          XRMLIB = $(XRMSRC)/libXrm.a
                     61:       OLDXRMLIB = $(OLDXRMSRC)/liboldXrm.a
                     62:        INCLUDES = -I$(TOP)
                     63:       MACROFILE = Sunv9.macros
                     64:       IMAKE_CMD = $(NEWTOP)$(IMAKE) -TImake.tmpl \
                     65:                        -I$(NEWTOP)$(UTILSRC)/imake.includes \
                     66:                        -s Makefile
                     67:          RM_CMD = rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
                     68:                        tags TAGS make.log
                     69: 
                     70: #
                     71: # If you have source for cpp...
                     72: #
                     73: 
                     74: #
                     75: # But if you don't have cpp source...
                     76: #
                     77:     SRCS = include.c main.c parse.c pr.c cppsetup.c
                     78:     OBJS = include.o main.o parse.o pr.o cppsetup.o
                     79:  DEFINES = '-DINCLUDEDIR="/usr/include"'
                     80: 
                     81: makedepend: $(OBJS)
                     82:        rm -f $@
                     83:        $(CC) -o $@ $(OBJS)  $(LDFLAGS)
                     84: 
                     85: relink::
                     86:        rm -f makedepend
                     87:        $(MAKE) $(MFLAGS) makedepend
                     88: 
                     89: clean::
                     90:        rm -f makedepend
                     91: 
                     92: cpy.c: cpy.y yylex.c
                     93:        yacc cpy.y
                     94:        sed -e '/^# *line/d' < y.tab.c > cpy.c
                     95:        rm -f y.tab.c
                     96: 
                     97: cpy.y: $(CPPSRC)/cpy.y
                     98:        rm -f $@
                     99:        cp $(CPPSRC)/cpy.y .
                    100: 
                    101: yylex.c: $(CPPSRC)/yylex.c
                    102:        rm -f $@
                    103:        sed -e 's/#if pdp11 | vax | mc68000/& | ns16000 | ibm032/' \
                    104:                $(CPPSRC)/yylex.c > yylex.c
                    105: 
                    106: cpp.c: $(CPPSRC)/cpp.c cpp.ed
                    107:        rm -f cpp.c
                    108:        /lib/cpp $(CPPSRC)/cpp.c \
                    109:                | cb \
                    110:                | sed -e '/^$$/d' -e '/^#/d' -e 's/     / /g' > cpp.c
                    111:        sed -e '/^#/d' < cpp.ed | ed - cpp.c
                    112: 
                    113: cpp.o: cpp.c
                    114: cpy.o: cpy.c
                    115: 
                    116: clean::
                    117:        rm -f cpp.c cpy.? yylex.c
                    118: 
                    119: depend::
                    120:        $(DEPEND) -s "# DO NOT DELETE" $(CFLAGS) $(SRCS)
                    121: 
                    122: clean::
                    123:        $(RM_CMD) \#*
                    124: 
                    125: Makefile:: Imakefile \
                    126:        $(UTILSRC)/imake.includes/Imake.tmpl \
                    127:        $(UTILSRC)/imake.includes/Imake.rules \
                    128:        $(UTILSRC)/imake.includes/$(MACROFILE)
                    129:                -rm -f Makefile.bak; mv Makefile Makefile.bak
                    130:                $(IMAKE_CMD) -DTOPDIR=$(TOP)
                    131: 
                    132: tags::
                    133:        $(TAGS) -w *.[ch]
                    134:        $(TAGS) -xw *.[ch] > TAGS
                    135: 
                    136: install::
                    137:        @echo "install done"
                    138: 
                    139: Makefiles::
                    140: 

unix.superglobalmegacorp.com

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