Release 20020904.
[wine/gsoc-2012-control.git] / miscemu / Makefile.in
blob359059b72026fb39cfedb5f2fd4551c39f0cbc07
1 DEFS = -D__WINE__
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = wine
7 IMPORTS = ntdll
8 LDIMPORTS = ntdll.dll
10 SPEC_SRCS = wine.spec
12 C_SRCS = \
13 main.c
15 all: $(MODULE)
17 @MAKE_RULES@
19 ALL_OBJS = $(SPEC_SRCS:.spec=.spec.o) $(OBJS)
21 $(MODULE): $(ALL_OBJS)
22 $(CC) -o $@ $(ALL_OBJS) -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBS) $(LDFLAGS)
24 wine.spec.c: wine.spec
25 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -spec $(SRCDIR)/wine.spec -L$(DLLDIR) $(IMPORTS:%=-l%)
27 install:: $(MODULE)
28 $(MKINSTALLDIRS) $(bindir)
29 $(INSTALL_PROGRAM) wine $(bindir)/wine
31 uninstall::
32 $(RM) $(bindir)/wine
34 clean::
35 $(RM) $(MODULE)
37 ### Dependencies: