Release 981025.
[wine/gsoc-2012-control.git] / programs / clock / Makefile.in
blob3d2ee1d5c62567e49573a23da177b83e4810b68e
1 DEFS = -DWINELIB
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = none
7 PROGRAMS = clock
8 ALL_LIBS = $(WINELIB) $(X_LIBS) $(XPM_LIB) $(XLIB) $(LIBS)
9 RCFLAGS = -w32 -h
10 WRCEXTRA = -A -p $*
12 LANGUAGES = En Da De Sw Es
13 LICENSELANG = En
15 MOSTSRCS = \
16 language.c \
17 license.c \
18 winclock.c \
19 main.c
21 # Some strings need addresses >= 0x10000
22 STRINGSRCS = \
23 $(LICENSELANG:%=License_%.c)
25 RC_SRCS = $(LANGUAGES:%=%.rc)
27 C_SRCS = $(MOSTSRCS) $(STRINGSRCS)
29 MOSTOBJS = $(MOSTSRCS:.c=.o)
30 STRINGOBJS = $(STRINGSRCS:.c=.o) $(RC_SRCS:.rc=.o)
32 all: check_wrc $(PROGRAMS)
34 depend::
36 @MAKE_RULES@
38 # Override resource compiler rules
39 .rc.s:
40 $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
42 .rc.h:
43 $(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -nH $*.h
46 clock: $(MOSTOBJS) $(STRINGOBJS)
47 $(CC) -o clock $(MOSTOBJS) $(LDOPTIONS) $(ALL_LIBS) $(STRINGOBJS)
49 install: dummy
50 $(INSTALL_PROGRAM) clock $(bindir)/clock
52 uninstall: dummy
53 $(RM) $(bindir)/clock
55 $(RC_SRCS:.rc=.s): $(WRC)
57 dummy:
59 ### Dependencies: