aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/Makefile.in')
-rw-r--r--lib-src/Makefile.in23
1 files changed, 15 insertions, 8 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 372983221a3..274bbabe29f 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -1,6 +1,6 @@
1# Makefile for lib-src subdirectory in GNU Emacs. 1# Makefile for lib-src subdirectory in GNU Emacs.
2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003, 2004 2# Copyright (C) 1985, 1987, 1988, 1993, 1994, 2002, 2003, 2004,
3# Free Software Foundation, Inc. 3# 2005 Free Software Foundation, Inc.
4 4
5# This file is part of GNU Emacs. 5# This file is part of GNU Emacs.
6 6
@@ -344,7 +344,7 @@ uninstall:
344 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) 344 rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS})
345 345
346mostlyclean: 346mostlyclean:
347 -rm -f core *.o 347 -rm -f core *.o getopt.h getopt.h-t
348 348
349clean: mostlyclean 349clean: mostlyclean
350 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} 350 -rm -f ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL}
@@ -382,11 +382,18 @@ test-distrib${EXEEXT}: ${srcdir}/test-distrib.c
382 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c 382 $(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c
383 ./test-distrib ${srcdir}/testfile 383 ./test-distrib ${srcdir}/testfile
384 384
385GETOPTOBJS = getopt.o getopt1.o 385/* We need the following in order to create a <getopt.h> when the system
386GETOPTDEPS = $(GETOPTOBJS) ${srcdir}/getopt.h 386 doesn't have one that works with the given compiler. */
387getopt.o: ${srcdir}/getopt.c ${srcdir}/getopt.h 387GETOPT_H = @GETOPT_H@
388getopt.h: getopt_.h
389 cp $(srcdir)/getopt_.h $@-t
390 mv $@-t $@
391
392GETOPTOBJS = @GETOPTOBJS@
393GETOPTDEPS = $(GETOPTOBJS) $(GETOPT_H)
394getopt.o: ${srcdir}/getopt.c $(GETOPT_H) ${srcdir}/gettext.h
388 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c 395 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c
389getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h 396getopt1.o: ${srcdir}/getopt1.c $(GETOPT_H)
390 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c 397 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c
391 398
392#ifdef REGEXP_IN_LIBC 399#ifdef REGEXP_IN_LIBC
@@ -430,7 +437,7 @@ b2m${EXEEXT}: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS)
430movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS) 437movemail${EXEEXT}: movemail.o pop.o $(GETOPTDEPS)
431 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail 438 $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail
432 439
433movemail.o: ${srcdir}/movemail.c ../src/config.h 440movemail.o: ${srcdir}/movemail.c ../src/config.h $(GETOPT_H)
434 $(CC) -c ${CPP_CFLAGS} -Demacs ${MOVE_FLAGS} ${srcdir}/movemail.c 441 $(CC) -c ${CPP_CFLAGS} -Demacs ${MOVE_FLAGS} ${srcdir}/movemail.c
435 442
436pop.o: ${srcdir}/pop.c ../src/config.h 443pop.o: ${srcdir}/pop.c ../src/config.h