summaryrefslogtreecommitdiff
path: root/xc/config/makedepend/Imakefile
blob: 99517f64a1476870dd0bcdcd1b1a05d1f5b21fbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
XCOMM $XConsortium: Imakefile,v 1.21 94/02/04 21:39:02 rws Exp $

    SRCS = include.c main.c parse.c pr.c cppsetup.c ifparser.c 
    OBJS = include.o main.o parse.o pr.o cppsetup.o ifparser.o 

#if HasGcc && !defined(PreIncDir)
#define PreIncDir /usr/local/lib/gcc-include
#endif
#ifdef PreIncDir
PREINCDIR = PreIncDir
PREINC_DEFINES = -DPREINCDIR=\"$(PREINCDIR)\"
#endif
#ifndef StdIncDir
#define StdIncDir /usr/include
#endif
STDINCDIR = StdIncDir
STDINC_DEFINES = -DINCLUDEDIR=\"$(STDINCDIR)\"
#ifdef PostIncDir
POSTINCDIR = PostIncDir
POSTINC_DEFINES = -DPOSTINCDIR=\"$(POSTINCDIR)\"
#endif
INC_DEFINES = $(PREINC_DEFINES) $(STDINC_DEFINES) $(POSTINC_DEFINES)
OSUF = .Osuf
OSUF_DEFINES = -DOBJSUFFIX=\"$(OSUF)\"
MAIN_DEFINES = $(INC_DEFINES) $(SIGNAL_DEFINES) $(OSUF_DEFINES)
INCLUDES = -I$(IMAKESRC)
 DEPLIBS =

#if defined(MacIIArchitecture) || defined(SequentArchitecture)
 XBSDLIB = /**/
#endif

all:: ProgramTargetName(makedepend)

#undef InstallManPage
#define InstallManPage(file,dest) /* as nothing */
#if CrossCompiling
ComplexHostProgramTarget(makedepend)
#else
ComplexProgramTarget(makedepend)
#endif

SpecialCObjectRule(main,$(ICONFIGFILES),$(MAIN_DEFINES))

InstallManPageLong(mkdepend,$(MANDIR),makedepend)