mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
42 lines
925 B
Makefile
42 lines
925 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
EXEEXT = @EXEEXT@
|
|
|
|
PROGRAMS = winebuild$(EXEEXT)
|
|
MODULE = none
|
|
|
|
C_SRCS = \
|
|
import.c \
|
|
main.c \
|
|
parser.c \
|
|
relay.c \
|
|
res16.c \
|
|
res32.c \
|
|
spec16.c \
|
|
spec32.c \
|
|
utils.c
|
|
|
|
all: $(PROGRAMS) winebuild.man
|
|
|
|
@MAKE_RULES@
|
|
|
|
winebuild$(EXEEXT): $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBPORT) $(LDFLAGS)
|
|
|
|
winebuild.man: winebuild.man.in
|
|
sed -e 's,@PACKAGE_STRING\@,@PACKAGE_STRING@,g' $(SRCDIR)/winebuild.man.in >$@ || ($(RM) $@ && false)
|
|
|
|
install:: $(PROGRAMS) winebuild.man
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
|
|
$(INSTALL_PROGRAM) winebuild$(EXEEXT) $(bindir)/winebuild$(EXEEXT)
|
|
$(INSTALL_DATA) winebuild.man $(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/winebuild$(EXEEXT) $(mandir)/man$(prog_manext)/winebuild.$(prog_manext)
|
|
|
|
clean::
|
|
$(RM) winebuild.man
|
|
|
|
### Dependencies:
|