34 lines
561 B
Makefile
34 lines
561 B
Makefile
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = wine
|
|
EXTRALIBS = @LIBPTHREAD@
|
|
|
|
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) $(EXTRALIBS) $(LDFLAGS)
|
|
|
|
install:: $(MODULE)
|
|
$(MKINSTALLDIRS) $(bindir)
|
|
$(INSTALL_PROGRAM) wine $(bindir)/wine
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/wine
|
|
|
|
clean::
|
|
$(RM) $(MODULE)
|
|
|
|
### Dependencies:
|