Hi
I'm making a modified version of tar. I have added the following files:
tar/lib/foo.c
tar/lib/foo.h
tar/src/bar.h
tar/src/bar.c
as well as modifying existing tar source files. foo.h is #included in
src/create.c and src/bar.c, and bar.h is #included in src/create.c as well.
What I would like is: lib/foo.c should be compiled into lib/foo.o;
lib/foo.o should be included in lib/libtar.a; src/bar.c should be
compiled into src/bar.o; src/bar.o should be included in the linking
step to create src/tar.
I can do this manually and I get a working tar binary, but how can I get
the tar build system to do this? I've tried to play with configure.ac,
lib/Makefile.am and src/Makefile.am but my additional files are ignored.
Also, how to I get the build system to include an additional library
-lbaz in the step to link src/tar.
It would seem to me that these changes should not be terribly
complicated to implement, but I'm stuck. Any pointers are appreciated.
Thanks
Rasmus
_______________________________________________
help-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-tar