78 lines
3.0 KiB
Makefile
78 lines
3.0 KiB
Makefile
#
|
|
#**************************************************************************
|
|
#* *
|
|
#* Copyright (c) 1991 Silicon Graphics, Inc. *
|
|
#* All Rights Reserved *
|
|
#* *
|
|
#* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF SGI *
|
|
#* *
|
|
#* The copyright notice above does not evidence any actual of intended *
|
|
#* publication of such source code, and is an unpublished work by Silicon *
|
|
#* Graphics, Inc. This material contains CONFIDENTIAL INFORMATION that is *
|
|
#* the property of Silicon Graphics, Inc. Any use, duplication or *
|
|
#* disclosure not specifically authorized by Silicon Graphics is strictly *
|
|
#* prohibited. *
|
|
#* *
|
|
#* RESTRICTED RIGHTS LEGEND: *
|
|
#* *
|
|
#* Use, duplication or disclosure by the Government is subject to *
|
|
#* restrictions as set forth in subdivision (c)(1)(ii) of the Rights in *
|
|
#* Technical Data and Computer Software clause at DFARS 52.227-7013, *
|
|
#* and/or in similar or successor clauses in the FAR, DOD or NASA FAR *
|
|
#* Supplement. Unpublished - rights reserved under the Copyright Laws of *
|
|
#* the United States. Contractor is SILICON GRAPHICS, INC., 2011 N. *
|
|
#* Shoreline Blvd., Mountain View, CA 94039-7311 *
|
|
#**************************************************************************
|
|
#*
|
|
#* Makefile - model, Filters for the model file, and standard model file.
|
|
#*
|
|
#*
|
|
#*
|
|
#**************************************************************************
|
|
DEPTH = ..
|
|
|
|
include $(DEPTH)/lpdefs
|
|
|
|
TARGETS = lp.set lp.cat lp.tell drain.output
|
|
|
|
CFILES = lp.set.c lp.cat.c lp.tell.c drain.output.c
|
|
|
|
MFILES = standard
|
|
SFILTER = slow.filter
|
|
|
|
MISC = alert.proto
|
|
|
|
IDB_TAG = eoe2.sw.lp
|
|
|
|
LCINCS = -I$(LPINC) -I$(INC)
|
|
LLDLIBS = $(LIBACC) $(LIBCLS) $(LIBMSG) $(LIBPRT) $(LIBFRM) $(LIBLP) $(LIBOAM)
|
|
LCDEFS = -D_RISCOS
|
|
|
|
default: $(TARGETS)
|
|
|
|
include $(COMMONRULES)
|
|
|
|
lp.set: lp.set.o
|
|
$(CCF) -o $@ $@.o $(LIBLP) -lcurses
|
|
|
|
lp.cat: lp.cat.o
|
|
$(CCF) -o $@ $@.o $(LIBLP) -lcurses
|
|
|
|
lp.tell: lp.tell.o
|
|
$(CCF) -o $@ $@.o $(LIBMSG) $(LIBLP) -lcurses
|
|
|
|
drain.output: drain.output.o
|
|
$(CCF) -o $@ $@.o $(LIBLP) -lcurses
|
|
|
|
install: default
|
|
$(INSTALL) -idb $(IDB_TAG) -u lp -g lp -m 755 \
|
|
-F /usr/lib/lp/bin $(TARGETS)
|
|
$(INSTALL) -idb $(IDB_TAG) -u lp -g lp -m 444 \
|
|
-F /usr/lib/lp/bin $(MISC)
|
|
$(INSTALL) -idb $(IDB_TAG) -u lp -g lp -m 755 \
|
|
-F /etc/lp/model $(MFILES)
|
|
$(INSTALL) -idb $(IDB_TAG) -F /usr/lib/lp \
|
|
-lns /etc/lp/model model
|
|
$(INSTALL) -idb $(IDB_TAG) -u lp -g lp -m 555 \
|
|
-F /usr/lib/lp/bin $(SFILTER)
|