From 450a2a0f9ce2443bc06445ee018c9860d8cd5fc8 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Wed, 6 May 2020 18:40:06 +0300 Subject: Build: Switch to CMake :^) Closes https://github.com/SerenityOS/serenity/issues/2080 --- Libraries/LibPCIDB/CMakeLists.txt | 6 ++++++ Libraries/LibPCIDB/Makefile | 11 ----------- 2 files changed, 6 insertions(+), 11 deletions(-) create mode 100644 Libraries/LibPCIDB/CMakeLists.txt delete mode 100644 Libraries/LibPCIDB/Makefile (limited to 'Libraries/LibPCIDB') diff --git a/Libraries/LibPCIDB/CMakeLists.txt b/Libraries/LibPCIDB/CMakeLists.txt new file mode 100644 index 0000000000..07dd0a2f08 --- /dev/null +++ b/Libraries/LibPCIDB/CMakeLists.txt @@ -0,0 +1,6 @@ +set(SOURCES + Database.cpp +) + +serenity_lib(LibPCIDB pcidb) +target_link_libraries(LibPCIDB LibC) diff --git a/Libraries/LibPCIDB/Makefile b/Libraries/LibPCIDB/Makefile deleted file mode 100644 index 9f8c27f86b..0000000000 --- a/Libraries/LibPCIDB/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -OBJS = \ - Database.o - -LIBRARY = libpcidb.a - -install: - mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibPCIDB/ - cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibPCIDB/ - cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/ - -include ../../Makefile.common -- cgit v1.2.3