forked from dosemu2/dosemu2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.conf.in
99 lines (85 loc) · 2.47 KB
/
Makefile.conf.in
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Makefile.conf.in for DOSEMU
#
# This file is included by all Makefiles
DOSBIN = dosemu.bin
prefix:=@prefix@
exec_prefix=@exec_prefix@
bindir:=@bindir@
sysconfdir:=@sysconfdir@
libdir:=@libdir@
datarootdir:=@datarootdir@
datadir:=@datadir@
mandir:=@mandir@
docdir:=@docdir@
syshdimagedir:=@syshdimagedir@
x11fontdir:=@x11fontdir@
fdtarball:=@fdtarball@
abs_top_srcdir:=@abs_top_srcdir@
ifeq (0,${MAKELEVEL})
SUBDIR := $(subst $(shell cd $(top_builddir) && pwd)/src/,,$(shell pwd))
# don't use built-in rules and variables for faster builds
MAKEFLAGS += -rR
endif
@SET_MAKE@
INCDIR:=@INCDIR@
ifeq ("$(wildcard $(top_builddir)/*.ac)","$(top_builddir)/configure.ac")
top_srcdir:=$(top_builddir)
srcdir:=.
else
top_srcdir:=$(abs_top_srcdir)
ifeq ("$(top_builddir)",".")
srcdir:=$(abs_top_srcdir)
else
srcdir:=$(abs_top_srcdir)/src/$(SUBDIR)
endif
INCDIR += -I${top_srcdir}/src/include
endif
CFLAGS:=@CFLAGS@
ALL_CFLAGS:=@DOSEMU_CFLAGS@ ${CFLAGS}
ASFLAGS:=@ASFLAGS@
CPPFLAGS:=@CPPFLAGS@
ALL_CPPFLAGS:=@DOSEMU_CPPFLAGS@ ${INCDIR} ${CPPFLAGS}
LDFLAGS:=@LDFLAGS@
ALL_LDFLAGS:=@DOSEMU_LDFLAGS@ ${LDFLAGS}
DOSBIN_LDFLAGS:=@DOSBIN_LDFLAGS@
LIBS:=@LIBS@
CC:=@CC@
CPP:=@CPP@
LD:=@CC@
YACC:=@YACC@
# NOTE: we really need bison, yacc won't work any more
#YACC=bison -y
LEX:=@LEX@
# This gets defined even if we chose via ./include/config.h NOT to
# use the debugger
DEBUGGER:=@DEBUGGER@
OPTIONALSUBDIRS := @OPTIONALSUBDIRS@
PLUGINSUBDIRS := @PLUGINSUBDIRS@
ST_PLUGINSUBDIRS := @ST_PLUGINSUBDIRS@
REQUIRED:=@REQUIRED@
OS=@CONFIG_HOST@
RANLIB:=@RANLIB@
PACKAGE_NAME:=@PACKAGE_TARNAME@
@USE_DL_PLUGINS@
INSTALL:=@INSTALL@
VPATH:=$(srcdir)
REALTOPDIR:=$(top_srcdir)
SRCPATH:=$(top_srcdir)/src
PACKAGE_VERSION:=$(shell cd $(top_srcdir) && ./getversion)
PACKAGE_VERSION_SPACES:=$(subst ., ,$(PACKAGE_VERSION))
PACKAGE_VERSION_SPACES:=$(subst -, ,$(PACKAGE_VERSION_SPACES))
PACKAGE_VERSION_SPACES:=$(subst pre, pre,$(PACKAGE_VERSION_SPACES))
VERSION:=$(word 1, $(PACKAGE_VERSION_SPACES))
SUBLEVEL:=$(word 2, $(PACKAGE_VERSION_SPACES))
PATCHLEVEL1:=$(word 3, $(PACKAGE_VERSION_SPACES))
PACKETNAME:=$(PACKAGE_NAME)-$(VERSION).$(SUBLEVEL)$(PATCHLEVEL1)
THISVERSION:=$(VERSION).$(SUBLEVEL)-$(PATCHLEVEL1)
PACKVERSION:=$(VERSION).$(SUBLEVEL)$(PATCHLEVEL1)
BINPATH:=$(top_builddir)/$(THISVERSION)
RELEASE_DATE:=$(shell cd $(top_srcdir) && ./getversion -d)
REVISION:=$(shell cd $(top_srcdir) && ./getversion -r)
ifdef USE_DL_PLUGINS
DL_CFLAGS:=-fPIC
else
-include $(top_builddir)/src/plugin/*/Makefile.conf
endif