Hartmut Brandt
2018-06-27 19:33:09 UTC
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
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