pkg := ctsim
pkg-p4 := ctsim-pentium4
-pkg-p := ctsim-pentium
+pkg-p3 := ctsim-pentium3
pkg-athlon := ctsim-athlon
pkg-athlon-mp := ctsim-athlon-mp
pkg-help := ctsim-help
prefix := debian/$(pkg)
prefix-p4 := debian/$(pkg-p4)
-prefix-p := debian/$(pkg-p)
+prefix-p3 := debian/$(pkg-p3)
prefix-athlon := debian/$(pkg-athlon)
prefix-athlon-mp:= debian/$(pkg-athlon-mp)
prefix-help := debian/$(pkg-help)
DESTDIR := `pwd`/$(prefix)
DESTDIR-P4 := `pwd`/$(prefix-p4)
-DESTDIR-P := `pwd`/$(prefix-p)
+DESTDIR-P3 := `pwd`/$(prefix-p3)
DESTDIR-ATHLON := `pwd`/$(prefix-athlon)
DESTDIR-ATHLON-MP := `pwd`/$(prefix-athlon-mp)
HELPDIR := `pwd`/$(prefix-help)/$(ctsim-shared)
echo Host architecture is $(host_arch)
ifneq (,$(findstring i386,$(host_arch)))
# Building CPU-specific i386 flavors
- # Pentium
+ # Pentium 3
${MAKE} clean
- ./configure --prefix=$(DESTDIR-P)/usr --mandir=$(DESTDIR-P)/usr/share/man --datadir=$(HELPDIR) --with-ctn --with-mcpu=pentium
+ ./configure --prefix=$(DESTDIR-P3)/usr --mandir=$(DESTDIR-P3)/usr/share/man --datadir=$(HELPDIR) --with-ctn --with-mcpu=pentium3
$(MAKE) all
${MAKE} install
# Pentium 4