X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2FMakefile.in;h=51049c70d186ef9ab21097f0fb19470483cddcba;hp=304b50b07cf6ffa2e8f3cc3c95f6c97f48a495b2;hb=d5d94ce76327869346e2b02b7b02a3620ddd38eb;hpb=0595979e1f0514b3da28762f336b3b9ac9eec5c5 diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 304b50b..51049c7 100644 --- a/sbr/Makefile.in +++ b/sbr/Makefile.in @@ -33,7 +33,7 @@ LINTFLAGS = @LINTFLAGS@ COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CFLAGS) - +LOCALLIBS = ../config/version.o ../config/config.o .SUFFIXES: .SUFFIXES: .c .o @@ -74,12 +74,6 @@ SRCS = addrsbr.c ambigsw.c brkstring.c \ OBJS = $(SRCS:.c=.o) -# auxiliary files -AUX = Makefile.in sigmsg.awk dtimep.lex - -# all files in this directory included in the distribution -DIST = $(SRCS) $(AUX) - # ========= DEPENDENCIES FOR BUILDING ========== # default target @@ -100,12 +94,12 @@ dtimep.c: dtimep.lex pidstatus.o: sigmsg.h -libmh.a: $(OBJS) +libmh.a: $(OBJS) $(LOCALLIBS) rm -f $@ if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ - $(LIBTOOL) -static -c -o libmh.a $(OBJS) ; \ + $(LIBTOOL) -static -c -o libmh.a $(OBJS) $(LOCALLIBS) ; \ else \ - ar cr libmh.a `$(LORDER) $(OBJS) | $(TSORT) 2>/dev/null` ; \ + ar cr libmh.a `$(LORDER) $(OBJS) $(LOCALLIBS) | $(TSORT) 2>/dev/null` ; \ $(RANLIB) libmh.a ; \ fi @@ -135,10 +129,3 @@ subdir = sbr Makefile: Makefile.in ../config.status cd .. && ./config.status $(subdir)/$@ -distdir = ../`cat ../distname`/$(subdir) -mmhdist: $(DIST) - @echo "Copying distribution files in $(subdir)" - @for file in $(DIST); do \ - cp -p $(srcdir)/$$file $(distdir); \ - done -