From 44c245b3ed9e82cc44a5ade4a941c99f63174021 Mon Sep 17 00:00:00 2001 From: rpj Date: Sat, 2 Mar 2002 01:53:08 +0000 Subject: * errno.c: Compiler directive was incorrectly including code. * pthread.h: Conditionally added some #defines from config.h needed when not building the library. e.g. NEED_ERRNO, NEED_SEM. (PTW32_DLLPORT): Now only defined if _DLL defined. (_errno): Compiler directive was incorrectly including prototype. * sched.h: Conditionally added some #defines from config.h needed when not building the library. * semaphore.h: Replace an instance of NEED_SEM that should have been NEED_ERRNO. This change currently has nil effect. * GNUmakefile: Correct some recent changes. * Makefile: Add rule to generate pre-processor output. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5f8767a..b5d6231 100644 --- a/Makefile +++ b/Makefile @@ -388,6 +388,7 @@ clean: if exist *.pdb del *.pdb if exist *.exp del *.exp if exist *.o del *.o + if exist *.i del *.i install: $(DLLS) @@ -407,6 +408,9 @@ $(INLINED_STAMPS): $(DLL_INLINED_OBJS) .c.obj: cl $(EHFLAGS) -c $< +.c.i: + cl /P /O2 /Ob1 $(VCFLAGS) $< + attr.obj: attr.c $(ATTR_SRCS) $(INCL) barrier.obj: barrier.c $(BARRIER_SRCS) $(INCL) cancel.obj: cancel.c $(CANCEL_SRCS) $(INCL) -- cgit v1.2.3