Removed hard-coded link line, use the one in rules.mk instead.

This commit is contained in:
mcafee%netscape.com 1999-01-22 10:03:32 +00:00
Родитель 586f36eca2
Коммит 8e9f576f1f
1 изменённых файлов: 6 добавлений и 22 удалений

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

@ -21,32 +21,16 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = dynamic
CPPSRCS = TestTXMgr.cpp
include $(topsrcdir)/config/rules.mk
INCLUDES += -I$(DIST)/include
EX_LIBS = \
$(DIST)/lib/libraptorbase.$(LIB_SUFFIX) \
$(DIST)/lib/libxpcom.$(LIB_SUFFIX) \
LIBS = \
-lraptorbase \
-lxpcom \
$(NSPR_LIBS) \
$(NULL)
PROGS = $(addprefix $(OBJDIR)/, $(CPPSRCS:.cpp=))
PROGRAM = TestTXMgr
TARGETS = $(PROGS)
ifeq ($(OS_ARCH),Rhapsody)
$(PROGS):$(OBJDIR)/%: $(OBJDIR)/%.o $(EX_LIBS)
@$(MAKE_OBJDIR)
$(CC) -o $@ $@.o $(LDFLAGS) $(EX_LIBS) $(NSPR_LIBS) $(OS_LIBS)
else
$(PROGS):$(OBJDIR)/%: $(OBJDIR)/%.o $(EX_LIBS)
@$(MAKE_OBJDIR)
$(CCC) -o $@ $@.o $(LDFLAGS) $(EX_LIBS) $(NSPR_LIBS) $(OS_LIBS)
endif
install:: $(PROGS)
$(INSTALL) $(PROGS) $(DIST)/bin
include $(topsrcdir)/config/rules.mk