diff options
author | Karl MacMillan <kmacmillan@mentalrootkit.com> | 2007-08-10 07:09:16 -0400 |
---|---|---|
committer | Karl MacMillan <kmacmillan@mentalrootkit.com> | 2007-08-10 07:09:16 -0400 |
commit | 88a1ab65ce61bd94af0560980194d44affea45fb (patch) | |
tree | e3fb46756dca7959129b63eae62bdda5c8eee8a5 /Makefile | |
parent | a3e786e22ec9d4b0e7d2ef982ac045a29477433e (diff) | |
download | freeipa-88a1ab65ce61bd94af0560980194d44affea45fb.tar.gz freeipa-88a1ab65ce61bd94af0560980194d44affea45fb.tar.xz freeipa-88a1ab65ce61bd94af0560980194d44affea45fb.zip |
Updates to build kpaswd and the slapi plugins.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -2,6 +2,9 @@ SUBDIRS=ipa-server ipa-admintools ipa-python PRJ_PREFIX=freeipa +# set to 1 to produce a debug build of all subprojects +#DEBUG=1 + # Version numbers - this is for the entire server. After # updating this you should run the version-update # target. @@ -26,12 +29,18 @@ PYTHON_VERSION=$(PYTHON_MAJOR).$(PYTHON_MINOR).$(PYTHON_RELEASE) PYTHON_TARBALL_PREFIX=$(PRJ_PREFIX)-python-$(PYTHON_VERSION) PYTHON_TARBALL=$(PYTHON_TARBALL_PREFIX).tgz +ifeq ($(DEBUG),1) + export CFLAGS = -g -Wall -Wshadow + export LDFLAGS = -g +endif + + all: @for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) $@) || exit 1; \ done -install: +install: all @for subdir in $(SUBDIRS); do \ (cd $$subdir && $(MAKE) $@) || exit 1; \ done |