34 lines
726 B
Makefile
34 lines
726 B
Makefile
EXTRADEFS = -DINCLUDEDIR="\"$(includedir)\"" -DWINE_UNICODE_API=""
|
|
PROGRAMS = wrc$(EXEEXT)
|
|
MANPAGE = wrc.man
|
|
ALL_LIBS = @LIBGETTEXTPO@ $(LIBWPP) $(LIBWINE_STATIC) $(LIBPORT)
|
|
|
|
C_SRCS = \
|
|
dumpres.c \
|
|
genres.c \
|
|
newstruc.c \
|
|
po.c \
|
|
readres.c \
|
|
translation.c \
|
|
utils.c \
|
|
wrc.c \
|
|
writeres.c
|
|
|
|
LEX_SRCS = parser.l
|
|
BISON_SRCS = parser.y
|
|
|
|
INSTALLDIRS = $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man$(prog_manext)
|
|
|
|
all: $(PROGRAMS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
wrc$(EXEEXT): $(OBJS) $(LIBWPP)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(ALL_LIBS) $(LDFLAGS)
|
|
|
|
install install-dev:: wrc$(EXEEXT) $(DESTDIR)$(bindir) install-man-pages
|
|
$(INSTALL_PROGRAM) wrc$(EXEEXT) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
|
|
|
|
uninstall::
|
|
$(RM) $(DESTDIR)$(bindir)/wrc$(EXEEXT)
|