diff --git a/SWIG/Makefile.in b/SWIG/Makefile.in index 59dc1a594..6487d985d 100644 --- a/SWIG/Makefile.in +++ b/SWIG/Makefile.in @@ -45,13 +45,14 @@ swig13: SWIG1.3 Modules1.1 Swig LParse Preprocessor DOH $(SOURCE)/DOH/libdoh.a \ $(LIBS) -experiment: Swig Preprocessor LParse Experiment Swim SWILL DOH Xmlparse Expat +experiment: Swig Preprocessor LParse Experiment Swim SWILL DOH Xmlparse Expat Modules $(CXX) -o $(TARGET) \ $(SOURCE)/Experiment/libexp.a \ $(SOURCE)/Xmlparse/libxmlparse.a \ $(SOURCE)/Expat/libexpat.a \ $(SOURCE)/LParse/liblparse.a \ $(SOURCE)/Preprocessor/libcpp.a \ + $(SOURCE)/Modules/libmodules.a \ $(SOURCE)/Swig/libswig.a \ $(SOURCE)/Swim/libswim.a \ $(SOURCE)/SWILL/libswill.a \ @@ -97,6 +98,8 @@ Expat: Swithe: @cd $(SOURCE)/Swithe; $(MAKE) +Modules: + @cd $(SOURCE)/Modules; $(MAKE) .PHONY: SWIG1.1 Modules1.1 Swig Preprocessor LParse \ Experiment Swim SWILL DOH Swithe diff --git a/SWIG/Source/Modules/Makefile.in b/SWIG/Source/Modules/Makefile.in new file mode 100644 index 000000000..7324c93e4 --- /dev/null +++ b/SWIG/Source/Modules/Makefile.in @@ -0,0 +1,31 @@ +# --------------------------------------------------------------- +# $Header$ +#---------------------------------------------------------------- + +srcdir = @srcdir@ +VPATH = @srcdir@ + +SRCS = +OBJS = + +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +CC = @CC@ +AR = @AR@ +RANLIB = @RANLIB@ +CFLAGS = @CFLAGS@ +INCLUDE = -I$(srcdir)/. -I$(srcdir)/../DOH/Include +TARGET = libmodules.a + +.c.o: + $(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $< + +all: $(TARGET) + +$(TARGET): $(OBJS) + $(AR) cr $(TARGET) $(OBJS) + $(RANLIB) $(TARGET) + +clean: + rm -f *.o *~ core *.so *.a *_wrap.* diff --git a/SWIG/Source/Modules/test.c b/SWIG/Source/Modules/test.c new file mode 100644 index 000000000..d82af4243 --- /dev/null +++ b/SWIG/Source/Modules/test.c @@ -0,0 +1,4 @@ + +int modules_test() { + /* Does nothing */ +} diff --git a/SWIG/configure.in b/SWIG/configure.in index 1ccd9395d..3a987f98c 100644 --- a/SWIG/configure.in +++ b/SWIG/configure.in @@ -641,6 +641,7 @@ AC_OUTPUT( Source/Include/swigconfig.h Source/Include/swigver.h Source/LParse/Makefile + Source/Modules/Makefile Source/Modules1.1/Makefile Source/Preprocessor/Makefile Source/SWIG1.1/Makefile