head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.36 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.34 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.32 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.30 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.28 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.26 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.24 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.22 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.20 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.18 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.16 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.14 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.12 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.10 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.8 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.6 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.4 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.2 pkgsrc-2021Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2021.11.15.10.08.17; author schmonz; state Exp; branches; next ; commitid oRyphwPsiJ13nSgD; desc @@ 1.1 log @Add ucspi-udp, a set of command-line tools for building UDP-based client/server applications. They are derived from Dan Bernstein's ucspi-tcp 0.88. @ text @$NetBSD$ DESTDIR support. --- Makefile.orig 2016-03-29 19:44:38.000000000 +0000 +++ Makefile @@@@ -21,6 +21,14 @@@@ auto-str.o: \ compile auto-str.c buffer.h readwrite.h exit.h ./compile auto-str.c +auto_destdir.c: \ +auto-str conf-destdir + ./auto-str auto_home `head -1 conf-destdir` > auto_destdir.c + +auto_destdir.o: \ +compile auto_destdir.c + ./compile auto_destdir.c + auto_home.c: \ auto-str conf-home ./auto-str auto_home `head -1 conf-home` > auto_home.c @@@@ -302,16 +310,16 @@@@ compile hier.c auto_home.h ./compile hier.c install: \ -load install.o hier.o auto_home.o unix.a byte.a - ./load install hier.o auto_home.o unix.a byte.a +load install.o hier.o auto_destdir.o unix.a byte.a + ./load install hier.o auto_destdir.o unix.a byte.a install.o: \ compile install.c buffer.h strerr.h error.h open.h readwrite.h exit.h ./compile install.c instcheck: \ -load instcheck.o hier.o auto_home.o unix.a byte.a - ./load instcheck hier.o auto_home.o unix.a byte.a +load instcheck.o hier.o auto_destdir.o unix.a byte.a + ./load instcheck hier.o auto_destdir.o unix.a byte.a instcheck.o: \ compile instcheck.c strerr.h error.h readwrite.h exit.h @