the example host needs libsndfile. the example host is used in the
regress target but is not packaged. only build the sample host in the regress target and register libsndfile as a REGRESS_DEPENDS.
This commit is contained in:
parent
b61e0a585b
commit
25f62b1a93
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2009/01/29 13:47:41 jakemsr Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2009/02/04 06:39:24 jakemsr Exp $
|
||||
|
||||
COMMENT = audio plugin API
|
||||
|
||||
@ -34,5 +34,6 @@ FAKE_FLAGS = PREFIX="${TRUEPREFIX}"
|
||||
USE_GMAKE = Yes
|
||||
|
||||
REGRESS_TARGET = test
|
||||
REGRESS_DEPENDS = ::audio/libsndfile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-Makefile,v 1.2 2009/01/29 13:47:41 jakemsr Exp $
|
||||
$OpenBSD: patch-Makefile,v 1.3 2009/02/04 06:39:24 jakemsr Exp $
|
||||
--- Makefile.orig Wed Jul 9 03:42:49 2008
|
||||
+++ Makefile Thu Jan 29 05:27:08 2009
|
||||
+++ Makefile Tue Feb 3 14:16:07 2009
|
||||
@@ -28,7 +28,7 @@ default: all
|
||||
|
||||
# Compile flags
|
||||
@ -82,7 +82,7 @@ $OpenBSD: patch-Makefile,v 1.2 2009/01/29 13:47:41 jakemsr Exp $
|
||||
host: $(HOST_TARGET)
|
||||
|
||||
-all: sdk plugins host test
|
||||
+all: sdk plugins host
|
||||
+all: sdk plugins
|
||||
|
||||
$(SDK_STATIC): $(SDK_OBJECTS) $(API_HEADERS) $(SDK_HEADERS)
|
||||
$(AR) r $@ $(SDK_OBJECTS)
|
||||
@ -95,7 +95,13 @@ $OpenBSD: patch-Makefile,v 1.2 2009/01/29 13:47:41 jakemsr Exp $
|
||||
|
||||
clean:
|
||||
rm -f $(SDK_OBJECTS) $(HOSTSDK_OBJECTS) $(PLUGIN_OBJECTS) $(HOST_OBJECTS)
|
||||
@@ -221,6 +221,7 @@ install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC
|
||||
@@ -216,11 +216,12 @@ clean:
|
||||
distclean: clean
|
||||
rm -f $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET) *~ */*~
|
||||
|
||||
-install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET) $(HOST_TARGET)
|
||||
+install: $(SDK_STATIC) $(SDK_DYNAMIC) $(HOSTSDK_STATIC) $(HOSTSDK_DYNAMIC) $(PLUGIN_TARGET)
|
||||
mkdir -p $(DESTDIR)$(INSTALL_API_HEADERS)
|
||||
mkdir -p $(DESTDIR)$(INSTALL_SDK_HEADERS)
|
||||
mkdir -p $(DESTDIR)$(INSTALL_HOSTEXT_HEADERS)
|
||||
mkdir -p $(DESTDIR)$(INSTALL_SDK_LIBS)
|
||||
|
Loading…
Reference in New Issue
Block a user