makefile question

Hartmut Brandt hartmut.brandt at dlr.de
Wed Jun 27 19:34:28 UTC 2018


Hi,

I'm preparing an update for bsnmp and have the following problem:

In libbsnmp a header file is created during the build process, which
obviously ends up in the object tree. Now I need to include this file
when building the daemon and modules from usr.sbin. I have the feeling
that doing

CFLAGS += -I../../../lib/libbsnmp/libbsnmp

in usr.sbin/bsnmp/bsnmp to reach into the library object directory doesn't 
look right.

Or is this the right way to do this?

harti


More information about the freebsd-hackers mailing list