From: Ivan Maidanski Date: Sat, 21 Jun 2014 17:06:27 +0000 (+0400) Subject: Fix 'cord' headers path in EMX_MAKEFILE and README.QUICK X-Git-Tag: gc7_6_0~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=885dfa81a4f91c2223955238838b895160bb4bb2;p=platform%2Fupstream%2Flibgc.git Fix 'cord' headers path in EMX_MAKEFILE and README.QUICK * EMX_MAKEFILE (CORD_INCLUDE_FILES): Replace cord/*.h files with include/*.h ones (all "cord" header files moved in gc4.8). * EMX_MAKEFILE (cords): Do not copy cord/*.h files to "include" folder. * README.QUICK: Replace cord/cord.h with include/cord.h; move sentence about cord.h to the relevant paragraph. --- diff --git a/EMX_MAKEFILE b/EMX_MAKEFILE index b52c744..40f79e4 100644 --- a/EMX_MAKEFILE +++ b/EMX_MAKEFILE @@ -34,8 +34,8 @@ OBJS= alloc.o reclaim.o allchblk.o misc.o mach_dep.o os_dep.o mark_rts.o headers CORD_OBJS= cord/cordbscs.o cord/cordxtra.o cord/cordprnt.o -CORD_INCLUDE_FILES= $(srcdir)/gc.h $(srcdir)/cord/cord.h $(srcdir)/cord/ec.h \ - $(srcdir)/cord/cord_pos.h +CORD_INCLUDE_FILES= $(srcdir)/gc.h $(srcdir)/include/cord.h \ + $(srcdir)/include/ec.h $(srcdir)/include/cord_pos.h # Libraries needed for curses applications. Only needed for de. CURSES= -lcurses -ltermlib @@ -67,9 +67,6 @@ gc.a: $(OBJS) cords: $(CORD_OBJS) cord/cordtest.exe $(AR) ru gc.a $(CORD_OBJS) $(RANLIB) gc.a - cp $(srcdir)/cord/cord.h include/cord.h - cp $(srcdir)/cord/ec.h include/ec.h - cp $(srcdir)/cord/cord_pos.h include/cord_pos.h gc_cpp.o: $(srcdir)/gc_cpp.cc $(srcdir)/gc_cpp.h $(CXX) -c -O $(srcdir)/gc_cpp.cc diff --git a/README.QUICK b/README.QUICK index ee8f4a1..e33ec01 100644 --- a/README.QUICK +++ b/README.QUICK @@ -52,13 +52,13 @@ Makefile.direct, type "make cords", after copying to "Makefile". (This requires an ANSI C compiler. You may need to redefine CC in the Makefile. The CORD_printf implementation in cordprnt.c is known to be less than perfectly portable. The rest of the -package should still work.) +package should still work.) See include/cord.h for the API. If you wish to use the collector from C++, type "make c++", or use --enable-cplusplus with the configure script. With Makefile.direct, these ones add further files to gc.a and to the include subdirectory. -With the alternate build process,this generates libgccpp. -See cord/cord.h and include/gc_cpp.h. +With the alternate build process, this generates libgccpp. +See include/gc_cpp.h. TYPICAL USE: Include "gc.h" from the include subdirectory. Link against the