Mercurial > emacs
comparison lib-src/Makefile.in @ 112302:c428fb33aede
Automate syncing from gnulib.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 08 Jan 2011 13:02:38 -0800 |
parents | 54ade079a863 |
children | e838cdd68eae |
comparison
equal
deleted
inserted
replaced
112164:afa244de82cd | 112302:c428fb33aede |
---|---|
125 | 125 |
126 # Like UTILITIES, but they're not system-dependent, and should not be | 126 # Like UTILITIES, but they're not system-dependent, and should not be |
127 # deleted by the distclean target. | 127 # deleted by the distclean target. |
128 SCRIPTS= rcs2log vcdiff | 128 SCRIPTS= rcs2log vcdiff |
129 STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff | 129 STAMP_SCRIPTS= stamp-rcs2log stamp-vcdiff |
130 | |
131 # All files that are created by the linker, i.e., whose names end in ${EXEEXT}. | |
132 EXE_FILES = ${INSTALLABLES} ${UTILITIES} ${DONT_INSTALL} | |
130 | 133 |
131 # Specify additional -D flags for movemail. Options: | 134 # Specify additional -D flags for movemail. Options: |
132 # -DMAIL_USE_FLOCK or -DMAIL_USE_LOCKF (use flock or lockf for file locking). | 135 # -DMAIL_USE_FLOCK or -DMAIL_USE_LOCKF (use flock or lockf for file locking). |
133 # See the comments about locking in movemail.c. Normally the values | 136 # See the comments about locking in movemail.c. Normally the values |
134 # set by configure should be correct and you should not need to do anything. | 137 # set by configure should be correct and you should not need to do anything. |
164 | 167 |
165 # Those files shared with other GNU utilities need HAVE_CONFIG_H | 168 # Those files shared with other GNU utilities need HAVE_CONFIG_H |
166 # defined before they know they can take advantage of the information | 169 # defined before they know they can take advantage of the information |
167 # in ../src/config.h. | 170 # in ../src/config.h. |
168 BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) ${C_WARNINGS_SWITCH} \ | 171 BASE_CFLAGS = $(C_SWITCH_SYSTEM) $(C_SWITCH_MACHINE) ${C_WARNINGS_SWITCH} \ |
169 -DHAVE_CONFIG_H -I. -I../src -I${srcdir} -I${srcdir}/../src | 172 -DHAVE_CONFIG_H -I. -I../src -I../lib \ |
173 -I${srcdir} -I${srcdir}/../src -I${srcdir}/../lib | |
170 | 174 |
171 ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} | 175 ALL_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${LDFLAGS} ${CPPFLAGS} ${CFLAGS} |
172 LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} | 176 LINK_CFLAGS = ${BASE_CFLAGS} ${LDFLAGS} ${CFLAGS} |
173 CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} | 177 CPP_CFLAGS = ${BASE_CFLAGS} ${PROFILING_CFLAGS} ${CPPFLAGS} ${CFLAGS} |
174 | 178 |
175 LOADLIBES=$(LIBS_SYSTEM) | 179 LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM) |
180 $(EXE_FILES): ../lib/libgnu.a | |
176 | 181 |
177 ## This is the default compilation command. | 182 ## This is the default compilation command. |
178 ## But we should never rely on it, because some make version failed to | 183 ## But we should never rely on it, because some make version failed to |
179 ## find it for getopt.o. | 184 ## find it for getopt.o. |
180 ## Using an explicit command made it work. | 185 ## Using an explicit command made it work. |
318 getopt.o: ${srcdir}/getopt.c $(GETOPT_H) ${srcdir}/gettext.h | 323 getopt.o: ${srcdir}/getopt.c $(GETOPT_H) ${srcdir}/gettext.h |
319 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c | 324 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt.c |
320 getopt1.o: ${srcdir}/getopt1.c $(GETOPT_H) | 325 getopt1.o: ${srcdir}/getopt1.c $(GETOPT_H) |
321 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c | 326 ${CC} -c ${CPP_CFLAGS} ${srcdir}/getopt1.c |
322 | 327 |
328 ../lib/libgnu.a: ../src/config.h | |
329 cd ../lib && $(MAKE) libgnu.a | |
330 | |
323 REGEXPOBJ = regex.o | 331 REGEXPOBJ = regex.o |
324 REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h | 332 REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h |
325 | 333 |
326 regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h | 334 regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h |
327 ${CC} -c ${CPP_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ | 335 ${CC} -c ${CPP_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \ |