+ Use libtool instead of ar/ranlib, which correctly handles dependencies

(eg. for parallel makes)
merge-requests/1/head
Ilia Sotnikov 2007-06-12 06:38:58 +00:00
rodzic aa25569539
commit b861ff6af5
2 zmienionych plików z 4 dodań i 6 usunięć

Wyświetl plik

@ -69,9 +69,8 @@ DISTFILES = Makefile.in alloca.c getenv.c getopt.c getopt1.c \
all: $(TARGETS) all: $(TARGETS)
liblib.a: $(LIBLIB_OBJS) liblib.a: $(LIBLIB_LTOBJS)
ar r $@ $(LIBLIB_OBJS) @$(LIBTOOL) $(MLINK) $(CC) $(LIBLIB_LTOBJS) -o $@
$(RANLIB) $@
install: install:

Wyświetl plik

@ -85,9 +85,8 @@ DISTFILES = Makefile.in linux_sg3_err.h os2_srb.h sanei_DomainOS.c \
all: $(TARGETS) all: $(TARGETS)
libsanei.a: $(LIBSANEI_OBJS) libsanei.a: $(LIBSANEI_LTOBJS)
ar r $@ $(LIBSANEI_OBJS) $(LIBTOOL) $(MLINK) $(CC) $(LIBSANEI_LTOBJS) -o $@
$(RANLIB) $@
install: install: