summaryrefslogtreecommitdiff
path: root/project/common.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-14 17:27:53 -0500
committermidipix <writeonce@midipix.org>2016-11-14 17:27:53 -0500
commit3599b71ac1294b8785f21dcde358627c43bb60f4 (patch)
tree7dff0d1212757f2375c50817ae4a3c68d4f2adeb /project/common.mk
parent1e45f08ff223383c66a2b7f4f1e9913cb973be6f (diff)
downloadslibtool-3599b71ac1294b8785f21dcde358627c43bb60f4.tar.bz2
slibtool-3599b71ac1294b8785f21dcde358627c43bb60f4.tar.xz
project: common.mk: code maintenance.
Diffstat (limited to 'project/common.mk')
-rw-r--r--project/common.mk14
1 files changed, 9 insertions, 5 deletions
diff --git a/project/common.mk b/project/common.mk
index 240ec7d..d8eca7c 100644
--- a/project/common.mk
+++ b/project/common.mk
@@ -1,8 +1,4 @@
-COMMON_SRCS = \
- src/internal/slibtool_errinfo_impl.c \
- src/internal/slibtool_libmeta_impl.c \
- src/internal/slibtool_objmeta_impl.c \
- src/internal/slibtool_symlink_impl.c \
+API_SRCS = \
src/driver/slbt_amain.c \
src/driver/slbt_driver_ctx.c \
src/helper/slbt_archive_import.c \
@@ -21,5 +17,13 @@ COMMON_SRCS = \
src/skin/slbt_skin_install.c \
src/skin/slbt_skin_uninstall.c \
+INTERNAL_SRCS = \
+ src/internal/$(PACKAGE)_errinfo_impl.c \
+ src/internal/$(PACKAGE)_libmeta_impl.c \
+ src/internal/$(PACKAGE)_objmeta_impl.c \
+ src/internal/$(PACKAGE)_symlink_impl.c \
+
APP_SRCS = \
src/slibtool.c
+
+COMMON_SRCS = $(API_SRCS) $(INTERNAL_SRCS)