Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 430484
Collapse All | Expand All

(-)systemd-187.orig/Makefile.am (-2 / +2 lines)
Lines 1024-1034 Link Here
1024
BUILT_SOURCES += \
1024
BUILT_SOURCES += \
1025
	src/core/syscall-from-name.h \
1025
	src/core/syscall-from-name.h \
1026
	src/core/syscall-to-name.h
1026
	src/core/syscall-to-name.h
1027
1027
1028
src/core/syscall-list.txt: Makefile
1028
src/core/syscall-list.txt: Makefile
1029
	$(AM_V_GEN)cpp $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/syscall.h < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9]/ { sub(/__NR_/, "", $$2); print $$2; }' > $@
1029
	$(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/syscall.h - < /dev/null | $(AWK) '/^#define[ \t]+__NR_[^ ]+[ \t]+[0-9]/ { sub(/__NR_/, "", $$2); print $$2; }' > $@
1030
1030
1031
src/core/syscall-from-name.gperf: src/core/syscall-list.txt Makefile
1031
src/core/syscall-from-name.gperf: src/core/syscall-list.txt Makefile
1032
	$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct syscall_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, __NR_%s\n", $$1, $$1 }' < $< > $@
1032
	$(AM_V_GEN)$(AWK) 'BEGIN{ print "struct syscall_name { const char* name; int id; };"; print "%null-strings"; print "%%";} { printf "%s, __NR_%s\n", $$1, $$1 }' < $< > $@
1033
1033
1034
src/core/syscall-from-name.h: src/core/syscall-from-name.gperf Makefile
1034
src/core/syscall-from-name.h: src/core/syscall-from-name.gperf Makefile
Lines 3430-3440 Link Here
3430
CLEANFILES += \
3430
CLEANFILES += \
3431
	$(dist_man_MANS) \
3431
	$(dist_man_MANS) \
3432
	${XML_FILES:.xml=.html}
3432
	${XML_FILES:.xml=.html}
3433
endif
3433
endif
3434
3434
3435
DBUS_PREPROCESS = $(CPP) -P $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
3435
DBUS_PREPROCESS = $(CPP) -P $(CFLAGS) $(DBUS_CFLAGS) -imacros dbus/dbus-protocol.h
3436
3436
3437
CLEANFILES += \
3437
CLEANFILES += \
3438
	$(dbusinterface_DATA)
3438
	$(dbusinterface_DATA)
3439
3439
3440
systemd-install-data-hook:
3440
systemd-install-data-hook:

Return to bug 430484