From: Philipp Takacs Date: Sun, 25 Oct 2015 12:45:42 +0000 (+0100) Subject: add config.o and version.o to libmh.a X-Git-Tag: mmh-0.2-RC1~7^2 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=fd828e57682371471c6dacd11ac389bd745de14b;p=mmh add config.o and version.o to libmh.a Now you can easy link against libmh.a with -lmh --- diff --git a/sbr/Makefile.in b/sbr/Makefile.in index 304b50b..6b4acf1 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 @@ -100,12 +100,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 diff --git a/uip/Makefile.in b/uip/Makefile.in index 8fe7197..84f8535 100644 --- a/uip/Makefile.in +++ b/uip/Makefile.in @@ -22,7 +22,7 @@ INCLUDES = -I$(srcdir) -I$(top_srcdir) -I.. @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ -LOCALLIBS = ../config/version.o ../config/config.o ../sbr/libmh.a +LOCALLIBS = ../sbr/libmh.a LINKLIBS = $(LOCALLIBS) $(LIBS) LINT = @LINT@