Makefile.in: some fixes for compiling in the BSD systems.

master
Andrey Slusar 20 years ago
parent 768f1fc8a7
commit f9cc46b103

@ -1,14 +1,22 @@
2005-01-12 Andrey Slusar <anray@users.sourceforge.net>
* Makefile.in (installdirs): fix compiling when use a bsd
chown.
* Makefile.in (bforce/expression.c): fix compiling when use
a bsd make.
2005-01-12 Evgeniy Kozhuhovskiy <e.kozhuhovskiy@generation-p.com> 2005-01-12 Evgeniy Kozhuhovskiy <e.kozhuhovskiy@generation-p.com>
* bforce/nodelist.c (nodelist_open): rewritten logic * bforce/nodelist.c (nodelist_open): rewritten logic
* bforce/logger.c (log): fixed working with --enable-syslog * bforce/logger.c (log): fixed working with --enable-syslog
* logger.h: fixed some warnings * include/logger.h: fixed some warnings
2005-01-11 Evgeniy Kozhuhovskiy <e.kozhuhovskiy@generation-p.com> 2005-01-11 Evgeniy Kozhuhovskiy <e.kozhuhovskiy@generation-p.com>
* nodelist.c(nodelist_open): fixed warnings * bforce/nodelist.c (nodelist_open): fixed warnings
2005-01-11 Andrey Slusar <anray@users.sourceforge.net> 2005-01-11 Andrey Slusar <anray@users.sourceforge.net>

@ -109,7 +109,7 @@ BFORCE_OBJS = bforce/bforce.o \
all: bin/bforce bin/bfindex bin/bfstat bin/nlookup all: bin/bforce bin/bfindex bin/bfstat bin/nlookup
expression.c: bforce/expression.y bforce/expression.c: bforce/expression.y
$(YACC) bforce/expression.y $(YACC) bforce/expression.y
mv y.tab.c bforce/expression.c mv y.tab.c bforce/expression.c
@ -168,13 +168,13 @@ installdirs:
if [ ! -d $(SPOOLDIR)/bt/out ]; then mkdir -p $(SPOOLDIR)/bt/out; fi if [ ! -d $(SPOOLDIR)/bt/out ]; then mkdir -p $(SPOOLDIR)/bt/out; fi
if [ ! -d $(SPOOLDIR)/ndl ]; then mkdir -p $(SPOOLDIR)/ndl; fi if [ ! -d $(SPOOLDIR)/ndl ]; then mkdir -p $(SPOOLDIR)/ndl; fi
if [ ! -d $(SPOOLDIR)/bforce ]; then mkdir -p $(SPOOLDIR); fi if [ ! -d $(SPOOLDIR)/bforce ]; then mkdir -p $(SPOOLDIR); fi
chown $(OWNER).$(GROUP) $(CONFDIR) chown $(OWNER):$(GROUP) $(CONFDIR)
chown $(OWNER).$(GROUP) $(LOGDIR) chown $(OWNER):$(GROUP) $(LOGDIR)
chown $(OWNER).$(GROUP) $(SPOOLDIR)/bt/in chown $(OWNER):$(GROUP) $(SPOOLDIR)/bt/in
chown $(OWNER).$(GROUP) $(SPOOLDIR)/bt/pin chown $(OWNER):$(GROUP) $(SPOOLDIR)/bt/pin
chown $(OWNER).$(GROUP) $(SPOOLDIR)/bt/out chown $(OWNER):$(GROUP) $(SPOOLDIR)/bt/out
chown $(OWNER).$(GROUP) $(SPOOLDIR)/ndl chown $(OWNER):$(GROUP) $(SPOOLDIR)/ndl
chown $(OWNER).$(GROUP) $(SPOOLDIR) chown $(OWNER):$(GROUP) $(SPOOLDIR)
install: install:
$(INSTALL_PROGRAM) -o $(OWNER) -g $(GROUP) $(SRCDIR)/bin/bforce $(BINDIR)/bforce $(INSTALL_PROGRAM) -o $(OWNER) -g $(GROUP) $(SRCDIR)/bin/bforce $(BINDIR)/bforce

Loading…
Cancel
Save