Last change
on this file was 745, checked in by Silvan Scherrer, 13 years ago |
Samba Server: updated trunk to 3.6.0
|
File size:
972 bytes
|
Line | |
---|
1 | #
|
---|
2 | # use nmake /f NMakefile [<target>]
|
---|
3 | #
|
---|
4 | CFLAGS = /nologo /Zi /MT /Gm- /W4 /FR /D_CRT_SECURE_NO_WARNINGS
|
---|
5 | LIBS = kernel32.lib gdi32.lib user32.lib shell32.lib \
|
---|
6 | advapi32.lib ole32.lib ws2_32.lib rpcrt4.lib
|
---|
7 | WINSPOOL_LIBS = winspool.lib
|
---|
8 |
|
---|
9 | all: testspoolss.exe
|
---|
10 |
|
---|
11 | .cpp.obj:
|
---|
12 | cl /c $(CFLAGS) $*.cpp
|
---|
13 |
|
---|
14 | .c.obj:
|
---|
15 | cl /c $(CFLAGS) $*.c
|
---|
16 |
|
---|
17 | clean: cleantmp
|
---|
18 | -del *.dll 2>nul
|
---|
19 |
|
---|
20 | cleantmp:
|
---|
21 | -del *~ *.o *.obj *.sbr *.bsc *.pdb *.lib *.ilk *.exp 2>nul
|
---|
22 | -del test_s.c test_c.c test.h 2>nul
|
---|
23 |
|
---|
24 | ###############################
|
---|
25 | # helpers
|
---|
26 | ###############################
|
---|
27 |
|
---|
28 | printlib.obj: printlib.c
|
---|
29 |
|
---|
30 | error.obj: error.c
|
---|
31 |
|
---|
32 | torture.obj: torture.c
|
---|
33 |
|
---|
34 | ###############################
|
---|
35 | # binaries
|
---|
36 | ###############################
|
---|
37 |
|
---|
38 | testspoolss.obj: testspoolss.c
|
---|
39 |
|
---|
40 | testspoolss.exe: testspoolss.obj printlib.obj error.obj torture.obj
|
---|
41 | cl $(CFLAGS) /Fe$@ testspoolss.obj printlib.obj error.obj torture.obj \
|
---|
42 | /link /incremental:no /subsystem:console $(LIBS) $(WINSPOOL_LIBS)
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.