⛏️ index : haiku.git

SubDir HAIKU_TOP src libs linprog ;

SetSubDirSupportedPlatforms haiku haiku_host libbe_test ;

UseLibraryHeaders linprog ;
UsePrivateHeaders shared ;


local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
	on $(architectureObject) {
		# Applications linking against libalm.so expect to find the liblinprog symbols there.
		# So, keep all the symbols exported for the time being.
		NO_HIDDEN_VISIBILITY on [ MultiArchDefaultGristFiles liblinprog.a ] = 1 ;

		StaticLibrary [ MultiArchDefaultGristFiles liblinprog.a ] :
			ActiveSetSolver.cpp
			Constraint.cpp
			LayoutOptimizer.cpp
			LinearSpec.cpp
			Summand.cpp
			Variable.cpp
			;
	}
}