Annotation of mstools/mssetup/sample/makefile, revision 1.1.1.1

1.1       root        1: !include <ntwin32.mak>
                      2: 
                      3: OBJS = setup.obj setupapi.obj msregdb.obj msdetect.obj msshared.obj
                      4: 
                      5: all: sample.exe
                      6: 
                      7: !if "$(DEBUG)" == "yes"
                      8: cflags = $(cflags) $(cdebug) $(cvarsdll) -nologo -DDEBUG
                      9: lflags = $(ldebug)
                     10: !else
                     11: cflags = $(cflags) $(cvarsdll) -nologo
                     12: !endif
                     13: 
                     14: 
                     15: setup.rbj setup.res: setup.rc
                     16:        rc -r -fo setup.res setup.rc
                     17:        cvtres -$(CPU) setup.res -o setup.rbj
                     18: 
                     19: setup.obj: sample.h ..\include\setupapi.h setup.c
                     20:        $(cc) $(cflags) setup.c
                     21: 
                     22: 
                     23: setupapi.obj: ..\include\setupapi.h setupapi.c
                     24:        $(cc) $(cflags) setupapi.c
                     25: 
                     26: msregdb.obj: ..\include\msregdb.h ..\include\setupapi.h msregdb.c
                     27:        $(cc) $(cflags) msregdb.c
                     28: 
                     29: msdetect.obj: ..\include\msdetect.h ..\include\setupapi.h msdetect.c
                     30:        $(cc) $(cflags) msdetect.c
                     31: 
                     32: msshared.obj: ..\include\msshared.h ..\include\setupapi.h msshared.c
                     33:        $(cc) $(cflags) msshared.c
                     34: 
                     35: 
                     36: sampled.exe: setup.def setup.rbj $(OBJS)
                     37:        $(link) $(ldebug) $(guilflags) -out:setupd.exe $(OBJS) \
                     38:        msuilstf.lib msdetstf.lib msinsstf.lib msshlstf.lib mscomstf.lib $(guilibsdll)
                     39: 
                     40: sample.exe: setup.def setup.rbj $(OBJS)
                     41:        $(link) $(guilflags) -out:setup.exe $(OBJS) \
                     42:        msuilstf.lib msdetstf.lib msinsstf.lib msshlstf.lib mscomstf.lib $(guilibsdll)
                     43: 
                     44: clean:
                     45:        touch   sample.exe
                     46:        rm      sample.exe
                     47:        touch   sampled.exe
                     48:        rm      sampled.exe
                     49:        touch   sample.res
                     50:        rm      sample.res
                     51:        touch   $(OBJS)
                     52:        rm      $(OBJS)

unix.superglobalmegacorp.com

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