1 # $TOG: Makefile.ini /main/25 1997/02/19 18:00:59 mgreess $
3 # WARNING WARNING WARNING WARNING WARNING WARNING WARNING
5 # This is NOT an automatically generated Makefile! It is hand-crafted as a
6 # bootstrap, may need editing for your system. The BOOTSTRAPCFLAGS variable
7 # may be given at the top of the build tree for systems that do not define
8 # any machine-specific preprocessor symbols.
10 # $XFree86: xc/config/imake/Makefile.ini,v 3.4.2.1 1997/06/11 12:08:33 dawes Exp $
15 INCLUDES = -I../../include -I../../imports/x11/include/X11
16 CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
21 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
26 @echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS) in config/imake"
29 $(CC) -o imake $(CFLAGS) imake.o
31 imake.o: ccimake imake.c
32 $(CC) -c $(CFLAGS) `./ccimake` imake.c
35 $(CC) -o ccimake $(CFLAGS) ccimake.c
37 # a derived object erroneously would get shared across platforms by clearmake
38 .NO_CONFIG_REC: ccimake
41 -@if [ -d bootstrap ]; then exit 0; else set -x; mkdir bootstrap; fi
42 $(MV) *.o imake bootstrap
46 $(MAKE) $(MFLAGS) imake
49 $(RM) ccimake imake.o imake
51 $(RM) -r Makefile.proto Makefile Makefile.dep bootstrap
56 @echo making imake with BOOTSTRAPCFLAGS=-DWIN32
59 cl -nologo imake.obj libc.lib kernel32.lib
62 cl -nologo -W2 -D__STDC__ -c -DWIN32 $(CFLAGS) imake.c
65 if exist imake.exe del imake.exe
66 if exist imake.obj del imake.obj
69 imakesvc 4 imake imake.exe imake.o /imake.exe
72 $(CC) -DBSD43 $(CFLAGS) -o imake.exe imake.c