1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 CFLAGS += -D__EXPORTED_HEADERS__ -I../../../in 2 CFLAGS += -D__EXPORTED_HEADERS__ -I../../../include/uapi -I../../../include 3 3 4 TARGET = dbc_library.so 4 TARGET = dbc_library.so 5 5 6 all: $(TARGET) 6 all: $(TARGET) 7 7 8 dbc_library.so: dbc.c 8 dbc_library.so: dbc.c 9 $(CC) $(CFLAGS) $(LDFLAGS) -shared -o 9 $(CC) $(CFLAGS) $(LDFLAGS) -shared -o $@ $< 10 chmod -x $@ 10 chmod -x $@ 11 11 12 clean: 12 clean: 13 $(RM) $(TARGET) 13 $(RM) $(TARGET)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.