head	1.10;
access;
symbols;
locks; strict;
comment	@# @;


1.10
date	97.11.04.22.59.01;	author itz;	state Exp;
branches;
next	1.9;

1.9
date	97.11.04.22.56.28;	author itz;	state Exp;
branches;
next	1.8;

1.8
date	97.11.04.22.38.34;	author itz;	state Exp;
branches;
next	1.7;

1.7
date	97.11.01.01.21.20;	author itz;	state Exp;
branches;
next	1.6;

1.6
date	97.10.31.16.19.46;	author itz;	state Exp;
branches;
next	1.5;

1.5
date	97.10.31.13.38.19;	author itz;	state Exp;
branches;
next	1.4;

1.4
date	97.10.31.13.35.34;	author itz;	state Exp;
branches;
next	1.3;

1.3
date	97.10.31.13.24.57;	author itz;	state Exp;
branches;
next	1.2;

1.2
date	97.10.31.06.10.23;	author itz;	state Exp;
branches;
next	1.1;

1.1
date	97.10.31.06.08.35;	author itz;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Added DAEMON_GROUP definition to be used for installation in
submakefiles.
@
text
@CSWITCHES = -O2
DAEMON_USER = lp
DAEMON_GROUP = lp
DEFS = -DDAEMON_UID=\"$(DAEMON_USER)\"
CFLAGS = -pipe -I ../common_source -D_BSD_SOURCE $(CSWITCHES) $(DEFS)

export CFLAGS
export LDFLAGS
export LDLIBS
export DAEMON_USER
export DAEMON_GROUP

SUBDIRS	= common_source filters lpc lpd lpq lpr lprm lptest pac

all:	bsdcap.o
	for i in $(SUBDIRS); do $(MAKE) -C $$i all; done

install:
	for i in $(SUBDIRS); do $(MAKE) -C $$i install; done
	install  -o root -g root -m644 printcap.5 /usr/man/man5/
	install -o root -g root -m644 bsdcap.o /usr/lib/

clean:
	rm -f bsdcap.o
	for i in $(SUBDIRS); do $(MAKE) -C $$i clean; done

@


1.9
log
@Isolated the unquoted DAEMON_USER variable ,to be used in subdirectory
makefiles.
@
text
@d3 1
d11 1
@


1.8
log
@(DEFS): added definition of DAEMON_UID which will
        replace the du capability
@
text
@d2 2
a3 1
DEFS = -DDAEMON_UID=\"lp\"
d9 1
@


1.7
log
@(CFLAGS): Get rid of -I /usr/include/bsd.  The
        `solutions' in these headers are extremely primitive and could
        hide real semantic compatibility problems.  Generally it seems
        better to just include the GNU headers and rely on -D_BSD_SOURCE
        to tell glibc what is expected.
@
text
@d2 2
a3 1
CFLAGS = -pipe -I ../common_source -D_BSD_SOURCE $(CSWITCHES)
@


1.6
log
@changed order of CFLAGS to make manual command line override easier.
@
text
@d2 1
a2 1
CFLAGS = -pipe -I ../common_source -I /usr/include/bsd -D_BSD_SOURCE $(CSWITCHES)
@


1.5
log
@removed -lbsd from LDLIBS (libbsd is integrated into libc)
@
text
@d1 2
a2 1
CFLAGS = $(CSWITCHES) -O2 -pipe -I ../common_source -I /usr/include/bsd -D_BSD_SOURCE
@


1.4
log
@added cleaning up of the bsdcap library
@
text
@a1 1
LDLIBS =  -lbsd
@


1.3
log
@ added installation of the bsdcap library
@
text
@d19 1
@


1.2
log
@added bsdcap.c, my own reimplementation of the BSD cget* functions
@
text
@d16 1
@


1.1
log
@Initial revision
@
text
@d10 1
a10 1
all:
@
