зеркало из https://github.com/mozilla/pjs.git
Removed hard-coded link line, use the one in rules.mk instead.
This commit is contained in:
Родитель
586f36eca2
Коммит
8e9f576f1f
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче