Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 941727
Collapse All | Expand All

(-)a/makefile (-5 lines)
Lines 40-53 OBJECTS = $(OBJ) hwstamp_ctl.o nsm.o phc2sys.o phc_ctl.o pmc.o pmc_agent.o \ Link Here
40
SRC	= $(OBJECTS:.o=.c)
40
SRC	= $(OBJECTS:.o=.c)
41
DEPEND	= $(OBJECTS:.o=.d)
41
DEPEND	= $(OBJECTS:.o=.d)
42
srcdir	:= $(dir $(lastword $(MAKEFILE_LIST)))
42
srcdir	:= $(dir $(lastword $(MAKEFILE_LIST)))
43
incdefs := $(shell CC="$(CC)" $(srcdir)/incdefs.sh)
44
version := $(shell $(srcdir)/version.sh $(srcdir))
43
version := $(shell $(srcdir)/version.sh $(srcdir))
45
VPATH	= $(srcdir)
44
VPATH	= $(srcdir)
46
45
47
ifeq (,$(findstring -DUSE_OPENSSL, $(EXTRA_CFLAGS)))
48
incdefs := $(filter-out -DHAVE_OPENSSL, $(incdefs))
49
endif
50
51
ifneq (,$(findstring -DHAVE_NETTLE, $(incdefs)))
46
ifneq (,$(findstring -DHAVE_NETTLE, $(incdefs)))
52
LDLIBS += -lnettle
47
LDLIBS += -lnettle
53
SECURITY += sad_nettle.o
48
SECURITY += sad_nettle.o

Return to bug 941727