aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-30 11:07:43 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-30 11:07:43 +0000
commit541b3256968eae128abd35e762f3e3a81885fa7c (patch)
treee572a72530d42d6914f4505bf670c26c26e4c017 /Makefile
parentd7633e83ce20d38324e6f724887344236d354ecd (diff)
downloadsmtpd-starttls-proxy-541b3256968eae128abd35e762f3e3a81885fa7c.tar.gz
Start some new work
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a8af4b4..4562eb1 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ PC_TARGETS :=
LIB_DEFS :=
BIN_SYMLINKS :=
TEST_BINS :=
+EXTRA_INSTALL :=
-include config.mak
include package/targets.mak
@@ -42,6 +43,7 @@ endif
lib$(2).pc:
exec env \
+ prefix="$(prefix)" \
library="$(2)" \
includedir="$(includedir)" \
dynlibdir="$(dynlibdir)" \
@@ -123,7 +125,7 @@ ifneq ($(strip $(ALL_BINS)$(SHARED_LIBS)),)
exec $(STRIP) -R .note -R .comment $(ALL_BINS) $(SHARED_LIBS)
endif
-install: install-dynlib install-libexec install-bin install-symlinks install-lib install-include install-pkgconfig
+install: install-dynlib install-libexec install-bin install-symlinks install-lib install-include install-pkgconfig $(EXTRA_INSTALL)
install-dynlib: $(SHARED_LIBS:lib%.$(SHLIB_EXT).xyzzy=$(DESTDIR)$(dynlibdir)/lib%.$(SHLIB_EXT))
install-libexec: $(LIBEXEC_TARGETS:%=$(DESTDIR)$(libexecdir)/%)
install-bin: $(BIN_TARGETS:%=$(DESTDIR)$(bindir)/%)