diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-27 21:53:09 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-07-27 21:53:09 -0400 |
commit | 03e85a4099a26df696e389cede290e93bd3aec1f (patch) | |
tree | 35822d010be31a67d2b62aa389092cabfa45d5be | |
parent | a9330854c56ccba7b6ce4bdb046ae7778b329622 (diff) |
split libbasic into src and include
-rw-r--r-- | Makefile.am | 4 | ||||
-rwxr-xr-x | move.sh | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index a36f8b2d5e..c991c78f62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -821,6 +821,8 @@ EXTRA_DIST += \ man/glib-event-glue.c #@src/libbasic/Makefile -------------------------------------------------------- +at.subdirs += src include +#@src/libbasic/src/Makefile noinst_LTLIBRARIES += \ libbasic.la @@ -1365,7 +1367,7 @@ CLEANFILES += \ $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_$(notdir $*) -H hash_$(notdir $*)_name -p -C <$< >$@ -#@src/libbasic/Makefile +#@src/libbasic/include/Makefile src/basic/errno-list.txt: $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include errno.h - </dev/null | $(AWK) '/^#define[ \t]+E[^ _]+[ \t]+/ { print $$2; }' >$@ @@ -20,6 +20,12 @@ move_files() ( mv -T src/{,lib}$d done + mkdir src/libbasic/src + mv src/libbasic/*.c src/libbasic/src/ + mkdir src/libbasic/include + mkdir src/libbasic/include/basic + mv src/libbasic/.gitignore src/libbasic/*.h src/libbasic/include/basic/ + pfix=( dbus1-generator debug-generator |