projects
/
apple
/
libresolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
32f3686
)
libresolv-41.tar.gz
mac-os-x-1064
mac-os-x-1065
mac-os-x-1066
mac-os-x-1067
mac-os-x-1068
v41
author
Apple
<opensource@apple.com>
Tue, 19 Jan 2010 22:53:53 +0000
(22:53 +0000)
committer
Apple
<opensource@apple.com>
Tue, 19 Jan 2010 22:53:53 +0000
(22:53 +0000)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 768c5b7f3d5a2ccb9d514771ca6441911fb8e96c..0c4194244ba741b96d5b27423674e50a74ae5de2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-37,6
+37,8
@@
PLUGIN_DEST = $(DSTROOT)/$(DESTDIR)usr/lib/info
build:: dns.so
build:: dns.so
+_installhdrs:: _symlink_hdrs
+
dns.so: dns_plugin.c
$(CC) -c $(CFLAGS) dns_plugin.c
$(CC) $(PLUGIN_CC_Flags) $(LDFLAGS) $(PLUGIN_LD_Flags) -o $(SYMROOT)/dns.so dns_plugin.o
dns.so: dns_plugin.c
$(CC) -c $(CFLAGS) dns_plugin.c
$(CC) $(PLUGIN_CC_Flags) $(LDFLAGS) $(PLUGIN_LD_Flags) -o $(SYMROOT)/dns.so dns_plugin.o
@@
-45,6
+47,10
@@
dns.so: dns_plugin.c
$(INSTALL_LIBRARY) $(SYMROOT)/dns.so $(PLUGIN_DEST)
$(STRIP) -S $(PLUGIN_DEST)/dns.so
$(INSTALL_LIBRARY) $(SYMROOT)/dns.so $(PLUGIN_DEST)
$(STRIP) -S $(PLUGIN_DEST)/dns.so
+_symlink_hdrs:
+ $(INSTALL_DIRECTORY) $(DSTROOT)/usr/include/arpa
+ $(LN) -sf ../nameser.h $(DSTROOT)/usr/include/arpa
+
after_install:
$(INSTALL_DIRECTORY) $(DSTROOT)/usr/include/arpa
$(LN) -sf ../nameser.h $(DSTROOT)/usr/include/arpa
after_install:
$(INSTALL_DIRECTORY) $(DSTROOT)/usr/include/arpa
$(LN) -sf ../nameser.h $(DSTROOT)/usr/include/arpa