mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
bd60364040
from Chris Morgan).
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\""
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
|
|
PROGRAMS = \
|
|
bin2res \
|
|
fnt2bdf \
|
|
makedep \
|
|
wineprefixcreate
|
|
|
|
C_SRCS = \
|
|
bin2res.c \
|
|
fnt2bdf.c \
|
|
makedep.c
|
|
|
|
SUBDIRS = \
|
|
widl \
|
|
winebuild \
|
|
winedump \
|
|
winegcc \
|
|
wmc \
|
|
wrc
|
|
|
|
INSTALLSUBDIRS = $(SUBDIRS)
|
|
|
|
EXTRASUBDIRS = winapi_check
|
|
|
|
all: $(PROGRAMS) $(SUBDIRS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
makedep: makedep.o
|
|
$(CC) $(CFLAGS) -o makedep makedep.o
|
|
|
|
fnt2bdf: fnt2bdf.o
|
|
$(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
|
|
|
|
bin2res: bin2res.o
|
|
$(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
|
|
|
|
wineprefixcreate: wineprefixcreate.in
|
|
sed -e 's,@dlldir\@,$(dlldir),g' -e 's,@datadir\@,$(datadir),g' $(SRCDIR)/wineprefixcreate.in >$@ || ($(RM) $@ && false)
|
|
chmod +x wineprefixcreate
|
|
|
|
install:: wineprefixcreate
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext) $(datadir)/wine
|
|
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
|
|
$(INSTALL_SCRIPT) wineprefixcreate $(bindir)/wineprefixcreate
|
|
$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
|
|
$(INSTALL_DATA) $(SRCDIR)/wine.inf $(datadir)/wine/wine.inf
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/winemaker $(bindir)/wineprefixcreate $(mandir)/man$(prog_manext)/winemaker.$(prog_manext) $(datadir)/wine/wine.inf
|
|
|
|
### Dependencies:
|