make configsample file under src/lib directory