- s/cvs -PAd update/cvs update -PAd/.
[wine.git] / miscemu / Makefile.in
blob46e387169b1783e04f48dee9bc3f74e324c7c847
1 TOPSRCDIR = @top_srcdir@
2 TOPOBJDIR = ..
3 SRCDIR = @srcdir@
4 VPATH = @srcdir@
5 MODULE = wine
6 IMPORTS = ntdll
7 LDIMPORTS = ntdll.dll
9 C_SRCS = \
10 main.c
12 all: $(MODULE)
14 @MAKE_RULES@
16 ALL_OBJS = $(MODULE).spec.o $(OBJS)
17 LDEXECFLAGS = @LDEXECFLAGS@
19 $(MODULE): $(ALL_OBJS)
20 $(CC) -o $@ $(LDEXECFLAGS) $(ALL_OBJS) -L$(DLLDIR) $(LDIMPORTS:%=-l%) $(LIBWINE) $(LIBUNICODE) $(LIBPORT) $(LIBS) $(LDFLAGS)
22 $(MODULE).spec.c: $(WINEBUILD)
23 $(LDPATH) $(WINEBUILD) $(DEFS) -o $@ --exe $(MODULE) --exe-mode gui --entry wine_initial_task -L$(DLLDIR) $(IMPORTS:%=-l%)
25 install:: $(MODULE)
26 $(MKINSTALLDIRS) $(bindir)
27 $(INSTALL_PROGRAM) wine $(bindir)/wine
29 uninstall::
30 $(RM) $(bindir)/wine
32 clean::
33 $(RM) $(MODULE)
35 ### Dependencies: