mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 12:13:33 +08:00
rename machine-id-main.c tomacht the binary and move main.c to core/
This commit is contained in:
parent
68fb08920b
commit
78a825f216
@ -603,8 +603,8 @@ libsystemd_shared_la_SOURCES = \
|
||||
src/shared/spawn-ask-password-agent.h \
|
||||
src/shared/mount-setup.c \
|
||||
src/shared/mount-setup.h \
|
||||
src/shared/machine-id-setup.c \
|
||||
src/shared/machine-id-setup.h \
|
||||
src/shared/machine-id-util.c \
|
||||
src/shared/machine-id-util.h \
|
||||
src/shared/loopback-setup.h \
|
||||
src/shared/loopback-setup.c \
|
||||
src/shared/specifier.c \
|
||||
@ -815,7 +815,7 @@ libsystemd_core_la_LIBADD = \
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
systemd_SOURCES = \
|
||||
src/main.c
|
||||
src/core/main.c
|
||||
|
||||
systemd_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
@ -979,7 +979,7 @@ systemd_tmpfiles_LDADD = \
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
systemd_machine_id_setup_SOURCES = \
|
||||
src/machine-id-main.c
|
||||
src/machine-id-setup.c
|
||||
|
||||
systemd_machine_id_setup_LDADD = \
|
||||
libsystemd-label.la \
|
||||
|
@ -20,7 +20,7 @@ AC_PREREQ(2.63)
|
||||
|
||||
AC_INIT([systemd],[182],[systemd-devel@lists.freedesktop.org])
|
||||
AC_SUBST(PACKAGE_URL, [http://www.freedesktop.org/wiki/Software/systemd])
|
||||
AC_CONFIG_SRCDIR([src/main.c])
|
||||
AC_CONFIG_SRCDIR([src/core/main.c])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "locale-setup.h"
|
||||
#include "selinux-setup.h"
|
||||
#include "ima-setup.h"
|
||||
#include "machine-id-setup.h"
|
||||
#include "machine-id-util.h"
|
||||
#include "load-fragment.h"
|
||||
#include "fdset.h"
|
||||
#include "special.h"
|
@ -22,7 +22,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "machine-id-setup.h"
|
||||
#include "machine-id-util.h"
|
||||
#include "log.h"
|
||||
|
||||
int main(int argc, char *argv[]) {
|
@ -29,7 +29,7 @@
|
||||
|
||||
#include <systemd/sd-id128.h>
|
||||
|
||||
#include "machine-id-setup.h"
|
||||
#include "machine-id-util.h"
|
||||
#include "macro.h"
|
||||
#include "util.h"
|
||||
#include "mkdir.h"
|
Loading…
Reference in New Issue
Block a user