2 TOPSRCDIR
= @top_srcdir@
8 ALL_LIBS
= $(WINELIB
) $(X_LIBS
) $(XPM_LIB
) $(XLIB
) $(LIBS
)
12 LANGUAGES
= En Da De Fr Fi Ko Hu It Va Sw Es
23 # Some strings need addresses >= 0x10000
26 $(LICENSELANG
:%=License_
%.c
)
32 C_SRCS
= $(MOSTSRCS
) $(STRINGSRCS
)
34 MOSTOBJS
= $(MOSTSRCS
:.c
=.o
)
35 STRINGOBJS
= $(STRINGSRCS
:.c
=.o
) $(RC_SRCS
:.rc
=.o
)
37 all: check_wrc
$(PROGRAMS
)
39 depend
:: $(RC_SRCS
:.rc
=.h
)
43 # Override resource compiler rules
45 $(CPP
) $(DEFS
) $(OPTIONS
) $(DIVINCL
) -DRC_INVOKED
-P
-x c
$< |
$(WRC
) $(WRCFLAGS
) $(WRCEXTRA
) -o
$*.s
48 $(CPP
) $(DEFS
) $(OPTIONS
) $(DIVINCL
) -DRC_INVOKED
-P
-x c
$< |
$(WRC
) $(WRCFLAGS
) $(WRCEXTRA
) -nH
$*.h
51 progman
: $(MOSTOBJS
) $(STRINGOBJS
)
52 $(CC
) -o progman
$(MOSTOBJS
) $(LDOPTIONS
) $(ALL_LIBS
) $(STRINGOBJS
)
55 $(INSTALL_PROGRAM
) progman
$(bindir)/progman
58 $(RM
) $(bindir)/progman
60 $(RC_SRCS
:.rc
=.s
): $(WRC
)