provision: fix nTSecurityDescriptor of CN={LostAndFound,System},${DOMAINDN} (bug...
[Samba/gebeck_regimport.git] / testprogs / win32 / spoolss / NMakefile
blob949104e6ac02eaae8ddcabc8a77085d211c7c7dc
2 # use nmake /f NMakefile [<target>]
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
9 all: testspoolss.exe
11 .cpp.obj:
12         cl /c $(CFLAGS) $*.cpp
14 .c.obj:
15         cl /c $(CFLAGS) $*.c
17 clean: cleantmp
18         -del *.dll 2>nul
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
24 ###############################
25 # helpers
26 ###############################
28 printlib.obj: printlib.c
30 error.obj: error.c
32 torture.obj: torture.c
34 ###############################
35 # binaries
36 ###############################
38 testspoolss.obj: testspoolss.c
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)