aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorGeoffrey Noer <noer@cygnus>1998-10-07 01:21:02 +0000
committerGeoffrey Noer <noer@cygnus>1998-10-07 01:21:02 +0000
commitb459678b2b424453b304b61d97e9cd9c99d19956 (patch)
tree2ed0f01d973507990e05458cb474184c625c3e2a /binutils/Makefile.am
parent87feff9dabae11e6df45924c733a6ea9368713d1 (diff)
downloadgdb-b459678b2b424453b304b61d97e9cd9c99d19956.zip
gdb-b459678b2b424453b304b61d97e9cd9c99d19956.tar.gz
gdb-b459678b2b424453b304b61d97e9cd9c99d19956.tar.bz2
Tue Oct 6 18:20:10 1998 Geoffrey Noer <noer@cygnus.com>
From Anders Norlander <anorland@hem2.passagen.se>. * resres.c: New file. Implementation of read_res_file and write_res_file functions for windres. * rcparse.y: Handle CONTROL's with named classes. * resbin.c: Bug in res_to_bin_dialog and bin_to_res_dialog when dialog is extended: The version and signature fields should be reversed (despite what the docs say). Id is 32 bits long in extended dialogs. * resrc.c (write_rc_dialog): properly print controls with named classes. * windres.c (read_res_file, write_res_file): Remove stubs. * resres.c (write_res): Rename RT_ACCELERATORS to RT_ACCELERATOR. * Makefile.in (windres_SOURCES): Add resres.c. (windres_OBJECTS): Add resres.o.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 8711cb5..4f43424 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -82,7 +82,8 @@ CFILES = addr2line.c ar.c arsup.c bucomm.c coffdump.c coffgrok.c debug.c \
maybe-strip.c nlmconv.c nm.c not-ranlib.c not-strip.c \
objcopy.c objdump.c prdbg.c rdcoff.c rddbg.c size.c srconv.c \
stabs.c strings.c sysdump.c version.c wrstabs.c \
- windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c
+ windres.c resrc.c rescoff.c resbin.c winduni.c readelf.c \
+ resres.c
GENERATED_CFILES = \
underscore.c arparse.c arlex.c sysroff.c sysinfo.c syslex.c \
@@ -252,7 +253,7 @@ nlmconv.o: nlmconv.c $(INCDIR)/coff/sym.h $(INCDIR)/coff/ecoff.h
nlmconv_SOURCES = nlmconv.c nlmheader.y $(BULIBS)
windres_SOURCES = windres.c resrc.c rescoff.c resbin.c rcparse.y rclex.l \
- winduni.c $(BULIBS)
+ winduni.c resres.c $(BULIBS)
windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@ $(INTLLIBS)
DISTSTUFF = arparse.c arparse.h arlex.c nlmheader.c sysinfo.c sysinfo.h \
@@ -338,9 +339,9 @@ install-exec-local: $(bin_PROGRAMS) $(noinst_PROGRAMS)
for i in $(TOOL_PROGS); do \
if [ -f $$i$(EXEEXT) ]; then \
j=`echo $$i | sed -e 's/-new//'`; \
- rm -f $(tooldir)/bin/$$j$(EXEEXT); \
k=`echo $$j | sed '$(transform)'`; \
if [ "$(bindir)/$$k$(EXEEXT)" != "$(tooldir)/bin/$$j$(EXEEXT)" ]; then \
+ rm -f $(tooldir)/bin/$$j$(EXEEXT); \
ln $(bindir)/$$k$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT) >/dev/null 2>/dev/null \
|| $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$i$(EXEEXT) $(tooldir)/bin/$$j$(EXEEXT); \
fi; \
@@ -444,6 +445,7 @@ rescoff.o: rescoff.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
resbin.o: resbin.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
bucomm.h config.h $(INCDIR)/fopen-same.h $(INCDIR)/libiberty.h \
windres.h winduni.h
+resres.o: resres.c windres.h
winduni.o: winduni.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
bucomm.h config.h $(INCDIR)/fopen-same.h winduni.h
readelf.o: readelf.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \