Print this page
OS-2051 serial console login should set TERM appropriately


 275 TARGETS = \
 276         bootparams \
 277         diskinfo \
 278         disklayout \
 279         disklist \
 280         disk_size \
 281         mkzpool \
 282         removable_disk \
 283         vmunbundle \
 284         zfs_recv \
 285         zfs_send \
 286         zoneevent \
 287         $(EXPAT.NODE) \
 288         $(DTRACE_PROVIDER.NODE) \
 289         $(KSTAT.NODE) \
 290         $(SYSLOG.NODE) \
 291         $(SQLITE3_BINDINGS.NODE) \
 292         $(ZSOCK_BINDINGS.NODE) \
 293         $(ZUTIL_BINDINGS.NODE)
 294 



 295 SMARTDC_TARGETS = \
 296         qemu-exec
 297 
 298 SMARTDC_LIB_TARGETS = \
 299         sdc-on-tty
 300 
 301 all: $(TARGETS) sysinfo $(SMARTDC_TARGETS) $(SMARTDC_LIB_TARGETS)

 302 
 303 install: all
 304         mkdir -p $(DESTDIR)/usr/bin
 305         cp -p $(TARGETS) sysinfo $(DESTDIR)/usr/bin

 306         mkdir -p $(DESTDIR)/smartdc/bin
 307         cp -p $(SMARTDC_TARGETS) $(DESTDIR)/smartdc/bin
 308         mkdir -p $(DESTDIR)/smartdc/lib
 309         cp -p $(SMARTDC_LIB_TARGETS) $(DESTDIR)/smartdc/lib
 310         mkdir -m 0755 -p $(PREFIX_NODE)/node_modules
 311         cp -Pr node_modules/* $(PREFIX_NODE)/node_modules
 312         cp $(KSTAT.NODE) $(PREFIX_NODE)/node_modules/
 313         rm -rf $(DESTDIR)/usr/vm
 314         cp -PR vm $(DESTDIR)/usr/
 315         mkdir -m 0755 -p $(DESTDIR)/usr/vm/node_modules
 316         mkdir -p $(PREFIX_NODE)/node_modules/{zsock,zutil}/build/Release
 317         mkdir -p $(DESTDIR)/usr/vm/test/tests
 318         cp -Pr vm/common $(DESTDIR)/usr/vm/test/
 319         cp -Pr vm/node-tap $(DESTDIR)/usr/vm/test/
 320         cp -Pr vm/tests $(DESTDIR)/usr/vm/test/
 321         cp vm/runtest $(DESTDIR)/usr/vm/test/
 322         cp vm/runtests $(DESTDIR)/usr/vm/test/
 323         cp -Pr node-zsock/{package.json,lib} \
 324             $(PREFIX_NODE)/node_modules/zsock
 325         cp -Pr node-zutil/{package.json,lib} \




 275 TARGETS = \
 276         bootparams \
 277         diskinfo \
 278         disklayout \
 279         disklist \
 280         disk_size \
 281         mkzpool \
 282         removable_disk \
 283         vmunbundle \
 284         zfs_recv \
 285         zfs_send \
 286         zoneevent \
 287         $(EXPAT.NODE) \
 288         $(DTRACE_PROVIDER.NODE) \
 289         $(KSTAT.NODE) \
 290         $(SYSLOG.NODE) \
 291         $(SQLITE3_BINDINGS.NODE) \
 292         $(ZSOCK_BINDINGS.NODE) \
 293         $(ZUTIL_BINDINGS.NODE)
 294 
 295 USR_LIB_TARGETS = \
 296         measure_terminal
 297 
 298 SMARTDC_TARGETS = \
 299         qemu-exec
 300 
 301 SMARTDC_LIB_TARGETS = \
 302         sdc-on-tty
 303 
 304 all: $(TARGETS) $(USR_LIB_TARGETS) sysinfo $(SMARTDC_TARGETS) \
 305         $(SMARTDC_LIB_TARGETS)
 306 
 307 install: all
 308         mkdir -p $(DESTDIR)/usr/bin
 309         cp -p $(TARGETS) sysinfo $(DESTDIR)/usr/bin
 310         cp -p $(USR_LIB_TARGETS) sysinfo $(DESTDIR)/usr/lib
 311         mkdir -p $(DESTDIR)/smartdc/bin
 312         cp -p $(SMARTDC_TARGETS) $(DESTDIR)/smartdc/bin
 313         mkdir -p $(DESTDIR)/smartdc/lib
 314         cp -p $(SMARTDC_LIB_TARGETS) $(DESTDIR)/smartdc/lib
 315         mkdir -m 0755 -p $(PREFIX_NODE)/node_modules
 316         cp -Pr node_modules/* $(PREFIX_NODE)/node_modules
 317         cp $(KSTAT.NODE) $(PREFIX_NODE)/node_modules/
 318         rm -rf $(DESTDIR)/usr/vm
 319         cp -PR vm $(DESTDIR)/usr/
 320         mkdir -m 0755 -p $(DESTDIR)/usr/vm/node_modules
 321         mkdir -p $(PREFIX_NODE)/node_modules/{zsock,zutil}/build/Release
 322         mkdir -p $(DESTDIR)/usr/vm/test/tests
 323         cp -Pr vm/common $(DESTDIR)/usr/vm/test/
 324         cp -Pr vm/node-tap $(DESTDIR)/usr/vm/test/
 325         cp -Pr vm/tests $(DESTDIR)/usr/vm/test/
 326         cp vm/runtest $(DESTDIR)/usr/vm/test/
 327         cp vm/runtests $(DESTDIR)/usr/vm/test/
 328         cp -Pr node-zsock/{package.json,lib} \
 329             $(PREFIX_NODE)/node_modules/zsock
 330         cp -Pr node-zutil/{package.json,lib} \