summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKarl MacMillan <kmacmillan@mentalrootkit.com>2007-08-10 07:09:16 -0400
committerKarl MacMillan <kmacmillan@mentalrootkit.com>2007-08-10 07:09:16 -0400
commit88a1ab65ce61bd94af0560980194d44affea45fb (patch)
treee3fb46756dca7959129b63eae62bdda5c8eee8a5 /Makefile
parenta3e786e22ec9d4b0e7d2ef982ac045a29477433e (diff)
downloadfreeipa-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--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5de0c5d3b..084c63e71 100644
--- a/Makefile
+++ b/Makefile
@@ -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