From 9e073d0a57652f2568582e156c78194ac1f16bc4 Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Sat, 10 Oct 1998 03:09:15 +0000 Subject: [PATCH] Add pref stuff to makefiles. --- cmd/xfe/XfeWidgets/Makefile | 1 + cmd/xfe/XfeWidgets/Makefile.in | 1 + cmd/xfe/XfeWidgets/XfePref/Makefile.in | 68 ++++++++++++++++++++ cmd/xfe/XfeWidgets/tests/Makefile | 3 +- cmd/xfe/XfeWidgets/tests/Makefile.in | 3 +- cmd/xfe/XfeWidgets/tests/XfePref/Makefile.in | 53 +++++++++++++++ 6 files changed, 127 insertions(+), 2 deletions(-) create mode 100644 cmd/xfe/XfeWidgets/XfePref/Makefile.in create mode 100644 cmd/xfe/XfeWidgets/tests/XfePref/Makefile.in diff --git a/cmd/xfe/XfeWidgets/Makefile b/cmd/xfe/XfeWidgets/Makefile index aff1379ce5dd..5c760d045d9c 100644 --- a/cmd/xfe/XfeWidgets/Makefile +++ b/cmd/xfe/XfeWidgets/Makefile @@ -36,6 +36,7 @@ endif ifdef XFE_WIDGETS_BUILD_UNUSED UNUSED_DIRS = \ XfeCaption \ + XfePref \ $(NULL) endif diff --git a/cmd/xfe/XfeWidgets/Makefile.in b/cmd/xfe/XfeWidgets/Makefile.in index 9e61960380d2..2c1f53318f9f 100644 --- a/cmd/xfe/XfeWidgets/Makefile.in +++ b/cmd/xfe/XfeWidgets/Makefile.in @@ -43,6 +43,7 @@ endif ifdef XFE_WIDGETS_BUILD_UNUSED UNUSED_DIRS = \ XfeCaption \ + XfePref \ $(NULL) endif diff --git a/cmd/xfe/XfeWidgets/XfePref/Makefile.in b/cmd/xfe/XfeWidgets/XfePref/Makefile.in new file mode 100644 index 000000000000..494f335f4412 --- /dev/null +++ b/cmd/xfe/XfeWidgets/XfePref/Makefile.in @@ -0,0 +1,68 @@ +#!gmake +# +# The contents of this file are subject to the Netscape Public License +# Version 1.0 (the "NPL"); you may not use this file except in +# compliance with the NPL. You may obtain a copy of the NPL at +# http://www.mozilla.org/NPL/ +# +# Software distributed under the NPL is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL +# for the specific language governing rights and limitations under the +# NPL. +# +# The Initial Developer of this code under the NPL is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All Rights +# Reserved. + + +########################################################################## +# +# Name: Makefile.in +# Description: Autoconf Makefile.in for XfePref library +# Author: Ramiro Estrugo +# +########################################################################## + +DEPTH = ../../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +# XfeWidgets headers are exported to dist/public/XfePref/Xfe. We use +# the 'Xfe' directory to avoid the hasstle of having to remember yet another +# include prefix. +MODULE = XfePref/Xfe + +LIBRARY_NAME = XfePref + +CSRCS = \ + PrefGroup.c \ + PrefPanel.c \ + PrefPanelInfo.c \ + PrefView.c \ + $(NULL) + +REQUIRES = \ + XfeWidgets \ + XfePref \ + Microline + +EXPORTS = \ + PrefGroup.h \ + PrefGroupP.h \ + PrefItem.h \ + PrefItemP.h \ + PrefPanel.h \ + PrefPanelInfo.h \ + PrefPanelInfoP.h \ + PrefPanelP.h \ + PrefView.h \ + PrefViewP.h \ + $(NULL) + +EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS)) + +include $(topsrcdir)/config/rules.mk diff --git a/cmd/xfe/XfeWidgets/tests/Makefile b/cmd/xfe/XfeWidgets/tests/Makefile index bf06c9fadc1b..13f71665b8e2 100644 --- a/cmd/xfe/XfeWidgets/tests/Makefile +++ b/cmd/xfe/XfeWidgets/tests/Makefile @@ -29,7 +29,7 @@ DEPTH = ../../../.. ifdef XFE_WIDGETS_BUILD_UNUSED UNUSED_DIRS = \ XfeCaption \ - XfeComboBox \ + XfePref \ $(NULL) endif @@ -38,6 +38,7 @@ DIRS = \ XfeBm \ XfeToolBar \ XfeToolTip \ + XfeComboBox \ XmL \ $(UNUSED_DIRS) diff --git a/cmd/xfe/XfeWidgets/tests/Makefile.in b/cmd/xfe/XfeWidgets/tests/Makefile.in index ff5dc3b9ec0a..fbe43cff1028 100644 --- a/cmd/xfe/XfeWidgets/tests/Makefile.in +++ b/cmd/xfe/XfeWidgets/tests/Makefile.in @@ -34,7 +34,7 @@ include $(DEPTH)/config/autoconf.mk ifdef XFE_WIDGETS_BUILD_UNUSED UNUSED_DIRS = \ XfeCaption \ - XfeComboBox \ + XfePref \ $(NULL) endif @@ -43,6 +43,7 @@ DIRS = \ XfeBm \ XfeToolBar \ XfeToolTip \ + XfeComboBox \ XmL \ $(UNUSED_DIRS) diff --git a/cmd/xfe/XfeWidgets/tests/XfePref/Makefile.in b/cmd/xfe/XfeWidgets/tests/XfePref/Makefile.in new file mode 100644 index 000000000000..8345e3a9842f --- /dev/null +++ b/cmd/xfe/XfeWidgets/tests/XfePref/Makefile.in @@ -0,0 +1,53 @@ +#! gmake +# +# The contents of this file are subject to the Netscape Public License +# Version 1.0 (the "NPL"); you may not use this file except in +# compliance with the NPL. You may obtain a copy of the NPL at +# http://www.mozilla.org/NPL/ +# +# Software distributed under the NPL is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL +# for the specific language governing rights and limitations under the +# NPL. +# +# The Initial Developer of this code under the NPL is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All Rights +# Reserved. + + +# + +DEPTH = ../../../../.. +topsrcdir = @top_srcdir@ +srcdir = @srcdir@ +VPATH = @srcdir@ + +include $(DEPTH)/config/autoconf.mk + +CSRCS = \ + PrefGroupTest.c \ + PrefPanelTest.c \ + PrefViewTest.c \ + $(NULL) + +REQUIRES = \ + XfeTest \ + XfePref \ + XfeToolBar \ + XfeComboBox \ + XfeBm \ + XfeWidgets \ + Microline + +STATIC_PROGS = $(addprefix $(OBJDIR)/, $(CSRCS:.c=.static)) +SHARED_PROGS = $(addprefix $(OBJDIR)/, $(CSRCS:.c=.shared)) + +include $(topsrcdir)/config/rules.mk +include $(topsrcdir)/cmd/xfe/XfeWidgets/XfeWidgets.mk + +all:: $(STATIC_PROGS) $(SHARED_PROGS) +install:: $(STATIC_PROGS) $(SHARED_PROGS) + +shared: $(SHARED_PROGS) +static: $(STATIC_PROGS)