muimaster.library: migrate vert scrollbar handling from Listview to List
[AROS.git] / tools / MetaMake / Makefile.in
blobf6919b15d735a5ea25b22bdf1e48c6d31b5014b5
1 ANSI2KNR = @ANSI2KNR@
2 MKDIR_P = @MKDIR_P@
3 CC = @CC@
4 CCLD = $(CC)
5 CFLAGS = @CFLAGS@
6 CPPFLAGS = @CPPFLAGS@
7 DEFS = @DEFS@
8 EXEEXT = @EXEEXT@
9 LDFLAGS = @LDFLAGS@
10 LIBS = @LIBS@
11 bindir = @bindir@
12 mmsrcdir = @METAMAKE_SRCDIR@
13 mmake_LDADD = $(LDADD)
14 mmake_objdir = @mmake_objdir@
15 OS=@host_os@
16 DEPDIR = $(mmake_objdir)/.deps
17 mmake_OBJECTS = $(mmake_objdir)/mmake.o $(mmake_objdir)/mem.o $(mmake_objdir)/list.o $(mmake_objdir)/var.o $(mmake_objdir)/dirnode.o $(mmake_objdir)/dep.o $(mmake_objdir)/project.o $(mmake_objdir)/cache.o $(mmake_objdir)/io.o
18 DEFAULT_INCLUDES = -I.$(mmsrcdir) -I.$(SRCDIR)
19 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
20 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
21 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
23 ifeq ($(OS),mingw32)
24 LIBS += -liberty -lws2_32
25 endif
27 all: makedirs $(mmake_objdir)/mmake$(EXEEXT)
29 makedirs:
30 @for dir in $(mmake_objdir) $(DEPDIR) ; do \
31 if [ ! -d $$dir ]; then \
32 $(MKDIR_P) "$$dir" ; \
33 else true ; fi ; \
34 done
36 $(mmake_objdir)/mmake.o: $(mmsrcdir)/mmake.c
37 $(COMPILE) -MT $(mmake_objdir)/mmake.o -MD -MP -MF $(DEPDIR)/mmake.Tpo -c -o $(mmake_objdir)/mmake.o $(mmsrcdir)/mmake.c
38 mv -f $(DEPDIR)/mmake.Tpo $(DEPDIR)/mmake.Po
40 $(mmake_objdir)/mem.o: $(mmsrcdir)/mem.c
41 $(COMPILE) -MT $(mmake_objdir)/mem.o -MD -MP -MF $(DEPDIR)/mem.Tpo -c -o $(mmake_objdir)/mem.o $(mmsrcdir)/mem.c
42 mv -f $(DEPDIR)/mem.Tpo $(DEPDIR)/mem.Po
44 $(mmake_objdir)/list.o: $(mmsrcdir)/list.c
45 $(COMPILE) -MT $(mmake_objdir)/list.o -MD -MP -MF $(DEPDIR)/list.Tpo -c -o $(mmake_objdir)/list.o $(mmsrcdir)/list.c
46 mv -f $(DEPDIR)/list.Tpo $(DEPDIR)/list.Po
48 $(mmake_objdir)/var.o: $(mmsrcdir)/var.c
49 $(COMPILE) -MT $(mmake_objdir)/var.o -MD -MP -MF $(DEPDIR)/var.Tpo -c -o $(mmake_objdir)/var.o $(mmsrcdir)/var.c
50 mv -f $(DEPDIR)/var.Tpo $(DEPDIR)/var.Po
52 $(mmake_objdir)/dirnode.o: $(mmsrcdir)/dirnode.c
53 $(COMPILE) -MT $(mmake_objdir)/dirnode.o -MD -MP -MF $(DEPDIR)/dirnode.Tpo -c -o $(mmake_objdir)/dirnode.o $(mmsrcdir)/dirnode.c
54 mv -f $(DEPDIR)/dirnode.Tpo $(DEPDIR)/dirnode.Po
56 $(mmake_objdir)/dep.o: $(mmsrcdir)/dep.c
57 $(COMPILE) -MT $(mmake_objdir)/dep.o -MD -MP -MF $(DEPDIR)/dep.Tpo -c -o $(mmake_objdir)/dep.o $(mmsrcdir)/dep.c
58 mv -f $(DEPDIR)/dep.Tpo $(DEPDIR)/dep.Po
60 $(mmake_objdir)/project.o: $(mmsrcdir)/project.c
61 $(COMPILE) -MT $(mmake_objdir)/project.o -MD -MP -MF $(DEPDIR)/project.Tpo -c -o $(mmake_objdir)/project.o $(mmsrcdir)/project.c
62 mv -f $(DEPDIR)/project.Tpo $(DEPDIR)/project.Po
64 $(mmake_objdir)/cache.o: $(mmsrcdir)/cache.c
65 $(COMPILE) -MT $(mmake_objdir)/cache.o -MD -MP -MF $(DEPDIR)/cache.Tpo -c -o $(mmake_objdir)/cache.o $(mmsrcdir)/cache.c
66 mv -f $(DEPDIR)/cache.Tpo $(DEPDIR)/cache.Po
68 $(mmake_objdir)/io.o: $(mmsrcdir)/io.c
69 $(COMPILE) -MT $(mmake_objdir)/io.o -MD -MP -MF $(DEPDIR)/io.Tpo -c -o $(mmake_objdir)/io.o $(mmsrcdir)/io.c
70 mv -f $(DEPDIR)/io.Tpo $(DEPDIR)/io.Po
72 $(mmake_objdir)/mmake$(EXEEXT): $(mmake_OBJECTS)
73 @rm -f $(mmake_objdir)/mmake$(EXEEXT)
74 $(LINK) $(mmake_OBJECTS) $(mmake_LDADD) $(LIBS)
76 # Clean the sources
77 clean:
78 -@rm -rf $(mmake_objdir) Makefile config.cache config.status config.log config.h
80 # Clean the sources and tools
81 arch-clean: clean
83 install : makedirs $(mmake_objdir)/mmake$(EXEEXT)
84 cp $(mmake_objdir)/mmake$(EXEEXT) $(bindir)