X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=zotnet%2FMakefile.in;h=0a75e149b4ef005ea6334a7c2b8d9608de3cef5d;hb=de84e33cbf49bf0e70ad010d58ab9893c5438cff;hp=de661262d1c3f813024cc5554836f6545fedecd0;hpb=d3a67123c9d05b6d639adb0e6b4a874807602a6b;p=mmh diff --git a/zotnet/Makefile.in b/zotnet/Makefile.in index de66126..0a75e14 100644 --- a/zotnet/Makefile.in +++ b/zotnet/Makefile.in @@ -13,6 +13,7 @@ LORDER = @LORDER@ TSORT = @TSORT@ RANLIB = @RANLIB@ LIBTOOL = @LIBTOOL@ +GNU_LIBTOOL = @GNU_LIBTOOL@ # flags passed to recursive makes in subdirectories MAKEDEFS = CC='$(CC)' CPPFLAGS='$(CPPFLAGS)' DEFS='$(DEFS)' \ @@ -23,10 +24,7 @@ mailspool='$(mailspool)' sendmailpath='$(sendmailpath)' \ default_editor='$(default_editor)' default_pager='$(default_pager)' # object files in libzot.a -OBJS = mts/mts.o mts/client.o \ - tws/dtime.o tws/dtimep.o tws/lexstring.o \ - mf/mf.o \ - bboards/getbbent.o +OBJS = mts/mts.o mts/client.o # auxiliary files AUX = Makefile.in @@ -35,7 +33,7 @@ AUX = Makefile.in DIST = $(AUX) # subdirectories -SUBDIRS = mts tws mf bboards +SUBDIRS = mts # ========= DEPENDENCIES FOR BUILDING AND INSTALLING ========== @@ -43,7 +41,7 @@ all: all-recursive libzot.a libzot.a: $(OBJS) rm -f $@ - if test x$(LIBTOOL) != xno ; then \ + if test x$(LIBTOOL) != x -a x$(GNU_LIBTOOL) = x ; then \ $(LIBTOOL) -static -c $(OBJS) -o $@ ; \ else \ ar cr $@ `$(LORDER) $(OBJS) | $(TSORT)` ; \ @@ -87,6 +85,13 @@ mostlyclean-recursive clean-recursive distclean-recursive realclean-recursive su (cd $$subdir && $(MAKE) $(MAKEDEFS) $$target) || exit 1; \ done +# ========== DEPENDENCIES FOR LINT ================= + +lint: + for subdir in $(SUBDIRS) ; do \ + (cd $$subdir && $(MAKE) $(MAKEDEFS) lint) || exit 1; \ + done + # ========== DEPENDENCIES FOR MAINTENANCE ========== subdir = zotnet