/[baselayout]/trunk/src/Makefile
Gentoo

Diff of /trunk/src/Makefile

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

Revision 2638 Revision 2698
68# Shouldn't need this, but it's the easiest workaround for silly 68# Shouldn't need this, but it's the easiest workaround for silly
69# Linux headers that don't work with -std=c99 69# Linux headers that don't work with -std=c99
70override CPPFLAGS += -D_GNU_SOURCE 70override CPPFLAGS += -D_GNU_SOURCE
71endif 71endif
72ifeq ($(OS),BSD) 72ifeq ($(OS),BSD)
73override LDLIBS += -lkvm 73LDLIBS_LIBRC = -lkvm
74endif 74endif
75 75
76HAVE_PAM = 76HAVE_PAM =
77ifdef HAVE_PAM 77ifdef HAVE_PAM
78CPPFLAGS_SSD = -DHAVE_PAM 78CPPFLAGS_SSD = -DHAVE_PAM
100 $(CC) -fPIC -shared -Wl,-soname,$(LIBEINFOSO) -o $(LIBEINFOSO) $(LIBEINFOOBJS) 100 $(CC) -fPIC -shared -Wl,-soname,$(LIBEINFOSO) -o $(LIBEINFOSO) $(LIBEINFOOBJS)
101 ln -sf $(LIBEINFOSO) libeinfo.so 101 ln -sf $(LIBEINFOSO) libeinfo.so
102 102
103$(LIBRCOBJS): CFLAGS += -fPIC 103$(LIBRCOBJS): CFLAGS += -fPIC
104$(LIBRCSO): $(LIBRCOBJS) 104$(LIBRCSO): $(LIBRCOBJS)
105 $(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LIBRCOBJS) 105 $(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS)
106 ln -sf $(LIBRCSO) librc.so 106 ln -sf $(LIBRCSO) librc.so
107 107
108env-update: $(LIBEINFOSO) $(LIBRCSO) env-update.o 108env-update: $(LIBEINFOSO) $(LIBRCSO) env-update.o
109 109
110fstabinfo: $(LIBEINFOSO) fstabinfo.o 110fstabinfo: $(LIBEINFOSO) fstabinfo.o

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

  ViewVC Help
Powered by ViewVC 1.1.20