Adding pure target to run purify (Solaris)

This commit is contained in:
mcafee%netscape.com 1999-01-27 07:17:32 +00:00
Родитель 9a905477aa
Коммит c9e9df3419
1 изменённых файлов: 11 добавлений и 0 удалений

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

@ -404,6 +404,17 @@ else
$(CCF) -o $@ $^ $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS)
endif
#
# Purify target. Solaris/sparc only to start.
# Purify does not recognize "egcs" or "c++" so we go with
# "gcc" and "g++" for now.
#
pure: $(PROGRAM)
ifdef CPP_PROG_LINK
$(PURIFY) g++ $(CFLAGS) -o $^.pure $(PROGOBJS) $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS)
else
$(PURIFY) $(CCF) -o $^.pure $(PROGOBJS) $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS)
endif
ifneq ($(OS_ARCH),OS2)