Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. THIS_SRCS = format.c load_image.c readjpeg.c libinit.c
  2. include $(MENUET_LIBC_TOPDIR)/Make.rules
  3.  
  4. ifdef ON_MINGW
  5. mk_lib: gen_tmp all
  6.         make -f Makefile-link OUTFILE="libmgfx.a"
  7.         copy libmgfx.a $(MENUETDEV)\lib
  8.         del libmgfx.a
  9.  
  10. dll: _gen_tmp all
  11.         make -f Makefile-link-dll OUTFILE="mgfx.so"
  12.         copy mgfx.so $(MENUETDEV)\lib
  13.         del mgfx.so
  14.  
  15. _gen_tmp:
  16.         @$(D_ECHO) > ..\tmp_make
  17.  
  18. gen_tmp:
  19.         @echo foo = bar> ..\tmp_make
  20.         @..\m_echo ..\tmp_make B_MENUET_LIBC_OBJS =
  21.  
  22. else
  23.  
  24. mk_lib: gen_tmp all
  25.         make -f Makefile-link OUTFILE="libmgfx.a"
  26.         mv -f libmgfx.a $(MENUETDEV)/lib
  27.  
  28. dll: _gen_tmp all
  29.         make -f Makefile-link-dll OUTFILE="mgfx.so"
  30.         mv -f mgfx.so $(MENUETDEV)/lib
  31.  
  32. _gen_tmp:
  33.         @$(D_ECHO) > ../tmp_make
  34.  
  35. gen_tmp:
  36.         @echo "foo = bar" > ../tmp_make
  37.         @../m_echo ../tmp_make B_MENUET_LIBC_OBJS =
  38. endif
  39.