# so the source rpm is created by running make srpm in the codebase
#
-kernel-MODULES := linux-patches
+kernel-MODULES := linux-2.6
kernel-SPEC := kernel-2.6.spec
kernel-BUILD-FROM-SRPM := yes
ifeq "$(HOSTARCH)" "i386"
#
# vsys
#
-vsys-MODULES := vsys
-vsys-SPEC := vsys.spec
-ifeq "$(DISTRONAME)" "f7"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+vsys_support=yes
+ifeq "$(DISTRONAME)" "fc4"
+vsys_support=
endif
-ifeq "$(DISTRONAME)" "f8"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+ifeq "$(DISTRONAME)" "fc6"
+vsys_support=
endif
+# cannot find the required packages (see devel.pkgs) on centos5
ifeq "$(DISTRONAME)" "centos5"
+vsys_support=
+endif
+
+ifeq "$(vsys_support)" "yes"
+vsys-MODULES := vsys
+vsys-SPEC := vsys.spec
IN_BOOTSTRAPFS += vsys
ALL += vsys
endif
ALL += PLCWWW
IN_MYPLC += PLCWWW
+#
+# monitor
+#
+Monitor-MODULES := Monitor
+Monitor-SPEC := Monitor.spec
+ALL += Monitor
+IN_BOOTSTRAPFS += Monitor
+
#
# nodeconfig
#