Linking against libprinttransportaddon.a don't include the mandatory init/exit_transport symbols as

the add-on didn't explicitly reference them.
Switch to simply link against PrintTransportAddOn.o instead.
Rename multiple print_transport.cpp into add-on main class name.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8550 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2004-08-11 08:53:41 +00:00
parent 653ca662b0
commit 8473eaa54c
3 changed files with 12 additions and 9 deletions

View File

@ -1,14 +1,15 @@
SubDir OBOS_TOP src add-ons print transports parallel_port ;
SubDirHdrs [ FDirName $(OBOS_TOP) src add-ons print transports shared ] ;
UsePrivateHeaders interface print ;
Addon Parallel\ Port : Print transport :
print_transport.cpp
ParallelTransport.cpp
PrintTransportAddOn.o
;
LinkSharedOSLibs Parallel\ Port : be libprinttransportaddon.a ;
ObjectReferences <src!add-ons!print!shared>PrintTransportAddOn.o ;
LinkSharedOSLibs Parallel\ Port : be ;
Package haiku-printingkit-cvs :
Parallel\ Port :

View File

@ -1,14 +1,15 @@
SubDir OBOS_TOP src add-ons print transports serial_port ;
SubDirHdrs [ FDirName $(OBOS_TOP) src add-ons print transports shared ] ;
UsePrivateHeaders interface print ;
Addon Serial\ Port : Print transport :
print_transport.cpp
SerialTransport.cpp
PrintTransportAddOn.o
;
LinkSharedOSLibs Serial\ Port : be libprinttransportaddon.a ;
ObjectReferences <src!add-ons!print!shared>PrintTransportAddOn.o ;
LinkSharedOSLibs Serial\ Port : be ;
Package haiku-printingkit-cvs :
Serial\ Port :

View File

@ -1,14 +1,15 @@
SubDir OBOS_TOP src add-ons print transports usb_port ;
SubDirHdrs [ FDirName $(OBOS_TOP) src add-ons print transports shared ] ;
UsePrivateHeaders interface print ;
Addon USB\ Port : Print transport :
print_transport.cpp
USBTransport.cpp
PrintTransportAddOn.o
;
LinkSharedOSLibs USB\ Port : be libprinttransportaddon.a ;
ObjectReferences <src!add-ons!print!shared>PrintTransportAddOn.o ;
LinkSharedOSLibs USB\ Port : be ;
Package haiku-printingkit-cvs :
USB\ Port :