forked from external/yambar
modules: remove header files
This commit is contained in:
parent
9fa37f0d98
commit
e7e7284cba
23 changed files with 11 additions and 76 deletions
|
@ -1,56 +1,56 @@
|
|||
cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
pkg_check_modules(ALSA REQUIRED alsa)
|
||||
add_library(alsa MODULE alsa/alsa.c alsa/alsa.h)
|
||||
add_library(alsa MODULE alsa/alsa.c)
|
||||
target_compile_options(alsa PRIVATE ${ALSA_CFLAGS_OTHER})
|
||||
target_include_directories(alsa PRIVATE ${ALSA_INCLUDE_DIRS})
|
||||
target_link_libraries(alsa module-sdk ${ALSA_LIBRARIES})
|
||||
|
||||
pkg_check_modules(UDEV REQUIRED libudev)
|
||||
add_library(backlight MODULE backlight/backlight.c backlight/backlight.h)
|
||||
add_library(backlight MODULE backlight/backlight.c)
|
||||
target_compile_options(backlight PRIVATE ${UDEV_CFLAGS_OTHER})
|
||||
target_include_directories(backlight PRIVATE ${UDEV_INCLUDE_DIRS})
|
||||
target_link_libraries(backlight module-sdk ${UDEV_LIBRARIES})
|
||||
|
||||
add_library(battery MODULE battery/battery.c battery/battery.h)
|
||||
add_library(battery MODULE battery/battery.c)
|
||||
target_compile_options(battery PRIVATE ${UDEV_CFLAGS_OTHER})
|
||||
target_include_directories(battery PRIVATE ${UDEV_INCLUDE_DIRS})
|
||||
target_link_libraries(battery module-sdk ${UDEV_LIBRARIES})
|
||||
|
||||
add_library(clock MODULE clock/clock.c clock/clock.h)
|
||||
add_library(clock MODULE clock/clock.c)
|
||||
target_link_libraries(clock module-sdk)
|
||||
|
||||
pkg_check_modules(JSON REQUIRED json-c)
|
||||
add_library(i3 MODULE i3/i3.c i3/i3.h)
|
||||
add_library(i3 MODULE i3/i3.c)
|
||||
target_compile_options(i3 PRIVATE ${JSON_CFLAGS_OTHER})
|
||||
target_include_directories(i3 PRIVATE ${JSON_INCLUDE_DIRS})
|
||||
target_link_libraries(i3 module-sdk ${JSON_LIBRARIES})
|
||||
|
||||
|
||||
add_library(label MODULE label/label.c label/label.h)
|
||||
add_library(label MODULE label/label.c)
|
||||
target_link_libraries(label module-sdk)
|
||||
|
||||
pkg_check_modules(MPD REQUIRED libmpdclient)
|
||||
add_library(mpd MODULE mpd/mpd.c mpd/mpd.h)
|
||||
add_library(mpd MODULE mpd/mpd.c)
|
||||
target_compile_options(mpd PRIVATE ${MPD_CFLAGS_OTHER})
|
||||
target_include_directories(mpd PRIVATE ${MPD_INCLUDE_DIRS})
|
||||
target_link_libraries(mpd module-sdk ${MPD_LIBRARIES})
|
||||
|
||||
add_library(network MODULE network/network.c network/network.h)
|
||||
add_library(network MODULE network/network.c)
|
||||
target_link_libraries(network module-sdk)
|
||||
|
||||
add_library(removables MODULE removables/removables.c removables/removables.h)
|
||||
add_library(removables MODULE removables/removables.c)
|
||||
target_compile_options(removables PRIVATE ${UDEV_CFLAGS_OTHER})
|
||||
target_include_directories(removables PRIVATE ${UDEV_INCLUDE_DIRS})
|
||||
target_link_libraries(removables module-sdk ${UDEV_LIBRARIES})
|
||||
|
||||
pkg_check_modules(XCB_XKB REQUIRED xcb-xkb)
|
||||
add_library(xkb MODULE xkb/xkb.c xkb/xkb.h)
|
||||
add_library(xkb MODULE xkb/xkb.c)
|
||||
target_compile_options(xkb PRIVATE ${XCB_XKB_CFLAGS_OTHER})
|
||||
target_include_directories(xkb PRIVATE ${XCB_XKB_INCLUDE_DIRS})
|
||||
target_link_libraries(xkb module-sdk ${XCB_XKB_LIBRARIES})
|
||||
|
||||
add_library(xwindow MODULE xwindow/xwindow.c xwindow/xwindow.h)
|
||||
add_library(xwindow MODULE xwindow/xwindow.c)
|
||||
target_link_libraries(xwindow module-sdk)
|
||||
|
||||
install(
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#include "alsa.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_alsa;
|
|
@ -1,5 +1,3 @@
|
|||
#include "backlight.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_backlight;
|
|
@ -1,5 +1,3 @@
|
|||
#include "battery.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_battery;
|
|
@ -1,4 +1,3 @@
|
|||
#include "clock.h"
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_clock;
|
|
@ -1,5 +1,3 @@
|
|||
#include "i3.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_i3;
|
|
@ -1,5 +1,3 @@
|
|||
#include "label.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_label;
|
|
@ -1,5 +1,3 @@
|
|||
#include "mpd.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_mpd;
|
|
@ -1,5 +1,3 @@
|
|||
#include "network.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_network;
|
|
@ -1,5 +1,3 @@
|
|||
#include "removables.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_removables;
|
|
@ -1,5 +1,3 @@
|
|||
#include "xkb.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_xkb;
|
|
@ -1,5 +1,3 @@
|
|||
#include "xwindow.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
#include "../../module.h"
|
||||
|
||||
extern const struct module_info module_xwindow;
|
Loading…
Add table
Reference in a new issue