freeipa/ipa-server/Makefile.common
Karl MacMillan d2a19b2009 Karl MacMillan wrote:
> > This largish patch makes the build and installation work on 64bit
> > machines. The only catch here is that to get a 64bit build you need to
> > set LIBDIR on make:
> >
> > make install LIBDIR=/usr/lib64
> >
> > The spec file does this correctly. I couldn't find any reliable way to
> > guess this that works both on real systems and in the almost entirely
> > empty rpm build root (you can't, for example, check for the existence
> > of /usr/lib64).
0001-01-01 00:00:00 +00:00

21 lines
468 B
Makefile

# set to 1 to produce a debug build of all subprojects
#export DEBUG=1
# set to 1 to build for 64bit
#export BUILD64=0
ifeq ($(DEBUG),1)
export CFLAGS = -g -Wall -Wshadow
export LDFLAGS = -g
else
export CFLAGS = -O2 -Wall -Wshadow
endif
DIRSRV=dirsrv
PREFIX?=$(DESTDIR)/usr
LIBDIR?=$(DESTDIR)/usr/lib
SHAREDIR?=$(PREFIX)/share/ipa
PLUGINDIR?=$(LIBDIR)/$(DIRSRV)/plugins
SBINDIR?=$(PREFIX)/sbin
INITDIR?=$(DESTDIR)/etc/rc.d/init.d
PYTHONDIR?=$(SHAREDIR)/ipaserver