summaryrefslogtreecommitdiffstats
path: root/ipa-server/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/Makefile.common')
-rw-r--r--ipa-server/Makefile.common21
1 files changed, 21 insertions, 0 deletions
diff --git a/ipa-server/Makefile.common b/ipa-server/Makefile.common
new file mode 100644
index 000000000..0ca3e2130
--- /dev/null
+++ b/ipa-server/Makefile.common
@@ -0,0 +1,21 @@
+# 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 \ No newline at end of file