Fixed new tests added .cvsignore files.
authorSteven Edwards <winehacker@gmail.com>
Sat, 23 Aug 2003 21:13:18 +0000 (21:13 +0000)
committerSteven Edwards <winehacker@gmail.com>
Sat, 23 Aug 2003 21:13:18 +0000 (21:13 +0000)
Sorry about that.

svn path=/trunk/; revision=5806

reactos/apps/tests/Makefile
reactos/apps/tests/mktime/.cvsignore [new file with mode: 0644]
reactos/apps/tests/pipe/.cvsignore [new file with mode: 0644]
reactos/apps/tests/polytest/.cvsignore
reactos/apps/tests/polytest/polytest.cpp
reactos/apps/tests/primitives/.cvsignore [new file with mode: 0644]
reactos/apps/tests/stretchblt/makefile
reactos/apps/tests/txtscale/.cvsignore [new file with mode: 0644]

index 75baf6e..c49506e 100644 (file)
@@ -11,8 +11,8 @@ TEST_APPS = SampleWindow alive apc args atomtest bench bitblt \
 button button2 combo consume copymove count dibtest dump_shared_data \
 edit enumwnd event file gditest hello hivetest icontest isotest \
 lineclip linetest lock lpc messagebox mktime mstest multiwin \
-mutex nptest pipe primitives pteb regtest sectest sertest \
-shaptest shm statst statst2 suspend tcpsvr terminate \
+mutex nptest patblt pipe primitives pteb regtest sectest sertest \
+shaptest shm statst statst2 stretchblt suspend tcpsvr terminate \
 txtscale thread thread_msg tokentest vmtest winhello wm_erasebkgnd \
 wm_paint
 
diff --git a/reactos/apps/tests/mktime/.cvsignore b/reactos/apps/tests/mktime/.cvsignore
new file mode 100644 (file)
index 0000000..d63774a
--- /dev/null
@@ -0,0 +1,6 @@
+*.o
+*.d
+*.exe
+*.coff
+*.sym
+*.map
diff --git a/reactos/apps/tests/pipe/.cvsignore b/reactos/apps/tests/pipe/.cvsignore
new file mode 100644 (file)
index 0000000..d63774a
--- /dev/null
@@ -0,0 +1,6 @@
+*.o
+*.d
+*.exe
+*.coff
+*.sym
+*.map
index 7b3d89c..d63774a 100644 (file)
@@ -1,4 +1,6 @@
-*.opt
-*.ncb
-*.plg
-Debug
+*.o
+*.d
+*.exe
+*.coff
+*.sym
+*.map
index c279ec8..8a440cf 100644 (file)
@@ -819,7 +819,7 @@ Polygon ( CONST PPOINT UnsafePoints, int Count, int polyFillMode )
 }
 
 
-void main()
+int main()
 {
   memset ( screen, ' ', sizeof(screen) );
   POINT pts[] =
diff --git a/reactos/apps/tests/primitives/.cvsignore b/reactos/apps/tests/primitives/.cvsignore
new file mode 100644 (file)
index 0000000..d63774a
--- /dev/null
@@ -0,0 +1,6 @@
+*.o
+*.d
+*.exe
+*.coff
+*.sym
+*.map
index fa3421f..5716c75 100644 (file)
@@ -1,66 +1,31 @@
-# Makefile - Proj_Listing1_5.dsp
 
-ifndef CFG
-CFG=Proj_Listing1_5 - Win32 Debug
-endif
-CC=gcc
-CFLAGS=
-CXX=g++
-CXXFLAGS=$(CFLAGS)
-RC=windres -O COFF
-ifeq "$(CFG)"  "Proj_Listing1_5 - Win32 Release"
-CFLAGS+=-fexceptions -O2 -DWIN32 -DNDEBUG -D_WINDOWS -D_MBCS -W
-LD=$(CXX) $(CXXFLAGS)
-LDFLAGS=
-LDFLAGS+=-Wl,--subsystem,windows
-LIBS+=-lkernel32 -luser32 -lgdi32
-else
-ifeq "$(CFG)"  "Proj_Listing1_5 - Win32 Debug"
-CFLAGS+=-fexceptions -g -O0 -DWIN32 -D_DEBUG -D_WINDOWS -D_MBCS -W
-LD=$(CXX) $(CXXFLAGS)
-LDFLAGS=
-LDFLAGS+=-Wl,--subsystem,windows
-LIBS+=-lkernel32 -luser32 -lgdi32
-endif
-endif
+PATH_TO_TOP = ../../..
 
-ifndef TARGET
-TARGET=stretchblt.exe
-endif
+TARGET_TYPE = program
 
-.PHONY: all
-all: $(TARGET)
+TARGET_APPTYPE = windows
 
-%.o: %.c
-       $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
+TARGET_NAME = stretchblt
 
-%.o: %.cpp
-       $(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $@ -c $<
+TARGET_NORC = yes
 
-%.res: %.rc
-       $(RC) $(CPPFLAGS) -o $@ -i $<
+TARGET_CFLAGS = -fexceptions -g -O0 -DWIN32 -D_DEBUG -D_WINDOWS -D_MBCS -W -D__USE_W32API
+       
+TARGET_CPPFLAGS = -fexceptions -g -O0 -DWIN32 -D_DEBUG -D_WINDOWS -D_MBCS -W -D__USE_W32API
 
-SOURCE_FILES= \
-       stretchblt.cpp
+TARGET_SDKLIBS = \
+       kernel32.a \
+       user32.a \
+       gdi32.a
 
-HEADER_FILES=
+TARGET_OBJECTS = \
+stretchblt.o
 
-RESOURCE_FILES=
+include $(PATH_TO_TOP)/rules.mak
 
-SRCS=$(SOURCE_FILES) $(HEADER_FILES) $(RESOURCE_FILES) 
+include $(TOOLS_PATH)/helper.mk
 
-OBJS=$(patsubst %.rc,%.res,$(patsubst %.cpp,%.o,$(patsubst %.c,%.o,$(filter %.c %.cpp %.rc,$(SRCS)))))
-
-$(TARGET): $(OBJS)
-       $(LD) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
-
-.PHONY: clean
-clean:
-       -del $(OBJS) $(TARGET)
-
-.PHONY: depends
-depends:
-       -$(CXX) $(CXXFLAGS) $(CPPFLAGS) -MM $(filter %.c %.cpp,$(SRCS)) > Proj_Listing1_5.dep
-
--include Proj_Listing1_5.dep
+# overide LD_CC to use g++ for linking of the executable
+LD_CC = $(CXX)
 
+# EOF
diff --git a/reactos/apps/tests/txtscale/.cvsignore b/reactos/apps/tests/txtscale/.cvsignore
new file mode 100644 (file)
index 0000000..d63774a
--- /dev/null
@@ -0,0 +1,6 @@
+*.o
+*.d
+*.exe
+*.coff
+*.sym
+*.map