3 include $(top_srcdir)/Makefile-head.am
5 AUTOMAKE_OPTIONS = dist-tarZ
6 SUBDIRS = macros intl . po
7 ## to automatically rebuild aclocal.m4 if any of the macros in
9 @MAINT@include macros/macros.dep
10 @MAINT@macros/macros.dep: macros/Makefile.am
11 @MAINT@ cd macros && $(MAKE) macros.dep
13 EXTRA_DIST += autogen.pl mdsms.1.c mdsms.1.in ChangeLog ABOUT-NLS mdsms.spec.in INSTALL mkinstalldirs
15 CLEANFILES += mdsms.1 mdsms.1.in2
19 noinst_PROGRAMS = manfmt
20 noinst_SCRIPTS = mdsms.1 mdsms.1.in2
21 noinst_HEADERS += setup.h getopt.h
23 manfmt_SOURCES = manfmt.c
25 mdsms_SOURCES = mdsms.c
26 mdsms_LDADD = $(LIBOBJS) $(INTLLIBS)
28 mdsms.1.in2: mdsms.1.in
29 grep -v Id: > mdsms.1.in2 mdsms.1.in
31 mdsms.1.o: mdsms.1.c mdsms.1.in2 config.h setup.h
32 $(CPP) > mdsms.1.o mdsms.1.c
34 mdsms.1: manfmt mdsms.1.o
35 ./manfmt > mdsms.1 < mdsms.1.o
37 MAINTAINERCLEANFILES+= \
45 cvs2cl.pl --usermap cvs2cl-usermap --window 3600 --separate-header --no-wrap --file $@ . $(REACTOS_SOURCES)