Annotation of mstools/samples/rpc/whello/makefile, revision 1.1.1.3

1.1       root        1: #*************************************************************#
                      2: #**                                                         **#
                      3: #**                 Microsoft RPC Examples                  **#
1.1.1.3 ! root        4: #**                    whello Application                   **#
1.1       root        5: #**            Copyright(c) Microsoft Corp. 1991            **#
                      6: #**                                                         **#
                      7: #*************************************************************#
                      8: 
                      9: !include <ntwin32.mak>
                     10: 
                     11: .c.obj:
1.1.1.3 ! root       12:    $(cc) $(cdebug) $(cflags) $(cvars) $<
        !            13: 
        !            14: all: whellos whelloc
1.1       root       15: 
                     16: # Update the resource if necessary
1.1.1.2   root       17: whello.rbj: whello.rc whello.h rpc.ico whello.dlg
                     18:     rc -r whello.rc
                     19:     cvtres -$(CPU) whello.res -o whello.rbj
1.1       root       20: 
                     21: # Update the executable file if necessary, and if so, add the resource back in.
                     22: whelloc : whelloc.exe
1.1.1.2   root       23: whelloc.exe : whelloc.obj whello.def whello_c.obj whello_x.obj whello.rbj
1.1.1.3 ! root       24:     $(link) $(linkdebug) $(guiflags) -out:whelloc.exe -map:whelloc.map \
        !            25:       whelloc.obj whello_c.obj whello_x.obj whello.rbj \
        !            26:       rpcrt4.lib $(guilibs)
        !            27: 
        !            28: whelloc.obj : whelloc.c whelloc.h whello.h
1.1       root       29: 
                     30: whello_c.obj : whello_c.c whello.h
                     31: 
                     32: whello_x.obj : whello_x.c whello.h
                     33: 
                     34: # Make the whellos
                     35: whellos : whellos.exe
                     36: whellos.exe : whellos.obj whellop.obj whello_s.obj whello_y.obj
1.1.1.3 ! root       37:     $(link) $(linkdebug) $(conflags) -out:whellos.exe -map:whellos.map \
1.1       root       38:       whellos.obj whellop.obj whello_s.obj whello_y.obj \
1.1.1.3 ! root       39:       rpcrt4.lib $(conlibs)
1.1       root       40: 
                     41: whellos.obj : whellos.c whello.h
                     42: 
1.1.1.3 ! root       43: whellop.obj : whellop.c whello.h
1.1       root       44: 
                     45: whello_s.obj : whello_s.c whello.h
                     46: 
                     47: whello_y.obj : whello_y.c whello.h
                     48: 
                     49: # Make the stubs source
                     50: whello.h whello_c.c whello_x.c whello_s.c whello_y.c : whello.idl whello.acf
                     51:     midl -cpp_cmd $(cc) -cpp_opt "-E" whello.idl
                     52: 
                     53: # Clean up everything
                     54: cleanall : clean
                     55:     -del *.exe
                     56: 
                     57: # Clean up everything but the .EXEs
                     58: clean :
                     59:     -del *.obj
                     60:     -del *.map
1.1.1.2   root       61:     -del whello.res
                     62:     -del whello.rbj
1.1       root       63:     -del whello_c.c
                     64:     -del whello_x.c
                     65:     -del whello_s.c
                     66:     -del whello_y.c
                     67:     -del whello.h

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.