"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Makefile" between
elog-3.1.4-2.tar.gz and elog-3.1.4-3.tar.gz

About: ELOG is an Electronic Logbook (weblog).

Makefile  (elog-3.1.4-2):Makefile  (elog-3.1.4-3)
skipping to change at line 28 skipping to change at line 28
ELOGDIR = $(ROOT)$(PREFIX)/elog ELOGDIR = $(ROOT)$(PREFIX)/elog
DESTDIR = $(ROOT)$(PREFIX)/bin DESTDIR = $(ROOT)$(PREFIX)/bin
SDESTDIR = $(ROOT)$(PREFIX)/sbin SDESTDIR = $(ROOT)$(PREFIX)/sbin
RCDIR = $(ROOT)/etc/rc.d/init.d RCDIR = $(ROOT)/etc/rc.d/init.d
SRVDIR = $(ROOT)/usr/lib/systemd/system SRVDIR = $(ROOT)/usr/lib/systemd/system
# flag for SSL support # flag for SSL support
USE_SSL = 1 USE_SSL = 1
# flag for Kerberos support, please turn on if you need Kerberos # flag for Kerberos support, please turn off if you don't need Kerberos
USE_KRB5 = 0 USE_KRB5 = 0
# flag for LDAP support, please turn on if you need LDAP # flag for LDAP support, please turn off if you don't need LDAP
USE_LDAP = 0 USE_LDAP = 0
# flag for PAM support, please turn on if you need PAM # flag for PAM support, please turn of if you don't need PAM
USE_PAM = 0 USE_PAM = 0
############################################################# #############################################################
# Default compilation flags unless stated otherwise. # Default compilation flags unless stated otherwise.
CFLAGS += -O3 -funroll-loops -fomit-frame-pointer -W -Wall -Wno-deprecated-decla rations -Imxml CFLAGS += -O3 -funroll-loops -fomit-frame-pointer -W -Wall -Wno-deprecated-decla rations -Wno-unused-results -Imxml
CC = gcc CC = gcc
IFLAGS = -kr -nut -i3 -l110
EXECS = elog elogd elconv EXECS = elog elogd elconv
OBJS = mxml.o crypt.o regex.o OBJS = mxml.o crypt.o regex.o
GIT_REVISION = src/git-revision.h GIT_REVISION = src/git-revision.h
BINOWNER = bin BINOWNER = bin
BINGROUP = bin BINGROUP = bin
# Option to use our own implementation of strlcat, strlcpy # Option to use our own implementation of strlcat, strlcpy
NEED_STRLCPY = 1 NEED_STRLCPY = 1
INSTALL = `which install` INSTALL = `which install`
skipping to change at line 94 skipping to change at line 93
CC = gcc CC = gcc
BINOWNER = root BINOWNER = root
BINGROUP = wheel BINGROUP = wheel
endif endif
ifeq ($(OSTYPE),Linux) ifeq ($(OSTYPE),Linux)
CC = gcc CC = gcc
endif endif
ifdef USE_SSL ifdef USE_SSL
ifneq ($(USE_SSL),0) ifeq ($(USE_SSL),1)
CFLAGS += -DHAVE_SSL override CFLAGS += -DHAVE_SSL
LIBS += -lssl LIBS += -lssl
endif endif
endif endif
ifdef USE_KRB5 ifdef USE_KRB5
ifneq ($(USE_KRB5),0) ifeq ($(USE_KRB5),1)
CFLAGS += -DHAVE_KRB5 override CFLAGS += -DHAVE_KRB5
LIBS += -lkrb5 LIBS += -lkrb5
endif endif
endif endif
ifdef USE_LDAP ifdef USE_LDAP
ifneq ($(USE_LDAP),0) ifeq ($(USE_LDAP),1)
CFLAGS += -DHAVE_LDAP override CFLAGS += -DHAVE_LDAP
LIBS += -lldap LIBS += -lldap -llber
endif endif
endif endif
ifdef USE_PAM ifdef USE_PAM
ifneq ($(USE_PAM),0) ifeq ($(USE_PAM),1)
CFLAGS += -DHAVE_PAM override CFLAGS += -DHAVE_PAM
LIBS += -lpam LIBS += -lpam -llber
endif endif
endif endif
ifdef NEED_STRLCPY ifdef NEED_STRLCPY
OBJS += strlcpy.o OBJS += strlcpy.o
endif endif
WHOAMI = $(shell whoami) WHOAMI = $(shell whoami)
ifeq ($(WHOAMI),root) ifeq ($(WHOAMI),root)
BINFLAGS = -o ${BINOWNER} -g ${BINGROUP} BINFLAGS = -o ${BINOWNER} -g ${BINGROUP}
skipping to change at line 163 skipping to change at line 162
elog: src/elog.c $(OBJS) $(GIT_REVISION) elog: src/elog.c $(OBJS) $(GIT_REVISION)
$(CC) $(CFLAGS) -o elog src/elog.c $(OBJS) $(LIBS) $(CC) $(CFLAGS) -o elog src/elog.c $(OBJS) $(LIBS)
debug: src/elogd.c auth.o $(OBJS) debug: src/elogd.c auth.o $(OBJS)
$(CC) -g $(CFLAGS) -O0 -o elogd src/elogd.c auth.o $(OBJS) $(LIBS) $(CC) -g $(CFLAGS) -O0 -o elogd src/elogd.c auth.o $(OBJS) $(LIBS)
%: src/%.c %: src/%.c
$(CC) $(CFLAGS) -o $@ $< $(LIBS) $(CC) $(CFLAGS) -o $@ $< $(LIBS)
indent:
for src in src/*.c; do \
d2u $$src; \
indent $(IFLAGS) $$src; \
u2d $$src; \
done
ifeq ($(OSTYPE),CYGWIN_NT-5.1) ifeq ($(OSTYPE),CYGWIN_NT-5.1)
loc: locext.exe loc: locext.exe
for lang in resources/eloglang*; do \ for lang in resources/eloglang*; do \
./locext.exe src/elogd.c $$lang; echo locext src/elogd.c $$lang;\ ./locext.exe src/elogd.c $$lang; echo locext src/elogd.c $$lang;\
done done
else else
locext: src/locext.c locext: src/locext.c
loc: locext loc: locext
@for lang in resources/eloglang*; do \ @for lang in resources/eloglang*; do \
./locext src/elogd.c $$lang; echo locext src/elogd.c $$lang;\ ./locext src/elogd.c $$lang; echo locext src/elogd.c $$lang;\
 End of changes. 10 change blocks. 
22 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)