69 lines
1.4 KiB
Makefile
69 lines
1.4 KiB
Makefile
DEFS = -DLEX_OUTPUT_ROOT="\"@LEX_OUTPUT_ROOT@\"" -DINCLUDEDIR="\"$(includedir)\"" -DBINDIR="\"$(bindir)\""
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
|
|
PROGRAMS = \
|
|
bin2res \
|
|
fnt2bdf \
|
|
makedep \
|
|
winegcc \
|
|
winewrap
|
|
|
|
C_SRCS = \
|
|
bin2res.c \
|
|
fnt2bdf.c \
|
|
makedep.c \
|
|
winegcc.c \
|
|
winewrap.c
|
|
|
|
SUBDIRS = \
|
|
widl \
|
|
winebuild \
|
|
winedump \
|
|
wmc \
|
|
wpp \
|
|
wrc
|
|
|
|
INSTALLSUBDIRS = $(SUBDIRS)
|
|
|
|
EXTRASUBDIRS = \
|
|
winapi_check \
|
|
wineconf.libs
|
|
|
|
all: $(PROGRAMS) $(SUBDIRS)
|
|
|
|
@MAKE_RULES@
|
|
|
|
widl wrc: wpp
|
|
|
|
makedep: makedep.o
|
|
$(CC) $(CFLAGS) -o makedep makedep.o
|
|
|
|
fnt2bdf: fnt2bdf.o
|
|
$(CC) $(CFLAGS) -o fnt2bdf fnt2bdf.o $(LIBPORT)
|
|
|
|
bin2res: bin2res.o
|
|
$(CC) $(CFLAGS) -o bin2res bin2res.o $(LIBPORT)
|
|
|
|
winegcc: winegcc.o
|
|
$(CC) $(CFLAGS) -o winegcc winegcc.o $(LIBPORT)
|
|
|
|
winewrap: winewrap.o
|
|
$(CC) $(CFLAGS) -o winewrap winewrap.o $(LIBPORT)
|
|
|
|
install::
|
|
$(MKINSTALLDIRS) $(bindir) $(mandir)/man$(prog_manext)
|
|
$(INSTALL_SCRIPT) $(SRCDIR)/winemaker $(bindir)/winemaker
|
|
$(INSTALL_PROGRAM) winegcc $(bindir)/winegcc
|
|
cd $(bindir) && $(RM) wineg++ && $(LN_S) winegcc wineg++
|
|
$(INSTALL_PROGRAM) winewrap $(bindir)/winewrap
|
|
$(INSTALL_DATA) $(SRCDIR)/winemaker.man $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
|
|
|
|
uninstall::
|
|
$(RM) $(bindir)/winemaker $(bindir)/winegcc $(bindir)/wineg++ $(bindir)/winewrap $(mandir)/man$(prog_manext)/winemaker.$(prog_manext)
|
|
|
|
### Dependencies:
|