Make.rules: Added rules for client/proxy/server generation from IDL files.
This commit is contained in:
parent
a075001704
commit
4e67a4558c
|
@ -10,6 +10,7 @@
|
||||||
*.so
|
*.so
|
||||||
*.tab.[ch]
|
*.tab.[ch]
|
||||||
*.tlb
|
*.tlb
|
||||||
|
*_[cips].c
|
||||||
*~
|
*~
|
||||||
/Make.rules
|
/Make.rules
|
||||||
/TAGS
|
/TAGS
|
||||||
|
|
|
@ -108,7 +108,7 @@ prog_manext = 1
|
||||||
api_manext = 3w
|
api_manext = 3w
|
||||||
conf_manext = 5
|
conf_manext = 5
|
||||||
CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
|
CLEAN_FILES = *.o *.a *.so *.ln *.$(LIBEXT) \\\#*\\\# *~ *% .\\\#* *.bak *.orig *.rej \
|
||||||
*.flc *.tab.c *.tab.h @LEX_OUTPUT_ROOT@.c core
|
*.flc *.res *.mc.rc *.tab.[ch] @LEX_OUTPUT_ROOT@.c core
|
||||||
|
|
||||||
OBJS = $(C_SRCS:.c=.o) $(EXTRA_OBJS)
|
OBJS = $(C_SRCS:.c=.o) $(EXTRA_OBJS)
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ LINTS = $(C_SRCS:.c=.ln)
|
||||||
|
|
||||||
# Implicit rules
|
# Implicit rules
|
||||||
|
|
||||||
.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .ok .sfd .ttf .man.in .man
|
.SUFFIXES: .mc .rc .mc.rc .res .res.o .spec .spec.o .idl .tlb .h .ok .sfd .ttf .man.in .man _c.c _i.c _p.c _s.c
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -c $(ALLCFLAGS) -o $@ $<
|
$(CC) -c $(ALLCFLAGS) -o $@ $<
|
||||||
|
@ -140,6 +140,18 @@ LINTS = $(C_SRCS:.c=.ln)
|
||||||
.idl.h:
|
.idl.h:
|
||||||
$(WIDL) $(IDLFLAGS) -h -H $@ $<
|
$(WIDL) $(IDLFLAGS) -h -H $@ $<
|
||||||
|
|
||||||
|
.idl_c.c:
|
||||||
|
$(WIDL) $(IDLFLAGS) -c -C $@ $<
|
||||||
|
|
||||||
|
.idl_i.c:
|
||||||
|
$(WIDL) $(IDLFLAGS) -u -U $@ $<
|
||||||
|
|
||||||
|
.idl_p.c:
|
||||||
|
$(WIDL) $(IDLFLAGS) -p -P $@ $<
|
||||||
|
|
||||||
|
.idl_s.c:
|
||||||
|
$(WIDL) $(IDLFLAGS) -s -S $@ $<
|
||||||
|
|
||||||
.idl.tlb:
|
.idl.tlb:
|
||||||
$(WIDL) $(IDLFLAGS) -t -T $@ $<
|
$(WIDL) $(IDLFLAGS) -t -T $@ $<
|
||||||
|
|
||||||
|
@ -221,7 +233,7 @@ $(EXTRASUBDIRS:%=%/__clean__): dummy
|
||||||
testclean:: $(SUBDIRS:%=%/__testclean__)
|
testclean:: $(SUBDIRS:%=%/__testclean__)
|
||||||
|
|
||||||
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
|
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
|
||||||
$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(IDL_SRCS:.idl=.h) $(IDL_TLB_SRCS:.idl=.tlb) $(PROGRAMS) $(RC_BINARIES) $(MANPAGES)
|
$(RM) $(CLEAN_FILES) $(IDL_SRCS:.idl=.h) $(IDL_SRCS:.idl=_c.c) $(IDL_SRCS:.idl=_i.c) $(IDL_SRCS:.idl=_p.c) $(IDL_SRCS:.idl=_s.c) $(IDL_TLB_SRCS:.idl=.tlb) $(PROGRAMS) $(RC_BINARIES) $(MANPAGES)
|
||||||
|
|
||||||
.PHONY: clean testclean $(SUBDIRS:%=%/__clean__) $(SUBDIRS:%=%/__testclean__) $(EXTRASUBDIRS:%=%/__clean__)
|
.PHONY: clean testclean $(SUBDIRS:%=%/__clean__) $(SUBDIRS:%=%/__testclean__) $(EXTRASUBDIRS:%=%/__clean__)
|
||||||
|
|
||||||
|
@ -273,6 +285,11 @@ $(MC_SRCS:.mc=.mc.rc): $(WMC)
|
||||||
|
|
||||||
$(IDL_SRCS:.idl=.h): $(WIDL)
|
$(IDL_SRCS:.idl=.h): $(WIDL)
|
||||||
|
|
||||||
|
$(IDL_SRCS:.idl=_c.c): $(WIDL)
|
||||||
|
$(IDL_SRCS:.idl=_i.c): $(WIDL)
|
||||||
|
$(IDL_SRCS:.idl=_p.c): $(WIDL)
|
||||||
|
$(IDL_SRCS:.idl=_s.c): $(WIDL)
|
||||||
|
|
||||||
$(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)
|
$(IDL_TLB_SRCS:.idl=.tlb): $(WIDL)
|
||||||
|
|
||||||
$(SUBDIRS): dummy
|
$(SUBDIRS): dummy
|
||||||
|
|
Loading…
Reference in New Issue