Commit Graph

14 Commits

Author SHA1 Message Date
Bryce Denney
14a35053a0 - include stdlib.h so that exit is defined. 2002-10-16 04:40:21 +00:00
Bryce Denney
1ee55d9edb - move some makefile stuff that is common to all subdirs into
common-make-defs.txt
2002-10-16 04:09:24 +00:00
Bryce Denney
7fc1a8b2cf - check in expected output from each program 2002-10-16 04:08:24 +00:00
Bryce Denney
837d985b19 - call exit(77) for success. 77 was chosen arbitrarily; it is unlikely that a
malfunctional program could return this code by accident.
2002-10-16 04:07:58 +00:00
Bryce Denney
838df1ee0b - support VPATH build 2002-10-11 18:32:27 +00:00
Bryce Denney
89d57436da - add configure support, since I'm starting to need different options
on different platforms

Modified Files:
  Makefile test1-static/Makefile test2-dynamic/Makefile
  test3-twomodules/Makefile test4-interdep/Makefile
  test5-execsymbols/Makefile
Added Files:
  Makefile.in aclocal.m4 config.guess config.h.in config.sub
  configure configure.in install-sh ltmain.sh
  test1-static/Makefile.in test2-dynamic/Makefile.in
  test3-twomodules/Makefile.in test4-interdep/Makefile.in
  test5-execsymbols/Makefile.in
2002-10-11 18:15:27 +00:00
Bryce Denney
043167e8cc - this file is not used 2002-10-11 16:35:53 +00:00
Bryce Denney
c1e54f2fc4 - change #warnings so that they are informative, instead of "case 1,2,3" 2002-10-11 16:25:49 +00:00
Bryce Denney
f4a7163433 - tweak DLL import/export macro so that the importer does not have to
define anything special.  If you are not an exporter, then it now
  assumes that you are an importer.
- modified:
	test2-dynamic/module1.h test2-dynamic/uselib.cc
	test3-twomodules/module1.h test3-twomodules/module2.h
	test3-twomodules/uselib.cc test4-interdep/module1.h
	test4-interdep/module2.h test4-interdep/uselib.cc
2002-10-11 16:21:33 +00:00
Bryce Denney
6bd051de38 - add missing MODULE*_DLL_IMPORT definitions in uselib.cc 2002-10-11 16:15:09 +00:00
Bryce Denney
8f94d0a35b - rewrite DLL macros, now somewhat closer to how LT_SCOPE is written
in <ltdl.h>.  Now go back to Linux and test.
2002-10-11 16:09:21 +00:00
Bryce Denney
ba1e549490 - add "make test" target 2002-10-11 16:08:43 +00:00
Bryce Denney
7f9c1489df - make it compile on non-win32 platforms by stuffing all the DLL details
into macros.  I got the idea for the MODULE1API(type) macros from
  expat.h that happens to be sitting on my disk.
- modified:
    test2-dynamic/module1.cc test2-dynamic/module1.h
    test3-twomodules/module1.cc test3-twomodules/module1.h
    test3-twomodules/module2.cc test3-twomodules/module2.h
    test4-interdep/module1.cc test4-interdep/module1.h
    test4-interdep/module2.cc test4-interdep/module2.h
2002-10-11 15:29:32 +00:00
Bryce Denney
059b59c98e - in bochs-testing area, check in shared library tests that I wrote while
trying to get plugins working on Cygwin.

Added Files:
	Makefile
	test1-static/*
	test2-dynamic/*
	test3-twomodules/*
	test4-interdep/*
2002-10-11 14:51:27 +00:00