FreeBSD 11: Don't use imported x11/motif, use installed versions for build
[oweals/cde.git] / cde / config / imake / Makefile.ini
1 # $TOG: Makefile.ini /main/25 1997/02/19 18:00:59 mgreess $
2 #
3 #   WARNING    WARNING    WARNING    WARNING    WARNING    WARNING    WARNING
4 #
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.
9 #
10
11 BOOTSTRAPCFLAGS = 
12 CC = cc
13 CDEBUGFLAGS = -O
14 INCLUDES = -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I../../imports/x11/include/X11
15 CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
16 SHELL = /bin/sh
17 RM = rm -f
18 MV = mv
19 MAKE = make
20 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a \
21          tags TAGS make.log
22 NPROC = 1
23
24 imake::
25         @echo "making imake with BOOTSTRAPCFLAGS=$(BOOTSTRAPCFLAGS) in config/imake"
26
27 imake:: imake.o
28         $(CC) -o imake imake.o
29
30 imake.o: ccimake imake.c
31         $(CC) -c $(CFLAGS) `./ccimake` imake.c
32
33 ccimake: ccimake.c
34         $(CC) -o ccimake $(CFLAGS) ccimake.c
35
36 # a derived object erroneously would get shared across platforms by clearmake
37 .NO_CONFIG_REC: ccimake
38
39 bootstrap:
40         @if [ -d bootstrap ]; then exit 0; else set -x; mkdir bootstrap; fi
41         $(MV) *.o imake bootstrap
42
43 relink:
44         $(RM) imake
45         $(MAKE) $(MFLAGS) imake
46
47 clean:
48         $(RM) ccimake imake.o imake
49         $(RM_CMD) \#*
50         $(RM) -r Makefile.proto Makefile Makefile.dep bootstrap
51
52 depend:
53
54 imake.exe::
55         @echo making imake with BOOTSTRAPCFLAGS=-DWIN32
56
57 imake.exe:: imake.obj
58         cl -nologo imake.obj libc.lib kernel32.lib
59
60 imake.obj: imake.c
61         cl -nologo -W2 -D__STDC__ -c -DWIN32 $(CFLAGS) imake.c
62
63 clean.Win32:
64         if exist imake.exe del imake.exe
65         if exist imake.obj del imake.obj