Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
THIS_SRCS = textcon.c
2
 
3
include $(MENUET_LIBC_TOPDIR)/Make.rules
4
 
5
mk_lib: gen_tmp all
6
	make -f Makefile-link OUTFILE="libcon2.a"
7
ifdef ON_MINGW
8
	copy libcon2.a $(MENUETDEV)\lib
9
	del libcon2.a
10
	copy textcon.h $(MENUETDEV)\include\menuet
11
else
12
	mv -f libcon2.a $(MENUETDEV)/lib
13
	cp textcon.h $(MENUETDEV)/include/menuet
14
endif
15
 
16
dll: _gen_tmp all
17
	make -f Makefile-link-dll OUTFILE="con-2.so"
18
ifdef ON_MINGW
19
	copy libcon2.a $(MENUETDEV)\lib
20
	del libcon2.a
21
else
22
	mv con-2.so $(MENUETDEV)/lib
23
endif
24
 
25
_gen_tmp:
26
	@$(D_ECHO) > ../tmp_make
27
 
28
gen_tmp:
29
ifdef ON_MINGW
30
	@echo foo = bar> ..\tmp_make
31
	@..\m_echo ..\tmp_make B_MENUET_LIBC_OBJS =
32
else
33
	@echo "foo = bar" > ../tmp_make
34
	@../m_echo ../tmp_make B_MENUET_LIBC_OBJS =
35
endif