Annotation of 43BSD/contrib/X/XMenu/Makefile, revision 1.1.1.1

1.1       root        1: #
                      2: #      Athena X window system XMenu system makefile.
                      3: #
                      4: #              Written by:     Tony Della Fera, DEC
                      5: #
                      6: 
                      7: DESTDIR =
                      8: INCLUDES = -I../include
                      9: 
                     10: C2 = /lib/c2
                     11: CFLAGS = -O ${INCLUDES}
                     12: XLIB = ../Xlib/libX.a
                     13: XLIB_H = ../Xlib/Xlib.h
                     14: XLIB_P = ../Xlib/libX_p.a
                     15: 
                     16: .SUFFIXES: .o .h .c
                     17: 
                     18: #.c.o:
                     19: #      ${CC} -pg ${CFLAGS} -c -S $*.c
                     20: #      ${C2} $*.s | ../inline/inline | ${AS} -o $*.o
                     21: #      rm -f $*.s
                     22: #      -ld -X -r $*.o
                     23: #      mv a.out profiled/$*.o
                     24: #      ${CC} ${CFLAGS} -c -S $*.c
                     25: #      ${C2} $*.s | ../inline/inline | ${AS} -o $*.o
                     26: #      rm -f $*.s
                     27: #      -ld -x -r $*.o
                     28: #      mv a.out $*.o
                     29: 
                     30: .c.o:
                     31:        ${CC} -pg ${CFLAGS} -c $*.c
                     32:        mv $*.o profiled/
                     33:        ${CC} ${CFLAGS} -c $*.c
                     34: 
                     35: SRCS =         XMenuInternal.c \
                     36:        XMenuCreate.c \
                     37:        XMenuAddPane.c \
                     38:        XMenuAddSel.c \
                     39:        XMenuInsPane.c \
                     40:        XMenuInsSel.c \
                     41:        XMenuFindPane.c \
                     42:        XMenuFindSel.c \
                     43:        XMenuChgPane.c \
                     44:        XMenuChgSel.c \
                     45:        XMenuSetPane.c \
                     46:        XMenuSetSel.c \
                     47:        XMenuRecomp.c \
                     48:        XMenuEvHand.c \
                     49:        XMenuLocate.c \
                     50:        XMenuSetFrz.c \
                     51:        XMenuActivate.c \
                     52:        XMenuPost.c \
                     53:        XMenuDelPane.c \
                     54:        XMenuDelSel.c \
                     55:        XMenuDestroy.c \
                     56:        XMenuError.c
                     57: 
                     58: OBJS =         XMenuInternal.o \
                     59:        XMenuCreate.o \
                     60:        XMenuAddPane.o \
                     61:        XMenuAddSel.o \
                     62:        XMenuInsPane.o \
                     63:        XMenuInsSel.o \
                     64:        XMenuFindPane.o \
                     65:        XMenuFindSel.o \
                     66:        XMenuChgPane.o \
                     67:        XMenuChgSel.o \
                     68:        XMenuSetPane.o \
                     69:        XMenuSetSel.o \
                     70:        XMenuRecomp.o \
                     71:        XMenuEvHand.o \
                     72:        XMenuLocate.o \
                     73:        XMenuSetFrz.o \
                     74:        XMenuActivate.o \
                     75:        XMenuPost.o \
                     76:        XMenuDelPane.o \
                     77:        XMenuDelSel.o \
                     78:        XMenuDestroy.o \
                     79:        XMenuError.o
                     80: 
                     81: all: lib
                     82: sys: lib tests
                     83: lib: libXMenu.a libXMenu_p.a
                     84: 
                     85: #
                     86: # Library construction
                     87: #
                     88: 
                     89: $(OBJS): XMenu.h XMenuInternal.h
                     90: 
                     91: XMenuCreate.o: ../bitmaps/dimple1.bitmap \
                     92:                ../bitmaps/dimple3.bitmap \
                     93:                ../bitmaps/gray1.bitmap \
                     94:                ../bitmaps/gray3.bitmap \
                     95:                ../bitmaps/cross_weave.bitmap \
                     96:                ../cursors/left_ptr.cursor \
                     97:                ../cursors/left_ptr_mask.cursor\
                     98:                ../cursors/right_ptr.cursor\
                     99:                ../cursors/right_ptr_mask.cursor\
                    100:                ../cursors/center_ptr.cursor\
                    101:                ../cursors/center_ptr_mask.cursor
                    102: 
                    103: libXMenu.a: $(OBJS)
                    104:        ar cr libXMenu.a $(OBJS)
                    105:        @ranlib libXMenu.a
                    106: 
                    107: libXMenu_p.a: $(OBJS)
                    108:        cd profiled; ar cr ../libXMenu_p.a $(OBJS)
                    109:        @ranlib libXMenu_p.a
                    110: 
                    111: #
                    112: # Library tests
                    113: #
                    114: 
                    115: tests: libXMenu.a libXMenu_p.a
                    116:        cd tests; make
                    117: 
                    118: #
                    119: # Maintenance
                    120: #
                    121: 
                    122: install: all
                    123:        cp libXMenu.a ${DESTDIR}/usr/lib
                    124:        @ranlib ${DESTDIR}/usr/lib/libXMenu.a
                    125:        cp libXMenu_p.a ${DESTDIR}/usr/lib
                    126:        @ranlib ${DESTDIR}/usr/lib/libXMenu_p.a
                    127: 
                    128: lint:
                    129:        lint -CX *.c
                    130: 
                    131: ci:
                    132:        ci -u *.[ch] Makefile
                    133:        
                    134: co:
                    135:        co -l *.[ch] Makefile
                    136: 
                    137: consistent:
                    138:        ci -l -m"Consistency check in." *.[ch] Makefile
                    139:        cd tests; make consistent
                    140: 
                    141: touch:
                    142:        touch *.o profiled/*.o
                    143:        touch *.a
                    144: 
                    145: igrind:
                    146:        igrind *.[ch] Makefile
                    147:        cd tests; make igrind
                    148:        
                    149: clean: 
                    150:        rm -f *.o *.a core *.[ch].[0-9]* *.bak *~ #*
                    151:        rm -f profiled/*.o
                    152:        cd tests; make clean
                    153: 
                    154: include: XMenu.h
                    155:        install -c -m 0644 XMenu.h ${DESTDIR}/usr/include/X
                    156: 
                    157: #####     End of makefile     #####

unix.superglobalmegacorp.com

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