46 lines
860 B
Makefile
46 lines
860 B
Makefile
DEFS = -DWINELIB
|
|
TOPSRCDIR = @top_srcdir@
|
|
TOPOBJDIR = ../..
|
|
SRCDIR = @srcdir@
|
|
VPATH = @srcdir@
|
|
MODULE = none
|
|
PROGRAMS = cmdlgtst
|
|
ALL_LIBS = $(WINELIB) $(X_LIBS) $(XLIB) $(LIBS)
|
|
RCFLAGS = -w32 -h
|
|
WRCEXTRA = -t -A -p $*
|
|
|
|
C_SRCS = \
|
|
cmdlgtst.c
|
|
|
|
RC_SRCS = \
|
|
cmdlgr.rc
|
|
|
|
all: check_wrc $(PROGRAMS)
|
|
|
|
depend:: $(RC_SRCS:.rc=.h)
|
|
|
|
@MAKE_RULES@
|
|
|
|
# Override resource compiler rules
|
|
.rc.s:
|
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -o $*.s
|
|
|
|
.rc.h:
|
|
$(CPP) $(DEFS) $(OPTIONS) $(DIVINCL) -DRC_INVOKED -P -x c $< | $(WRC) $(WRCFLAGS) $(WRCEXTRA) -nH $*.h
|
|
|
|
|
|
cmdlgtst: $(OBJS) $(WINESTUB)
|
|
$(CC) -o cmdlgtst $(OBJS) $(LDOPTIONS) $(ALL_LIBS)
|
|
|
|
install: dummy
|
|
$(INSTALL_PROGRAM) cmdlgtst $(bindir)/cmdlgtst
|
|
|
|
uninstall: dummy
|
|
$(RM) $(bindir)/cmdlgtst
|
|
|
|
$(RC_SRCS:.rc=.s): $(WRC)
|
|
|
|
dummy:
|
|
|
|
### Dependencies:
|