2001-10-29 02:45:45 +08:00
|
|
|
# autogenerated from automake.am with automake.py
|
2004-02-08 07:01:33 +08:00
|
|
|
PACKAGE = appfile
|
2001-10-29 02:45:45 +08:00
|
|
|
TOP = ..\..\..
|
|
|
|
PRJ_TOP = ..\..
|
2004-02-08 07:01:33 +08:00
|
|
|
!include $(TOP)\glib\build\win32\make.msc
|
|
|
|
|
|
|
|
!INCLUDE $(PRJ_TOP)\gimpdefs.msc
|
|
|
|
PKG_VER = $(GIMP_VER)
|
|
|
|
|
2001-10-29 02:45:45 +08:00
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
file-open.obj \
|
|
|
|
file-save.obj \
|
|
|
|
file-utils.obj \
|
2004-11-21 22:22:45 +08:00
|
|
|
gimprecentitem.obj \
|
|
|
|
gimprecentlist.obj \
|
2001-10-29 02:45:45 +08:00
|
|
|
|
|
|
|
INCLUDES = \
|
2002-03-28 08:10:56 +08:00
|
|
|
-FImsvc_recommended_pragmas.h \
|
2001-10-29 02:45:45 +08:00
|
|
|
-I$(PRJ_TOP) \
|
|
|
|
-I$(PRJ_TOP)/app \
|
2003-07-27 01:37:32 +08:00
|
|
|
$(GLIB_CFLAGS) \
|
2003-11-17 05:20:14 +08:00
|
|
|
$(GDK_PIXBUF_CFLAGS)
|
2001-10-29 02:45:45 +08:00
|
|
|
|
2002-03-28 08:10:56 +08:00
|
|
|
DEFINES = \
|
|
|
|
-DG_LOG_DOMAIN=\"Gimp-File\"
|
|
|
|
|
2003-01-01 21:33:27 +08:00
|
|
|
PKG_LINK = \
|
|
|
|
$(GLIB_LIBS) $(INTL_LIBS) \
|
|
|
|
..\base\appbase-$(PKG_VER).lib \
|
|
|
|
..\core\appcore-$(PKG_VER).lib \
|
|
|
|
|
2001-10-29 02:45:45 +08:00
|
|
|
all : \
|
|
|
|
$(PRJ_TOP)\config.h \
|
2003-01-01 21:33:27 +08:00
|
|
|
$(PACKAGE).lib \
|
|
|
|
!IFDEF DLLGIMP
|
|
|
|
$(PACKAGE)-$(PKG_VER).dll
|
|
|
|
!ENDIF
|
2001-10-29 02:45:45 +08:00
|
|
|
|
|
|
|
|
|
|
|
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
|
|
|
|
copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
|
|
|
|
|
|
|
|
RESOURCE = $(PACKAGE).res
|
|
|
|
|
|
|
|
$(PACKAGE).lib : $(OBJECTS)
|
|
|
|
lib /out:$(PACKAGE).lib $(OBJECTS)
|
|
|
|
|
|
|
|
$(PACKAGE)-$(PKG_VER).dll : $(OBJECTS) $(PACKAGE).def
|
|
|
|
$(CC) $(CFLAGS) -LD -Fe$(PACKAGE)-$(PKG_VER).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
|
|
|
$(PACKAGE).exe : $(OBJECTS) $(PACKAGE).def $(PACKAGE).res
|
|
|
|
$(CC) $(CFLAGS) -Fe$(PACKAGE).exe $(PACKAGE).res $(OBJECTS) $(PKG_LINK) \
|
|
|
|
user32.lib advapi32.lib shell32.lib wsock32.lib winspool.lib $(LDFLAGS) /def:$(PACKAGE).def
|
|
|
|
|
|
|
|
.c.obj :
|
|
|
|
$(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
|