From de2a8fc730d0b87cd19959ba876ffa34d0853dcd Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 25 Jan 2000 07:42:51 +0000 Subject: * Updated gettext to use more advanced libit 0.7 version. * Various cleanups. --- Makefile.am | 48 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 14 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 156071a..e70c237 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,35 +2,42 @@ AUTOMAKE_OPTIONS = 1.4 +SUBDIRS = $(GLOBDIR) i18n + bin_PROGRAMS = make -make_SOURCES = main.c commands.c job.c dir.c file.c misc.c read.c remake.c \ - rule.c implicit.c default.c variable.c expand.c function.c \ - vpath.c version.c ar.c arscan.c remote-$(REMOTE).c \ - commands.h dep.h filedef.h job.h make.h rule.h variable.h \ - debug.h signame.c signame.h \ - getopt.c getopt1.c getopt.h +# These source files also have gettext references +SRCS = ar.c arscan.c commands.c dir.c expand.c file.c function.c \ + getopt.c implicit.c job.c main.c misc.c read.c remake.c \ + rule.c signame.c variable.c vpath.c + +make_SOURCES = $(SRCS) default.c remote-$(REMOTE).c version.c \ + getopt.c getopt1.c + +noinst_HEADERS = commands.h dep.h filedef.h job.h make.h rule.h variable.h \ + debug.h signame.h getopt.h gettext.h -make_LDADD = $(LIBOBJS) @ALLOCA@ $(GLOBLIB) @INTLLIBS@ +make_LDADD = $(LIBOBJS) @ALLOCA@ $(GLOBLIB) man_MANS = make.1 info_TEXINFOS = make.texinfo -localedir = $(datadir)/locale -DEFS = -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@ +DEFS = -DALIASPATH=\"$(aliaspath)\" -DLOCALEDIR=\"$(localedir)\" -DLIBDIR=\"$(libdir)\" -DINCLUDEDIR=\"$(includedir)\" @DEFS@ -INCLUDES = -I. -I$(srcdir) $(GLOBINC) -I./intl -I$(top_srcdir)/intl +INCLUDES = -I. -I$(srcdir) $(GLOBINC) EXTRA_DIST = README build.sh.in $(man_MANS) README.customs remote-cstms.c\ - make-stds.texi texinfo.tex SCOPTIONS SMakefile\ + make-stds.texi SCOPTIONS SMakefile\ README.Amiga Makefile.ami config.ami make.lnk amiga.c amiga.h\ README.DOS Makefile.DOS configure.bat dosbuild.bat configh.dos\ README.W32 NMakefile config.h.W32 build_w32.bat subproc.bat\ readme.vms makefile.vms makefile.com config.h-vms vmsdir.h\ vmsfunctions.c vmsify.c\ - ABOUT-NLS - -SUBDIRS = $(GLOBDIR) intl po + gettext.c\ + glob/COPYING.LIB glob/ChangeLog glob/Makefile.am\ + glob/Makefile.ami glob/Makefile.in glob/SCOPTIONS\ + glob/SMakefile glob/configure.bat glob/fnmatch.c\ + glob/fnmatch.h glob/glob.c glob/glob.h MOSTLYCLEANFILES = loadavg.c CLEANFILES = loadavg @@ -38,6 +45,19 @@ CLEANFILES = loadavg MAKE_HOST = @MAKE_HOST@ +# --------------- Internationalization Section + +POTFILES = $(SRCS) remote-cstms.c + +localedir = $(prefix)/share/locale +aliaspath = $(localedir):. + +all-local: $(srcdir)/stamp-pot + +$(srcdir)/stamp-pot: $(POTFILES) + @echo "$(POTFILES)" > $@ + + # --------------- Local INSTALL Section # If necessary, change the gid of the app and turn on the setgid flag. -- cgit v1.2.3