Verified Commit 460c47f0 authored by Max Rees's avatar Max Rees

Add make rules for separate headers

parent 94272e77
......@@ -13,19 +13,23 @@ export LIBAPK_SONAME LIBAPK.SO
##
# Default directories
DESTDIR :=
SBINDIR := /sbin
DESTDIR :=
SBINDIR := /sbin
LIBDIR := /lib
CONFDIR := /etc/apk
INCDIR := /usr/include
CONFDIR := /etc/apk
MANDIR := /usr/share/man
DOCDIR := /usr/share/doc/apk
export DESTDIR SBINDIR LIBDIR CONFDIR MANDIR DOCDIR
export DESTDIR SBINDIR LIBDIR INCDIR CONFDIR MANDIR DOCDIR
##
# Top-level rules and targets
targets := libfetch/ src/
targets := libfetch/ src/
ifneq ($(SHARED_LIBAPK),)
targets += include/
endif
##
# Include all rules and stuff
......
......@@ -63,7 +63,7 @@ install-LIBAPK-y := $(INSTALLDIR) $(DESTDIR)$(LIBDIR) && \
$(DESTDIR)$(LIBDIR)/libapk.so
endif
CFLAGS_ALL += -D_ATFILE_SOURCE -Ilibfetch
CFLAGS_ALL += -D_ATFILE_SOURCE -Ilibfetch -Iinclude
CFLAGS_apk.o := -DAPK_VERSION=\"$(FULL_VERSION)\"
CFLAGS_apk-static.o := -DAPK_VERSION=\"$(FULL_VERSION)\" -DOPENSSL_NO_ENGINE
CFLAGS_apk-test.o := -DAPK_VERSION=\"$(FULL_VERSION)\" -DOPENSSL_NO_ENGINE -DTEST_MODE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment