makefiles to get alecf's dom viewer to build on windows

This commit is contained in:
sspitzer%netscape.com 1999-09-18 17:02:45 +00:00
Родитель eccfd3a6a9
Коммит 716686a24a
2 изменённых файлов: 82 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,48 @@
#!nmake
#
# 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 = ..\..\..
include <$(DEPTH)/config/config.mak>
MODULE=rdfdomds
LIBNAME=.\$(OBJDIR)\$(MODULE)
DLL=$(LIBNAME).dll
XPIDLSRCS= .\nsIDOMViewerElement.idl \
.\nsIDOMDataSource.idl \
$(NULL)
DIRS=resources
OBJS= .\$(OBJDIR)\nsRDFDOMDataSource.obj \
.\$(OBJDIR)\nsRDFDOMDataSourceFactory.obj \
.\$(OBJDIR)\nsRDFDOMResourceFactory.obj \
$(NULL)
LLIBS= \
$(DIST)\lib\rdfutil_s.lib \
$(DIST)\lib\xpcom.lib \
$(LIBNSPR)
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) $(LIBNAME).$(DLL_SUFFIX) $(DIST)\bin\components
$(MAKE_INSTALL) $(LIBNAME).$(LIB_SUFFIX) $(DIST)\lib
clobber::
rm -rf $(DIST)\bin\components\$(LIBNAME).$(DLL_SUFFIX)
rm -rf $(DIST)\lib\$(LIBNAME).$(LIB_SUFFIX)

Просмотреть файл

@ -0,0 +1,34 @@
#!nmake
#
# 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=..\..\..\..
MODULE=rdfdomds
SAMPLES_DIR = $(DIST)/bin/res/samples/rdf
include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) DOMDataSourceViewer.css $(SAMPLES_DIR)
$(MAKE_INSTALL) DOMDataSourceViewer.js $(SAMPLES_DIR)
$(MAKE_INSTALL) DOMDataSourceViewer.xul $(SAMPLES_DIR)
$(MAKE_INSTALL) DOMTree.xul $(SAMPLES_DIR)
clobber::
rm -f $(SAMPLES_DIR)\DOMDataSourceViewer.css
rm -f $(SAMPLES_DIR)\DOMDataSourceViewer.js
rm -f $(SAMPLES_DIR)\DOMDataSourceViewer.xul
rm -f $(SAMPLES_DIR)\DOMTree.xul