+Wed Aug 11 13:08:26 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * size.c (berkeley_sum): New function.
+ (bsssize, datasize, textsize): New global variables.
+ (bss_section_name, data_section_name, text_section_name): Removed.
+ (print_berkeley_format): Map berkeley_sum over all the sections,
+ rather than only reporting sizes of specifically named sections.
+ * Makefile.in ($(OBJDUMP_PROG)): Removed dependency on size.o.
+
+Tue Aug 10 10:46:01 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * nlmconv.c, nlmconv.h, nlmheader.y: New files for program to
+ convert object files into NetWare Loadable Modules.
+ * Makefile.in (NLMCONV_PROG): New macro, define to be nlmconv.
+ (PROGS): Add NLMCONV_PROG.
+ (nlmheader.c, nlmheader.o, nlmconv.o, $(NLMCONV_PROG)): New
+ targets.
+
+Thu Aug 5 15:48:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
+
+ * Makefile.in: define MAKEOVERRIDES to an empty string
+
Wed Aug 4 17:08:08 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* objcopy.c (copy_file): Make failures to process a file nonfatal.
INSTALL = `cd $(srcdir)/..;pwd`/install.sh -c
INSTALL_PROGRAM = $(INSTALL)
INSTALL_DATA = $(INSTALL)
-INSTALL_XFORM = $(INSTALL) -t='$(program_tranform_name)'
+INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
AR = ar
RANLIB = ranlib
BISONFLAGS = -d
TEXI2ROFF=texi2roff
+MAKEOVERRIDES=
NM_FOR_TARGET = nm
NM = $(NM_FOR_TARGET)
# This is the demangler, as a standalone program.
DEMANGLER_PROG=c++filt
-PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG)
+NLMCONV_PROG=nlmconv
+
+PROGS = $(SIZE_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRINGS_PROG) $(STRIP_PROG) $(RANLIB_PROG) $(DEMANGLER_PROG) $(OBJCOPY_PROG) $(NLMCONV_PROG)
STAGESTUFF = $(PROGS) *.o
# Files that can be generated, but should be in the distribution.
DISTSTUFF=arparse.c arlex.c
$(NM_PROG): $(ADDL_LIBS) nm.o $(BFD)
$(CC) $(LDFLAGS) $(CFLAGS) -o $(NM_PROG) nm.o $(ADDL_LIBS) $(EXTRALIBS)
-$(OBJDUMP_PROG): $(ADDL_LIBS) size.o objdump.o $(BFD) $(OPCODES)
+$(OBJDUMP_PROG): $(ADDL_LIBS) objdump.o $(BFD) $(OPCODES)
$(CC) $(LDFLAGS) $(CFLAGS) -o $(OBJDUMP_PROG) objdump.o $(OPCODES) $(ADDL_LIBS) $(EXTRALIBS)
underscore.c:
cplus-dem.o: $(LIBIBERTY_SRC_DIR)/cplus-dem.c
$(CC) -c -DMAIN $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(LIBIBERTY_SRC_DIR)/cplus-dem.c
-$(DEMANGLER_PROG): cplus-dem.o $(LIBIBERTY) underscore.o
- $(CC) $(LDFLAGS) $(CFLAGS) -o $(DEMANGLER_PROG) cplus-dem.o $(LIBIBERTY) $(EXTRALIBS) underscore.o
+$(DEMANGLER_PROG): cplus-dem.o $(LIBIBERTY) underscore.o version.o
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $(DEMANGLER_PROG) cplus-dem.o $(LIBIBERTY) $(EXTRALIBS) underscore.o version.o
arparse.c:arparse.y
$(BISON) $(BISONFLAGS) $(srcdir)/arparse.y
-rm -f $(STRIP_PROG)
-ln $(OBJCOPY_PROG) $(STRIP_PROG)
+nlmheader.c: nlmheader.y
+ $(BISON) $<
+ rm -f nlmheader.c
+ mv y.tab.c nlmheader.c
+
+nlmheader.o: nlmheader.c nlmconv.h $(BASEDIR)/include/nlm/common.h \
+ $(BASEDIR)/include/nlm/internal.h
+
+nlmconv.o: nlmconv.c nlmconv.h $(BASEDIR)/include/nlm/common.h \
+ $(BASEDIR)/include/nlm/internal.h $(BASEDIR)/bfd/libnlm.h
+
+$(NLMCONV_PROG): nlmconv.o nlmheader.o $(ADDL_LIBS) $(BFD)
+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ nlmconv.o nlmheader.o $(ADDL_LIBS) $(EXTRALIBS)
+
stage1: force
- mkdir stage1
- mv -f $(STAGESTUFF) stage1
etags tags: TAGS
TAGS: force
- etags $(INCDIR)/*.h $(BFDSRC)/*.[hc] *.[hc]
+ etags $(srcdir)/../include/*.h $(srcdir)/*.[hc]
install: all
for i in $(PROGS) ; do \
version.o: $(srcdir)/version.c
$(CC) $(CFLAGS) $(INCLUDES) $(HDEFINES) $(TDEFINES) -DVERSION='"$(VERSION)"' -c $(srcdir)/version.c
+ar.o arsup.o nm.o objcopy.o strings.o: bucomm.h
+
#-----------------------------------------------------------------------------
# 'STANDARD' GNU/960 TARGETS BELOW THIS POINT
#