Makefile.init
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 15 Sep 2015 05:30:02 +0100
branchjv
changeset 18755 bd0a60878974
parent 18091 abbcac10730e
permissions -rw-r--r--
FFI: Make FFI call return nil when C function returns NULL Before when a C function returned NULL pointer, an ExternalAddress with address 0 wes returned which required an extra check in a caller to convert it to nil, which would be the customary. This commit automatically converts NULL pointers to Smalltalk `nil` as a courtesy to a Smalltalker.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15673
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
#
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
# DO NOT EDIT
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
#
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
# make uses this file (Makefile) only, if there is no
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
# file named "makefile" (lower-case m) in the same directory.
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
# My only task is to generate the real makefile and call make again.
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
# Thereafter, I am no longer used and needed.
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
#
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
# MACOSX caveat:
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
#   as filenames are not case sensitive (in a default setup),
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
#   we cannot use the above trick. Therefore, this file is now named
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
#   "Makefile.init", and you have to execute "make -f Makefile.init" to
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
#   get the initial makefile.  This is now also done by the toplevel CONFIG
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
#   script.
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
.PHONY: run
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
run: makefile
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	$(MAKE) -f makefile
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
#only needed for the definition of $(TOP)
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
include Make.proto
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
makefile: mf
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
mf:
e71b3a79bcff added: CascadingNotification
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
	$(TOP)/rules/stmkmf