Commit 84f1cedc authored by cls%seawood.org's avatar cls%seawood.org
Browse files

AUTOCONF_1_0 landing.

parent ed605f9f
Loading
Loading
Loading
Loading

base/Makefile.in

0 → 100644
+33 −0
Original line number Diff line number Diff line
#!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@
VPATH		= @srcdir@
srcdir		= @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS = public src

ifdef ENABLE_TESTS
DIRS += tests
endif

include $(topsrcdir)/config/config.mk

include $(topsrcdir)/config/rules.mk
+37 −0
Original line number Diff line number Diff line
#!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

DEFINES = -D_IMPL_NS_BASE

EXPORTS =		\
    nsISizeOfHandler.h	\
    $(NULL)

EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))

MODULE = raptor

include $(topsrcdir)/config/config.mk

include $(topsrcdir)/config/rules.mk

base/src/Makefile.in

0 → 100644
+77 −0
Original line number Diff line number Diff line
#!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@
VPATH		= @srcdir@
srcdir		= @srcdir@

include $(DEPTH)/config/autoconf.mk

DEFINES =-D_IMPL_NS_BASE

DIRS = unix

LIBRARY_NAME = raptorbase

CPPSRCS =                       \
    nsArena.cpp                 \
    nsAtomTable.cpp             \
    nsBTree.cpp                 \
    nsByteBuffer.cpp            \
    nsCRT.cpp                   \
    nsDeque.cpp                 \
    nsRBTree.cpp                \
    nsSizeOfHandler.cpp                \
    nsString.cpp                \
    nsUnicharBuffer.cpp         \
    nsUnicharInputStream.cpp    \
    nsVoidArray.cpp             \
    $(NULL)

EXPORTS =                       \
    nscore.h                    \
    nsBTree.h                   \
    nsCRT.h                     \
    nsDeque.h                   \
    nsIArena.h                  \
    nsIAtom.h                   \
    nsIByteBuffer.h             \
    nsIBaseStream.h             \
    nsIInputStream.h            \
    nsIOutputStream.h           \
    nsITimer.h                  \
    nsITimerCallback.h          \
    nsIUnicharBuffer.h          \
    nsIUnicharInputStream.h     \
    nsRBTree.h                  \
    nsString.h                  \
    nsVoidArray.h               \
    nsUnitConversion.h          \
    $(NULL)

EXPORTS         := $(addprefix $(srcdir)/, $(EXPORTS))

MODULE = raptor

REQUIRES = xpcom netlib raptor

include $(topsrcdir)/config/config.mk

TARGET = $(LIBARY)

include $(topsrcdir)/config/rules.mk
+47 −0
Original line number Diff line number Diff line
#!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

LIBRARY_NAME = gmbaseunix

MODULE=raptor

REQUIRES=xpcom raptor 

DEFINES = -D_IMPL_NS_WIDGET 

CPPSRCS= \
	nsTimer.cpp 

CPP_OBJS=				\
 ./$(OBJDIR)/nsTimer.o		\
 $(NULL)

include $(topsrcdir)/config/config.mk

TARGETS = $(LIBRARY)

include $(topsrcdir)/config/rules.mk

base/tests/Makefile.in

0 → 100644
+67 −0
Original line number Diff line number Diff line
#!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@
VPATH		= @srcdir@
srcdir		= @srcdir@

include $(DEPTH)/config/autoconf.mk

REQUIRES=xpcom netlib

include $(topsrcdir)/config/config.mk

CPPSRCS = \
	TestAtoms.cpp	\
	TestCRT.cpp	\
	$(NULL)

INCLUDES+=-I$(srcdir)/../src 

OBJS	= $(CPPSRCS:.cpp=.o)

EX_LIBS = \
	$(DIST)/lib/libraptorbase.a \
	$(DIST)/lib/libxpcom.a  \
	$(DIST)/lib/libplc21.a	\
	$(DIST)/lib/libplds21.a	\
	$(DIST)/lib/libnspr21.a	\
	$(NULL)

PROGS	= $(addprefix $(OBJDIR)/, $(CPPSRCS:.cpp=))

TARGETS = $(PROGS)

include $(topsrcdir)/config/rules.mk

# needed for mac linux
ifeq (linux,$(ARCH))
OS_LIBS += /usr/lib/libdl.so
endif

$(OBJDIR)/%.o: %.cpp
	@$(MAKE_OBJDIR)
	$(CCC) -o $@ $(CFLAGS) -c $<

$(PROGS):$(OBJDIR)/%: $(OBJDIR)/%.o $(EX_LIBS)
	@$(MAKE_OBJDIR)
	$(CCC) -o $@ $@.o $(LDFLAGS) $(EX_LIBS) $(OS_LIBS)

install:: $(TARGETS)
	$(INSTALL) $(PROGS) $(DIST)/bin
Loading