source: CMT/v1r10p20011126/fragments/nmake/library @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 987 bytes
Line 
1
2${CONSTITUENT}LIB :: $(${CONSTITUENT}shstamp)
3        @echo "------> ${CONSTITUENT} : library ok"
4
5$(${CONSTITUENT}arc) :: ${OBJS}
6        $(lib_echo) library
7        $(lib_silent) $(ar) /out:$(bin)${CONSTITUENT}.arc ${OBJS}
8        echo "" >$(${CONSTITUENT}stamp)
9
10$(${CONSTITUENT}shstamp) :: $(${CONSTITUENT}arc)
11        $(make_shlib) $(tag) ${CONSTITUENT} $(cpplinkflags) $(${CONSTITUENT}_shlibflags)
12        if exist $(bin)${CONSTITUENT}.dll echo "" >$(${CONSTITUENT}shstamp)
13
14${CONSTITUENT}clean ::
15        $(cleanup_echo) #objects
16        $(cleanup_silent) for %f in (${OBJS}) do if exist %f del %f
17        $(cleanup_silent) if exist $(bin)${CONSTITUENT}.arc del $(bin)${CONSTITUENT}.arc
18        $(cleanup_silent) if exist $(bin)${CONSTITUENT}.lib del $(bin)${CONSTITUENT}.lib
19        $(cleanup_silent) if exist $(bin)${CONSTITUENT}.def del $(bin)${CONSTITUENT}.def
20        $(cleanup_silent) if exist $(bin)${CONSTITUENT}.exp del $(bin)${CONSTITUENT}.exp
21        $(cleanup_silent) if exist $(bin)${CONSTITUENT}.dll del $(bin)${CONSTITUENT}.dll
22
23
24
Note: See TracBrowser for help on using the repository browser.