mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
build: ensure libnm-core is around before mkenums puts files there
It's not sufficient to make nm-core-enum-types.[ch] depend on the dirstamp, because they also depend on their own stamps that are to be placed in libnm-core. $ make libnm-core/nm-core-enum-types.h.stamp GEN libnm-core/nm-core-enum-types.h /bin/sh: libnm-core/nm-core-enum-types.h.tmp: No such file or directory ../../Makefile.glib:107: recipe for target 'libnm-core/nm-core-enum-types.h.stamp' failed make: *** [libnm-core/nm-core-enum-types.h.stamp] Error 1
This commit is contained in:
parent
e832461c0e
commit
96571ec621
|
@ -517,8 +517,8 @@ nm_core_enum_types_sources = $(libnm_core_lib_h_pub_real)
|
|||
|
||||
nm_core_enum_types_MKENUMS_C_FLAGS = --identifier-prefix NM --fhead '\#include "nm-default.h"\n'
|
||||
|
||||
$(libnm_core_lib_h_pub_mkenums): libnm-core/.dirstamp
|
||||
$(libnm_core_lib_c_mkenums): libnm-core/.dirstamp
|
||||
libnm-core/nm-core-enum-types.h.stamp: libnm-core/.dirstamp
|
||||
libnm-core/nm-core-enum-types.c.stamp: libnm-core/.dirstamp
|
||||
|
||||
$(dispatcher_libnm_dispatcher_core_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
|
||||
$(dispatcher_nm_dispatcher_OBJECTS): $(libnm_core_lib_h_pub_mkenums)
|
||||
|
|
Loading…
Reference in a new issue