/[baselayout]/trunk/src/Makefile
Gentoo

Diff of /trunk/src/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2698 Revision 2708
63endif 63endif
64 64
65ifeq ($(OS),Linux) 65ifeq ($(OS),Linux)
66LDLIBS_RC = -ldl 66LDLIBS_RC = -ldl
67LDLIBS_RS = -ldl 67LDLIBS_RS = -ldl
68LDLIBS_SSD = -lrt
68# Shouldn't need this, but it's the easiest workaround for silly 69# Shouldn't need this, but it's the easiest workaround for silly
69# Linux headers that don't work with -std=c99 70# Linux headers that don't work with -std=c99
70override CPPFLAGS += -D_GNU_SOURCE 71override CPPFLAGS += -D_GNU_SOURCE
71endif 72endif
72ifeq ($(OS),BSD) 73ifeq ($(OS),BSD)
74endif 75endif
75 76
76HAVE_PAM = 77HAVE_PAM =
77ifdef HAVE_PAM 78ifdef HAVE_PAM
78CPPFLAGS_SSD = -DHAVE_PAM 79CPPFLAGS_SSD = -DHAVE_PAM
79LDLIBS_SSD = -lpam 80LDLIBS_SSD += -lpam
80endif 81endif
81 82
82# We also define _BSD_SOURCE so both Linux and the BSDs get a few 83# We also define _BSD_SOURCE so both Linux and the BSDs get a few
83# handy functions which makes our lives a lot easier 84# handy functions which makes our lives a lot easier
84override CPPFLAGS += -DLIB=\"$(LIB)\" 85override CPPFLAGS += -DLIB=\"$(LIB)\"

Legend:
Removed from v.2698  
changed lines
  Added in v.2708

  ViewVC Help
Powered by ViewVC 1.1.20