Annotation of 43BSD/contrib/spms/src/bin/pexec/Makefile, revision 1.1.1.1

1.1       root        1: # $Header$
                      2: #
                      3: CFLAGS       = -D$(VERSION) -I../../../include -O
                      4: 
                      5: DEST         = /usr/new
                      6: 
                      7: EXTHDRS              = ../../../include/bin.h \
                      8:                ../../../include/getarg.h \
                      9:                ../../../include/hash.h \
                     10:                ../../../include/macro.h \
                     11:                ../../../include/null.h \
                     12:                ../../../include/path.h \
                     13:                ../../../include/pdb.h \
                     14:                ../../../include/pdtyp.h \
                     15:                ../../../include/pld.h \
                     16:                ../../../include/slist.h \
                     17:                ../../../include/slslist.h \
                     18:                ../../../include/spms.h \
                     19:                ../../../include/system.h \
                     20:                ../../../include/truefalse.h \
                     21:                ../../../include/yesno.h \
                     22:                /usr/include/ctype.h \
                     23:                /usr/include/machine/machparam.h \
                     24:                /usr/include/machine/machparam.h \
                     25:                /usr/include/signal.h \
                     26:                /usr/include/stdio.h \
                     27:                /usr/include/sys/file.h \
                     28:                /usr/include/sys/param.h \
                     29:                /usr/include/sys/signal.h \
                     30:                /usr/include/sys/types.h \
                     31:                /usr/include/sys/types.h
                     32: 
                     33: HDRS         = pdlist.h \
                     34:                pdset.h
                     35: 
                     36: LDFLAGS              =
                     37: 
                     38: LIBS         = ../../../lib/libhash.a \
                     39:                ../../../lib/libslist.a \
                     40:                ../../../lib/libspms.a \
                     41:                ../../../lib/libpdb.a \
                     42:                ../../../lib/libspms.a
                     43: 
                     44: LINKER       = cc
                     45: 
                     46: LINTFLAGS     = -D$(VERSION) -I../../../include
                     47: 
                     48: LINTLIST      = ../../../lib/llib-lhash.ln \
                     49:                ../../../lib/llib-lslist.ln \
                     50:                ../../../lib/llib-lspms.ln \
                     51:                ../../../lib/llib-lpdb.ln \
                     52:                -lc
                     53: 
                     54: MAKEFILE      = Makefile
                     55: 
                     56: OBJS         = Pexec.o \
                     57:                exec.o \
                     58:                execcmd.o \
                     59:                misc.o \
                     60:                pdlist.o \
                     61:                pdset.o
                     62: 
                     63: PRINT        = pr
                     64: 
                     65: PROGRAM              = pexec
                     66: 
                     67: SRCS         = Pexec.c \
                     68:                exec.c \
                     69:                execcmd.c \
                     70:                misc.c \
                     71:                pdlist.c \
                     72:                pdset.c
                     73: 
                     74: VERSION              = V4BSD
                     75: 
                     76: all:           $(PROGRAM)
                     77: 
                     78: $(PROGRAM):     $(OBJS) $(LIBS)
                     79:                @echo -n "Loading $(PROGRAM) ... "
                     80:                @$(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
                     81:                @echo "done"
                     82: 
                     83: clean:;                @rm -f $(OBJS)
                     84: 
                     85: co:;           @co -r$(VERSION) $(HDRS) $(SRCS)
                     86: 
                     87: depend:;       @mkmf -f $(MAKEFILE) PROGRAM=$(PROGRAM) DEST=$(DEST)
                     88: 
                     89: diff:;         @rcsdiff -r$(VERSION) $(HDRS) $(SRCS)
                     90: 
                     91: index:;                @ctags -wx $(HDRS) $(SRCS)
                     92: 
                     93: install:       $(PROGRAM)
                     94:                @echo Installing $(PROGRAM) in $(DEST)
                     95:                @install -s $(PROGRAM) $(DEST)
                     96: 
                     97: lint:;         @lint $(LINTFLAGS) $(SRCS) $(LINTLIST)
                     98: 
                     99: print:;                @$(PRINT) $(HDRS) $(SRCS)
                    100: 
                    101: program:        $(PROGRAM)
                    102: 
                    103: strip:;                @strip $(PROGRAM)
                    104: 
                    105: tags:           $(HDRS) $(SRCS); @ctags $(HDRS) $(SRCS)
                    106: 
                    107: update:                $(DEST)/$(PROGRAM)
                    108: 
                    109: $(DEST)/$(PROGRAM): $(SRCS) $(LIBS) $(HDRS) $(EXTHDRS)
                    110:                @make -f $(MAKEFILE) DEST=$(DEST) install tags

unix.superglobalmegacorp.com

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