making libcookie a component, adding tests if ENABLE_TESTS is set

renaming testCookie to TestCookie
This commit is contained in:
andreas.otte%primus-online.de 1999-07-03 08:39:50 +00:00
Родитель d118ec010c
Коммит 6d86d5201e
3 изменённых файлов: 17 добавлений и 8 удалений

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

@ -26,8 +26,7 @@ include $(topsrcdir)/config/config.mk
LIBRARY_NAME = cookie
CSRCS = \
$(NULL)
IS_COMPONENT = 1
CPPSRCS = \
nsCookieService.cpp \
@ -43,15 +42,19 @@ EXPORTS = \
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
ifdef ENABLE_TESTS
DIRS = tests
endif
MODULE = cookie
REQUIRES = js netlib xpcom xppref32 nspr
MKSHLIB :=
# we don't want the shared lib
NO_SHARED_LIB=1
include $(topsrcdir)/config/config.mk
# hack until necko lands
ifndef NECKO
PUBLIC=$(DEPTH)/netwerk/dist/include
endif
include $(topsrcdir)/config/rules.mk

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

@ -1 +1,2 @@
Makefile
TestCookie

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

@ -34,8 +34,13 @@ LIBS = \
$(NSPR_LIBS) \
$(NULL)
PROGRAM = testCookie
PROGRAM = TestCookie
include $(topsrcdir)/config/config.mk
# hack until necko lands
ifndef NECKO
PUBLIC=$(DEPTH)/netwerk/dist/include
endif
include $(topsrcdir)/config/rules.mk