diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-10-17 16:23:46 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-10-17 16:23:46 +0200 |
commit | 113612d5c11d774f806c412b0e8a60ca5dac53f2 (patch) | |
tree | 101c8bf2c5e08bbb0035a6304e742b7af22c3afa /resources | |
parent | b9736f95b64eaef0b0f52278be861f7b899ebda7 (diff) | |
download | messenger-gtk-113612d5c11d774f806c412b0e8a60ca5dac53f2.tar.gz messenger-gtk-113612d5c11d774f806c412b0e8a60ca5dac53f2.zip |
Transition from single makefile to automake
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/.gitignore | 8 | ||||
-rw-r--r-- | resources/Makefile.am | 19 |
2 files changed, 26 insertions, 1 deletions
diff --git a/resources/.gitignore b/resources/.gitignore index db4787e..3efd265 100644 --- a/resources/.gitignore +++ b/resources/.gitignore | |||
@@ -1 +1,7 @@ | |||
1 | *.h \ No newline at end of file | 1 | .deps/ |
2 | |||
3 | *.c | ||
4 | *.h | ||
5 | |||
6 | *.o | ||
7 | *.a | ||
diff --git a/resources/Makefile.am b/resources/Makefile.am new file mode 100644 index 0000000..2280da8 --- /dev/null +++ b/resources/Makefile.am | |||
@@ -0,0 +1,19 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | |||
3 | %.c: %.gresource.xml | ||
4 | glib-compile-resources --sourcedir=$(top_srcdir)/resources $< --generate-source | ||
5 | glib-compile-resources --sourcedir=$(top_srcdir)/resources $< --generate-header | ||
6 | |||
7 | clean-local: | ||
8 | rm css.c css.h | ||
9 | rm ui.c ui.h | ||
10 | |||
11 | AM_CFLAGS = \ | ||
12 | -I$(top_srcdir)/resources \ | ||
13 | @GLIB_CFLAGS@ | ||
14 | |||
15 | lib_LIBRARIES = libresources.a | ||
16 | |||
17 | libresources_a_SOURCES = \ | ||
18 | css.c css.h \ | ||
19 | ui.c ui.h | ||