# Figure out whether we are building on i386 or x86_64 host
HOSTARCH := $(shell uname -i)
+kernel-$(HOSTARCH)-CVSROOT := :pserver:anon@cvs.planet-lab.org:/cvs
+kernel-$(HOSTARCH)-TAG := HEAD
kernel-$(HOSTARCH)-MODULE := linux-2.6
kernel-$(HOSTARCH)-SPEC := scripts/kernel-2.6-planetlab.spec
ifeq ($(HOSTARCH),i386)
# CoDemux: Port 80 demux
#
-codemux-MODULE := codemux
-codemux-SPEC := codemux.spec
-#ALL += codemux
+CoDemux-MODULE := CoDemux
+CoDemux-SPEC := codemux.spec
+CoDemux-RPMBUILD := sudo bash ./rpmbuild.sh
+ALL += CoDemux
#
# MySQL
# PlanetLab Mom: Cleans up your mess
#
-MoM-MODULE := MoM
-MoM-SPEC := pl_mom.spec
-ALL += MoM
+Mom-MODULE := Mom
+Mom-SPEC := pl_mom.spec
+ALL += Mom
#
# iptables
# proper and util-vserver both use scripts in util-python for building
# [dhozac] Not anymore. util-vserver uses automake and no longer needs util-python
proper: util-python
+
#util-vserver: util-python
#PlanetLabAuth: util-python
+
+# vsys does not compile when ocaml rpm is installed. Need to fix include path
+# so that it compiles. Sapan will need to fix this.
#
# vsys
#
vsys-MODULE := vsys
vsys-SPEC := vsys.spec
-ALL += vsys
+# ALL += vsys
#
# PLCAPI
# BootCD
#
-BootCD-MODULE := BootCD build bootmanager
-BootCD-SPEC := BootCD.spec
+BootCD-MODULE := BootCD build BootManager
+BootCD-SPEC := bootcd.spec
BootCD-RPMBUILD := sudo bash ./rpmbuild.sh
ALL += BootCD
# BootCD requires current packages
-BootCD: $(filter-out BootCD,$(ALL))
+# BootCD: $(filter-out BootCD,$(ALL))
#
# MyPLC
#
-MyPLC-MODULE := MyPLC build new_plc_www plc/scripts
+MyPLC-MODULE := MyPLC build WWW
MyPLC-SPEC := myplc.spec
# Package must be built as root
MyPLC-RPMBUILD := sudo bash ./rpmbuild.sh
ALL += MyPLC
# MyPLC may require current packages
-MyPLC: $(filter-out MyPLC,$(ALL))
+#MyPLC: $(filter-out MyPLC,$(ALL))
# ...and the yum manifest
MyPLC: RPMS/yumgroups.xml
# MyPLC native
#
-myplc-native-MODULE := MyPLC build plc/scripts
+myplc-native-MODULE := MyPLC build
myplc-native-SPEC := myplc-native.spec
# Package must be built as root
myplc-native-RPMBUILD := sudo bash ./rpmbuild.sh
# MyPLC native
#
-myplc-devel-native-SVNPATH := https://svn.planet-lab.org/svn/MyPLC/trunk
myplc-devel-native-MODULE := MyPLC
myplc-devel-native-SPEC := myplc-devel-native.spec
ALL += myplc-devel-native