- echo Testing for i386 optimized builds
- echo Host architecture is $(host_arch)
-ifneq (,$(findstring i386,$(host_arch)))
- echo Building CPU-specific i386 flavors
- # Pentium 4
- ${MAKE} clean
- ./configure --prefix=$(DESTDIR-P4)/usr --mandir=$(DESTDIR-P4)/usr/share/man --datadir=$(HELPDIR) --with-ctn --with-mcpu=pentium4
- $(MAKE) all
- ${MAKE} install
- # Athlon
- ${MAKE} clean
- ./configure --prefix=$(DESTDIR-ATHLON)/usr --mandir=$(DESTDIR-ATHLON)/usr/share/man --datadir=$(HELPDIR) --with-ctn --with-mcpu=athlon
- $(MAKE) all
- ${MAKE} install
- dh_installdirs -p $(pkg-p4) $(pixmap-dir)
- dh_installdirs -p $(pkg-athlon) $(pixmap-dir)
- dh_install -p $(pkg-p4) debian/ctsim.xpm $(pixmap-dir)
- dh_install -p $(pkg-athlon) debian/ctsim.xpm $(pixmap-dir)
-endif
- # Add here commands to install the package into debian/ctsim.