New stubs.
[wine/multimedia.git] / programs / notepad / Makefile.in
blobb5cc06d85a2013598a41506be4bb25f76a5ff1c0
1 DEFS = -DWINELIB
2 TOPSRCDIR = @top_srcdir@
3 TOPOBJDIR = ../..
4 SRCDIR = @srcdir@
5 VPATH = @srcdir@
6 MODULE = none
7 PROGRAMS = notepad
8 ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
9 RCFLAGS = -w32 -h
10 WRCEXTRA = -A -p $*
12 LANGUAGES = En Da De Fr Sw Es
13 LICENSELANG = En
15 MOSTSRCS = \
16 license.c \
17 main.c \
18 dialog.c \
19 language.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 notepad: $(MOSTOBJS) $(STRINGOBJS)
47 $(CC) -o notepad $(MOSTOBJS) $(LDOPTIONS) $(ALL_LIBS) $(STRINGOBJS)
49 install: dummy
50 $(INSTALL_PROGRAM) notepad $(bindir)/notepad
52 uninstall: dummy
53 $(RM) $(bindir)/notepad
55 $(RC_SRCS:.rc=.s): $(WRC)
57 dummy:
59 ### Dependencies: