summaryrefslogtreecommitdiffstats
path: root/include/public/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'include/public/Makefile')
-rw-r--r--include/public/Makefile59
1 files changed, 59 insertions, 0 deletions
diff --git a/include/public/Makefile b/include/public/Makefile
new file mode 100644
index 00000000..9d291cae
--- /dev/null
+++ b/include/public/Makefile
@@ -0,0 +1,59 @@
+#
+# BEGIN COPYRIGHT BLOCK
+# Copyright 2001 Sun Microsystems, Inc.
+# Portions copyright 1999, 2001-2003 Netscape Communications Corporation.
+# All rights reserved.
+# END COPYRIGHT BLOCK
+#
+# Makefile for netsite.h
+
+MCOM_ROOT = ../../..
+MODULE=netsiteInclude
+
+include ../../nsdefs.mk
+
+HDRDEST=$(OBJDIR)/include
+
+PREFIX=../copyrght.h
+
+
+NOSTDSTRIP=true
+NOSTDDEPEND=true
+
+HDRS=netsite.h nsapi.h
+
+BINS=$(addprefix $(HDRDEST)/,$(HDRS))
+
+all: stuff
+
+strip:
+depend:
+
+include ../../nsconfig.mk
+
+ifeq ($(NSAPI_CAPABLE), true)
+
+stuff: $(HDRDEST) $(BINS) sub-hdrs
+
+$(HDRDEST):
+ mkdir -p $(HDRDEST)
+
+ifeq ($(PRODUCT), "Netscape Proxy Server")
+sub-hdrs:
+ cd base; $(MAKE) $(MAKEFLAGS)
+ cd frame; $(MAKE) $(MAKEFLAGS)
+ cd libproxy; $(MAKE) $(MAKEFLAGS)
+else
+sub-hdrs:
+ cd base; $(MAKE) $(MAKEFLAGS)
+ cd frame; $(MAKE) $(MAKEFLAGS)
+ cd nsacl; $(MAKE) $(MAKEFLAGS)
+endif
+
+$(HDRDEST)/%.h: %.h
+ cat $(PREFIX) $< > $(HDRDEST)/$*.h
+
+else
+stuff:
+
+endif