Merge remote-tracking branch 'origin/6.1'
[scilab.git] / scilab / modules / dynamic_link / src / scripts / Makedll.incl
1
2 DUMPEXTS="$(SCIDIR)\bin\dumpexts"
3
4 all :: $(LIBRARY).dll
5
6 $(LIBRARY).dll: $(OBJS_WITH_PATH)
7         @echo Creation of dll $(LIBRARY).dll and import lib from ...
8         @$(DUMPEXTS) -o "$*.def" "$*.dll" $(OBJS_WITH_PATH)
9         @$(LINKER) $(LINKER_FLAGS) $(OBJS_WITH_PATH) $(OTHERLIBS) \
10 $(SCILAB_LIBS) $(CPP_RUNTIME_LIBRARIES) $(FORTRAN_RUNTIME_LIBRARIES) \
11 $(EXTRA_LDFLAGS) /nologo /dll /out:"$*.dll" /implib:"$*.lib" /def:"$*.def"
12
13 clean   ::
14         -del "$(DIR_OBJ)\*.obj"
15         -del $(LIBRARY)_gateway.c
16         -del $(LIBRARY).def
17         -del $(LIBRARY).dll
18         -del $(LIBRARY).exp
19         -del $(LIBRARY).lib
20
21 distclean::     clean