]> git.saurik.com Git - apple/libinfo.git/blob - gen.subproj/Makefile.preamble
Libinfo-278.0.3.tar.gz
[apple/libinfo.git] / gen.subproj / Makefile.preamble
1 AFTER_POSTINSTALL += install-man-page
2 OTHER_CFLAGS = \
3 -D__DARWIN_NON_CANCELABLE=1 \
4 -DINET6=1 \
5 -Dsetservent=_old_setservent \
6 -Dgetservent=_old_getservent \
7 -Dendservent=_old_endservent \
8 -Dgetservbyname=_old_getservbyname \
9 -Dgetservbyport=_old_getservbyport \
10 -Dsetprotoent=_old_setprotoent \
11 -Dgetprotoent=_old_getprotoent \
12 -Dendprotoent=_old_endprotoent \
13 -Dgetprotobyname=_old_getprotobyname \
14 -Dgetprotobynumber=_old_getprotobynumber \
15 -Dsetnetgrent=_old_setnetgrent \
16 -Dgetnetgrent=_old_getnetgrent \
17 -Dendnetgrent=_old_endnetgrent \
18 -Dsetpwent=_old_setpwent \
19 -Dgetpwent=_old_getpwent \
20 -Dendpwent=_old_endpwent \
21 -Dgetpwnam=_old_getpwnam \
22 -Dgetpwuid=_old_getpwuid \
23 -Dsetgrent=_old_setgrent \
24 -Dgetgrent=_old_getgrent \
25 -Dendgrent=_old_endgrent \
26 -Dgetgrnam=_old_getgrnam \
27 -Dgetgrgid=_old_getgrgid \
28 -Dsetfsent=_old_setfsent \
29 -Dendfsent=_old_endfsent \
30 -Dgetfsent=_old_getfsent \
31 -Dgetfsfile=_old_getfsfile \
32 -Dgetfsspec=_old_getfsspec \
33 -Dinitgroups=_old_initgroups \
34 -I../lookup.subproj
35
36 # for building 64-bit
37 # <rdar://problem/3819761> Libinfo need to build with gcc-3.5 and 3-way fat
38 NEXTSTEP_OBJCPLUS_COMPILER = $(CCOMPILER)
39
40 $(OFILE_DIR)/_version.c:
41 /Developer/Makefiles/bin/version.pl Libinfo > $@