33 lines
523 B
Makefile
33 lines
523 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = wine
|
|
|
|
C_SRCS = \
|
|
$(TOPOBJDIR)/scheduler/pthread.c \
|
|
main.c
|
|
|
|
EXTRASUBDIRS = $(TOPOBJDIR)/scheduler
|
|
|
|
all: $(MODULE)
|
|
|
|
@MAKE_RULES@
|
|
|
|
LDEXECFLAGS = @LDEXECFLAGS@
|
|
|
|
$(MODULE): $(OBJS) Makefile.in
|
|
$(CC) -o $@ $(LDEXECFLAGS) $(OBJS) $(LIBWINE) $(LIBPORT) $(LDFLAGS)
|
|
|
|
install:: $(MODULE)
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) wine $(bindir)/wine
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/wine
|
|
|
|
clean::
|
|
$(RM) $(MODULE)
|
|
|
|
### Dependencies:
|